Skip to content

Commit

Permalink
docs: update metadata for 0.4.7 release
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztofzablocki committed Dec 22, 2016
1 parent fd2c933 commit 369c663
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
11 changes: 7 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Sourcery CHANGELOG

---
## 0.4.7
### New Features
- Added `contains`, `hasPrefix`, `hasPrefix` filters

### Bug Fixes
- AccessLevel is now stored as string

## 0.4.6

### Bug Fixes
Expand All @@ -12,10 +19,6 @@

* Swift Package Manager support.

## Master

* added contains, hasSuffix and hasPrefix filters for string values

## 0.4.4

### New Features
Expand Down
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,12 @@ For each type you can access following properties:
- `writeAccess` <- what is the protection access for writing?
- `annotations` <- dictionary with configured [annotations](#source-annotations)

## Custom Stencil tags and filter

- `{{ name|upperFirst }}` - makes first letter in `name` uppercase
- `{% if name|contains: "Foo" %}` - check if `name` contains arbitrary substring
- `{% if name|hasPrefix: "Foo" %}`- check if `name` starts with arbitrary substring
- `{% if name|hasSuffix: "Foo" %}`- check if `name` ends with arbitrary substring

## Source Annotations

Expand Down Expand Up @@ -284,14 +290,6 @@ If you want to attribute multiple items with same attributes, you can use sectio
{% endif %}
```

## Custom Stencil tags and filter

- `{{ name|upperFirst }}` - makes first letter in `name` lowercase
- `{% if name|contains: "Foo" %}` - check if `name` contains arbitrary substring
- `{% if name|hasPrefix: "Foo" %}`- check if `name` starts with arbitrary substring
- `{% if name|hasSuffix: "Foo" %}`- check if `name` ends with arbitrary substring


# Installing

## Installation
Expand Down
2 changes: 1 addition & 1 deletion Sourcery.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "Sourcery"
s.version = "0.4.6"
s.version = "0.4.7"
s.summary = "A tool that brings meta-programming to Swift, allowing you to code generate Swift code."

s.description = <<-DESC
Expand Down
2 changes: 1 addition & 1 deletion Sourcery/Sourcery.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import SwiftTryCatch
/// If you specify templatePath as a folder, it will create a Generated[TemplateName].swift file
/// If you specify templatePath as specific file, it will put all generated results into that single file
public class Sourcery {
public static let version: String = inUnitTests ? "Major.Minor.Patch" : "0.4.6"
public static let version: String = inUnitTests ? "Major.Minor.Patch" : "0.4.7"
public static let generationMarker: String = "// Generated using Sourcery"

let verbose: Bool
Expand Down

0 comments on commit 369c663

Please sign in to comment.