Skip to content

Commit c05c79d

Browse files
committed
Merge branch 'release/1.4.1' into develop
2 parents f862462 + 4cc56b1 commit c05c79d

File tree

10 files changed

+31
-45
lines changed

10 files changed

+31
-45
lines changed

.jazzy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ github_url: https://github.com/polydice/ICInputAccessory
55
github_file_prefix: https://github.com/polydice/ICInputAccessory/blob/develop
66
xcodebuild_arguments: [-project, ICInputAccessory.xcodeproj, -scheme, ICInputAccessory-iOS]
77
module: ICInputAccessory
8-
module_version: 1.4.0
8+
module_version: 1.4.1
99
output: docs/output
1010
theme: fullwidth
11+
skip_undocumented: true

Brewfile

Lines changed: 0 additions & 2 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## v1.4.1
2+
3+
* Fix `tokenField(_:didChangeInputText:)` with the delete key [#20](https://github.com/polydice/ICInputAccessory/pull/20)
4+
5+
#### Project Updates
6+
7+
* Reenable UI tests
8+
* Combine the framework and example projects
9+
* Specify SwiftLint version via CocoaPods
10+
111
## v1.4.0
212

313
* Added delegate methods:

Example/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>1.4.0</string>
20+
<string>1.4.1</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>

ICInputAccessory.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "ICInputAccessory"
3-
s.version = "1.4.0"
3+
s.version = "1.4.1"
44
s.summary = "A customized token text field used in the iCook app."
55
s.description = <<-DESC
66
ICKeyboardDismissTextField:

ICInputAccessory/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.4.0</string>
18+
<string>1.4.1</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

ICInputAccessoryUITests/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.4.0</string>
18+
<string>1.4.1</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

Makefile

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,21 @@ bootstrap:
55

66
install: bundle-install pod-install
77

8-
brew-install:
9-
brew tap homebrew/bundle
10-
brew bundle
11-
128
bundle-install:
139
bundle install --without development --deployment --jobs=3 --retry=3
1410

1511
pod-install:
1612
bundle exec pod install
1713

14+
bump:
15+
ifeq (,$(strip $(version)))
16+
# Usage: make bump version=<number>
17+
else
18+
ruby -pi -e "gsub(/\d+\.\d+\.\d+/i, \""$(version)"\")" ICInputAccessory.podspec
19+
ruby -pi -e "gsub(/:\s\d+\.\d+\.\d+/i, \": "$(version)"\")" .jazzy.yml
20+
xcrun agvtool new-marketing-version $(version)
21+
endif
22+
1823
carthage:
1924
set -o pipefail && carthage build --no-skip-current --verbose | bundle exec xcpretty
2025

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ Try <https://testflight.icook.tw>.
77
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg)](https://github.com/Carthage/Carthage)
88
[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/ICInputAccessory.svg)](https://cocoapods.org/pods/ICInputAccessory)
99
![Platform](https://img.shields.io/cocoapods/p/ICInputAccessory.svg)
10-
[![CocoaDocs](https://img.shields.io/cocoapods/metrics/doc-percent/ICInputAccessory.svg)](https://polydice.github.io/ICInputAccessory)
11-
![Swift 3.0](https://img.shields.io/badge/Swift-3.0-orange.svg)
10+
![Swift 3.1](https://img.shields.io/badge/Swift-3.1-orange.svg)
1211

1312
### ICKeyboardDismissTextField
1413

@@ -149,10 +148,13 @@ The displayed delimiter string can be customized by:
149148
@objc optional func tokenField(_ tokenField: ICTokenField, subsequentDelimiterForCompletedText text: String) -> String
150149
```
151150

151+
### Documentation
152+
153+
* [ICInputAccessory Reference](https://polydice.github.io/ICInputAccessory)
154+
* [Example Project](https://github.com/polydice/ICInputAccessory/tree/develop/Example)
155+
152156
## Development
153157

154-
* Make sure [Homebrew](http://brew.sh/) is installed.
155-
* Current `develop` branch requires Ruby `2.3.1`.
156158
* Set up dependencies by running the following command in the project root:
157159

158160
```

Rakefile

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -40,33 +40,3 @@ task :test, [:os] do |t, args|
4040
sh xcodebuild(scheme: "Example", version: args[:os], action: "clean test")
4141
exit $?.exitstatus if not $?.success?
4242
end
43-
44-
45-
desc "Bump versions"
46-
task :bump, [:version] do |t, args|
47-
version = args[:version]
48-
unless version
49-
puts %(Usage: rake "bump[version]")
50-
next
51-
end
52-
53-
FileUtils.mv "ICInputAccessory.xcodeproj", "ICInputAccessory.tmp"
54-
sh %(xcrun agvtool new-marketing-version #{version})
55-
FileUtils.mv "ICInputAccessory.tmp", "ICInputAccessory.xcodeproj"
56-
57-
FileUtils.mv "Example.xcodeproj", "Example.tmp"
58-
sh %(xcrun agvtool new-marketing-version #{version})
59-
FileUtils.mv "Example.tmp", "Example.xcodeproj"
60-
61-
podspec = "ICInputAccessory.podspec"
62-
text = File.read podspec
63-
File.write podspec, text.gsub(%r(\"\d+\.\d+\.\d+\"), "\"#{version}\"")
64-
puts "Updated #{podspec} to #{version}"
65-
66-
jazzy = ".jazzy.yml"
67-
text = File.read jazzy
68-
File.write jazzy, text.gsub(%r(:\s\d+\.\d+\.\d+), ": #{version}")
69-
puts "Updated #{jazzy} to #{version}"
70-
71-
sh %(bundle exec pod install)
72-
end

0 commit comments

Comments
 (0)