Skip to content

Commit

Permalink
Bump Version to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron McTavish committed Feb 6, 2017
1 parent f47348a commit 073cfe0
Show file tree
Hide file tree
Showing 8 changed files with 72 additions and 26 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,33 @@ All notable changes to this project will be documented in this file.
`FormValidatorSwift` adheres to [Semantic Versioning](http://semver.org/).

#### 1.x Releases
- `2.0.x` Releases - [2.0.0](#200)
- `1.2.x` Releases - [1.2.0](#120)
- `1.1.x` Releases - [1.1.0](#110)
- `1.0.x` Releases - [1.0.0](#100)

---

## [2.0.0](https://github.com/ustwo/formvalidator-swift/releases/tag/v2.0.0)

#### Breaking
- Updated `AlphabeticCondition` and `AlphanumericCondition` to allow unicode characters by default (`NumericCondition` already allowed unicode characters by default).
- Updated by [Aaron McTavish](https://github.com/aamctustwo) in Pull Request [#49](https://github.com/ustwo/formvalidator-swift/pull/49).
- `AlphabeticCondition`, `AlphanumericCondition`, `CreditCardCondition`, `NumericCondition`, `PasswordStrengthCondition`, `PostcodeCondition`, and `RangeCondition` now store their configurations in a `configuration` property rather than as top-level properties of the condition's instance. As an example, for an instance of `AlphabeticCondition` the check `condition.allowsWhitespace == true` would become `condition.configuration.allowsWhitespace == true`.
- Updated by [Aaron McTavish](https://github.com/aamctustwo) in Pull Request [#40](https://github.com/ustwo/formvalidator-swift/pull/40) and [#41](https://github.com/ustwo/formvalidator-swift/pull/41).

#### Added
- Added `Configuration`, `ConfigurableCondition`, `ConfigurableValidator` protocols. Updated existing conditions and validators to take advantage of new protocols.
- Added by [Aaron McTavish](https://github.com/aamctustwo) in Pull Request [#40](https://github.com/ustwo/formvalidator-swift/pull/40) and [#41](https://github.com/ustwo/formvalidator-swift/pull/41).
- Added macOS support.
- Added by [Aaron McTavish](https://github.com/aamctustwo) in Pull Request [#42](https://github.com/ustwo/formvalidator-swift/pull/42).

#### Updated
- `NumericCondition` now supports ASCII only (as opposed to allowing any Unicode numeric characters) as an option. The default remains allowing Unicode characters.
- Updated by [Aaron McTavish](https://github.com/aamctustwo) in Pull Request [#41](https://github.com/ustwo/formvalidator-swift/pull/41).
- The `shouldAllowViolation` property on validator controls now works as expected.
- Updated by [sparrowlegs](https://github.com/sparrowlegs) in Pull Request [#44](https://github.com/ustwo/formvalidator-swift/pull/44).

## [1.2.0](https://github.com/ustwo/formvalidator-swift/releases/tag/v1.2.0)

#### Added
Expand Down
2 changes: 1 addition & 1 deletion Example/iOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<string>2.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Example/macOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<string>2.0.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSMinimumSystemVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion FormValidatorSwift.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'FormValidatorSwift'
s.version = '1.2.0'
s.version = '2.0.0'
s.license = { :type => "MIT", :file => "License.md" }
s.summary = 'A framework to validate inputs of text fields and text views in a convenient way.'
s.homepage = 'https://github.com/ustwo/formvalidator-swift'
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source "https://rubygems.org"

gem 'fastlane'
gem 'cocoapods', '~> 1.1.1'
gem 'cocoapods', '~> 1.2.0'
38 changes: 20 additions & 18 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (2.3.4)
CFPropertyList (2.3.5)
activesupport (4.2.7.1)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
Expand All @@ -12,25 +12,26 @@ GEM
public_suffix (~> 2.0, >= 2.0.2)
babosa (1.0.2)
claide (1.0.1)
cocoapods (1.1.1)
cocoapods (1.2.0)
activesupport (>= 4.0.2, < 5)
claide (>= 1.0.1, < 2.0)
cocoapods-core (= 1.1.1)
cocoapods-core (= 1.2.0)
cocoapods-deintegrate (>= 1.0.1, < 2.0)
cocoapods-downloader (>= 1.1.2, < 2.0)
cocoapods-downloader (>= 1.1.3, < 2.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
cocoapods-search (>= 1.0.0, < 2.0)
cocoapods-stats (>= 1.0.0, < 2.0)
cocoapods-trunk (>= 1.1.1, < 2.0)
cocoapods-trunk (>= 1.1.2, < 2.0)
cocoapods-try (>= 1.1.0, < 2.0)
colored (~> 1.2)
escape (~> 0.0.4)
fourflusher (~> 2.0.1)
gh_inspector (~> 1.0)
molinillo (~> 0.5.1)
molinillo (~> 0.5.5)
nap (~> 1.0)
xcodeproj (>= 1.3.3, < 2.0)
cocoapods-core (1.1.1)
ruby-macho (~> 0.2.5)
xcodeproj (>= 1.4.1, < 2.0)
cocoapods-core (1.2.0)
activesupport (>= 4.0.2, < 5)
fuzzy_match (~> 2.0.4)
nap (~> 1.0)
Expand All @@ -49,23 +50,23 @@ GEM
highline (~> 1.7.2)
domain_name (0.5.20161129)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.1.1)
dotenv (2.2.0)
escape (0.0.4)
excon (0.54.0)
faraday (0.10.1)
faraday (0.11.0)
multipart-post (>= 1.2, < 3)
faraday-cookie_jar (0.0.6)
faraday (>= 0.7.4)
http-cookie (~> 1.0.0)
faraday_middleware (0.10.1)
faraday_middleware (0.11.0.1)
faraday (>= 0.7.4, < 1.0)
fastimage (2.0.1)
addressable (~> 2)
fastlane (2.7.0)
fastlane (2.14.2)
activesupport (< 5)
addressable (>= 2.3, < 3.0.0)
babosa (>= 1.0.2, < 2.0.0)
bundler (~> 1.12)
bundler (>= 1.12.0, < 2.0.0)
colored
commander (>= 4.4.0, < 5.0.0)
dotenv (>= 2.1.1, < 3.0.0)
Expand Down Expand Up @@ -95,7 +96,7 @@ GEM
fourflusher (2.0.1)
fuzzy_match (2.0.4)
gh_inspector (1.0.3)
google-api-client (0.9.20)
google-api-client (0.9.26)
addressable (~> 2.3)
googleauth (~> 0.5)
httpclient (~> 2.7)
Expand All @@ -117,8 +118,8 @@ GEM
domain_name (~> 0.5)
httpclient (2.8.3)
hurley (0.2)
i18n (0.7.0)
json (1.8.3)
i18n (0.8.0)
json (1.8.6)
jwt (1.5.6)
little-plugger (1.1.4)
logging (2.1.0)
Expand All @@ -144,6 +145,7 @@ GEM
uber (~> 0.0.7)
retriable (2.1.0)
rouge (1.11.1)
ruby-macho (0.2.6)
rubyzip (1.2.0)
security (0.1.3)
signet (0.7.3)
Expand All @@ -162,7 +164,7 @@ GEM
unf (0.1.4)
unf_ext
unf_ext (0.0.7.2)
unicode-display_width (1.1.2)
unicode-display_width (1.1.3)
word_wrap (1.0.0)
xcodeproj (1.4.2)
CFPropertyList (~> 2.3.3)
Expand All @@ -179,7 +181,7 @@ PLATFORMS
ruby

DEPENDENCIES
cocoapods (~> 1.1.1)
cocoapods (~> 1.2.0)
fastlane

BUNDLED WITH
Expand Down
2 changes: 1 addition & 1 deletion Sources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.2.0</string>
<string>2.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
29 changes: 26 additions & 3 deletions fastlane/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,32 @@
fastlane documentation
================
# Installation

Make sure you have the latest version of the Xcode command line tools installed:

```
sudo gem install fastlane
xcode-select --install
```

## Choose your installation method:

<table width="100%" >
<tr>
<th width="33%"><a href="http://brew.sh">Homebrew</a></td>
<th width="33%">Installer Script</td>
<th width="33%">Rubygems</td>
</tr>
<tr>
<td width="33%" align="center">macOS</td>
<td width="33%" align="center">macOS</td>
<td width="33%" align="center">macOS or Linux with Ruby 2.0.0 or above</td>
</tr>
<tr>
<td width="33%"><code>brew cask install fastlane</code></td>
<td width="33%"><a href="https://download.fastlane.tools/fastlane.zip">Download the zip file</a>. Then double click on the <code>install</code> script (or run it in a terminal window).</td>
<td width="33%"><code>sudo gem install fastlane -NV</code></td>
</tr>
</table>
# Available Actions
### test
```
Expand All @@ -29,5 +52,5 @@ Upload code coverage reports (if running on CI)
----

This README.md is auto-generated and will be re-generated every time [fastlane](https://fastlane.tools) is run.
More information about fastlane can be found on [https://fastlane.tools](https://fastlane.tools).
The documentation of fastlane can be found on [GitHub](https://github.com/fastlane/fastlane/tree/master/fastlane).
More information about fastlane can be found on [fastlane.tools](https://fastlane.tools).
The documentation of fastlane can be found on [docs.fastlane.tools](https://docs.fastlane.tools).

0 comments on commit 073cfe0

Please sign in to comment.