Skip to content

Commit 62c5f09

Browse files
committed
Bump version to 1.3.0
1 parent 8b7017d commit 62c5f09

File tree

10 files changed

+60
-27
lines changed

10 files changed

+60
-27
lines changed

.jazzy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ 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.2.1
8+
module_version: 1.3.0
99
output: docs/output
1010
theme: fullwidth

.swift-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0.0

CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
## v1.3.0
22

3-
#### Changes
4-
53
* Swift 3.0
64
* Support `pod try ICInputAccessory`
75

Example/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>APPL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.2.1</string>
18+
<string>1.3.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<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.2.1"
3+
s.version = "1.3.0"
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.2.1</string>
18+
<string>1.3.0</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.2.1</string>
18+
<string>1.3.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

Podfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PODS:
2-
- ICInputAccessory/KeyboardDismissTextField (1.2.1)
3-
- ICInputAccessory/TokenField (1.2.1)
2+
- ICInputAccessory/KeyboardDismissTextField (1.3.0)
3+
- ICInputAccessory/TokenField (1.3.0)
44

55
DEPENDENCIES:
66
- ICInputAccessory/KeyboardDismissTextField (from `./`)
@@ -11,7 +11,7 @@ EXTERNAL SOURCES:
1111
:path: "./"
1212

1313
SPEC CHECKSUMS:
14-
ICInputAccessory: 19865bd3efb918c22f8b7b5715566b85bc8b4577
14+
ICInputAccessory: e9142958152461ddb627e78e3f1f0a8b263b7271
1515

1616
PODFILE CHECKSUM: 6e8fb9f23fc92d92278fbf08ca8ef072ef28a486
1717

README.md

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -30,35 +30,38 @@ ICInputAccessory | iOS | Xcode | Swift
3030
`~> 1.0.0` | 8.0+ | 7.2 | ![Swift 2.1.1](https://img.shields.io/badge/Swift-2.1.1-orange.svg)
3131
`~> 1.1.0` | 8.0+ | 7.3 | ![Swift 2.2](https://img.shields.io/badge/Swift-2.2-orange.svg)
3232
`~> 1.2.0` | 8.0+ | 8.0 | ![Swift 2.3](https://img.shields.io/badge/Swift-2.3-orange.svg)
33-
`develop` | 8.0+ | 8.0 | ![Swift 3.0](https://img.shields.io/badge/Swift-3.0-orange.svg)
33+
`~> 1.3.0` | 8.0+ | 8.0 | ![Swift 3.0](https://img.shields.io/badge/Swift-3.0-orange.svg)
3434

3535
## Installation
3636

37-
### Install via [Carthage](https://github.com/Carthage/Carthage)
37+
### Use [Carthage](https://github.com/Carthage/Carthage)
3838

39-
* Create a `Cartfile` with the following specification and run `carthage update`.
39+
Create a `Cartfile` with the following specification and run `carthage update ICInputAccessory`. Follow the [instructions](https://github.com/Carthage/Carthage#if-youre-building-for-ios) to add the framework to an iOS project.
4040

41-
```
42-
github "polydice/ICInputAccessory"
43-
```
41+
```
42+
github "polydice/ICInputAccessory"
43+
```
4444

45-
* Follow the [instruction](https://github.com/Carthage/Carthage#if-youre-building-for-ios) to add the framework to an iOS project.
45+
### Use [CocoaPods](http://guides.cocoapods.org/)
4646

47-
### Install via [CocoaPods](http://guides.cocoapods.org/)
47+
**ICInputAccessory** supports subspecs. Create a `Podfile` with the following specification and run `pod install`.
4848

49-
* **ICInputAccessory** supports subspecs. Create a `Podfile` with the following specification and run `pod install`.
49+
```rb
50+
platform :ios, '8.0'
51+
use_frameworks!
5052

51-
```rb
52-
platform :ios, '8.0'
53-
use_frameworks!
53+
pod 'ICInputAccessory/TokenField'
54+
pod 'ICInputAccessory/KeyboardDismissTextField'
55+
```
5456

55-
pod 'ICInputAccessory/TokenField'
56-
pod 'ICInputAccessory/KeyboardDismissTextField'
57-
```
57+
### Use Git Submodule
5858

59-
### Install Manually
59+
```
60+
git submodule add -b master [email protected]:polydice/ICInputAccessory.git Dependencies/ICInputAccessory
61+
```
6062

61-
* Everything you need resides in the `Source` directory. Drag those files to a project.
63+
* Everything you need resides in the `Source` directory. Add those files to your project.
64+
* Alternatively, drag **ICInputAccessory.xcodeproj** to your app project as a subproject. Add **ICInputAccessory-iOS** to the **Target Dependencies** in the application target's **Build Phases** settings.
6265

6366
## Usage
6467

Rakefile

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ namespace :ci do
2323
end
2424
end
2525

26+
2627
namespace :example do
2728
desc "Build the example project"
2829
task :build, [:os] do |t, args|
@@ -47,3 +48,33 @@ namespace :framework do
4748
exit $?.exitstatus if not $?.success?
4849
end
4950
end
51+
52+
53+
desc "Bump versions"
54+
task :bump, [:version] do |t, args|
55+
version = args[:version]
56+
unless version
57+
puts %(Usage: rake "bump[version]")
58+
next
59+
end
60+
61+
FileUtils.mv "ICInputAccessory.xcodeproj", "ICInputAccessory.tmp"
62+
sh %(xcrun agvtool new-marketing-version #{version})
63+
FileUtils.mv "ICInputAccessory.tmp", "ICInputAccessory.xcodeproj"
64+
65+
FileUtils.mv "Example.xcodeproj", "Example.tmp"
66+
sh %(xcrun agvtool new-marketing-version #{version})
67+
FileUtils.mv "Example.tmp", "Example.xcodeproj"
68+
69+
podspec = "ICInputAccessory.podspec"
70+
text = File.read podspec
71+
File.write podspec, text.gsub(%r(\"\d+\.\d+\.\d+\"), "\"#{version}\"")
72+
puts "Updated #{podspec} to #{version}"
73+
74+
jazzy = ".jazzy.yml"
75+
text = File.read jazzy
76+
File.write jazzy, text.gsub(%r(:\s\d+\.\d+\.\d+), ": #{version}")
77+
puts "Updated #{jazzy} to #{version}"
78+
79+
sh %(bundle exec pod install)
80+
end

0 commit comments

Comments
 (0)