timewizard 0.3.4.pre.alpha.pre.79 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.rspec +1 -0
- data/.travis.yml +2 -16
- data/README.md +2 -0
- data/Rakefile +0 -6
- data/lib/timewizard/versioner/android.rb +3 -0
- data/lib/timewizard/versioner/apple.rb +3 -0
- data/lib/timewizard/versioner.rb +10 -0
- data/timewizard.gemspec +2 -6
- metadata +32 -47
- data/.idea/.name +0 -1
- data/scripts/gemnasium_update.rb +0 -8
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
YzcxYTI5N2U5YmU2MTFmMmU5ZjA4ZjhiN2YxYzY5ZTJlMGNkZjI3Yw==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 4911c115b2ea48bb90815670d622ec14c98f0888
|
4
|
+
data.tar.gz: 567812019510072453905d8d7d1eb1287c27327c
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
NmU3MjAyOWZlMTVmMzgyMTU5YTIxNjhhNmE1ZTQxYTZjMzRmNzA1Y2VlY2M3
|
11
|
-
MWRhMmRlZThkZjhkYmMwOTc2ODM1MTAzZWY3YWU4MjZmYzA5Nzk=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
Njk1YmRjYjgxNzg2ODdjZmNmMDFiNGY2NzBlYzk5NDlhMDhkNGE4NmI4NDhj
|
14
|
-
NTQwZGIxMDQ1MGE4OTQ5YzNjOTI1YTY1NTc1ODZlYmMyYmQ3YThhZjNiYjRk
|
15
|
-
ZjI4ODM3Y2M0OWMxNTlkNjAwMzkxOTI0ODkyMzgxMGMzNGEzNzA=
|
6
|
+
metadata.gz: a55e32fb72b0d4aa42ad06e04038e9207619eec003fb2fb62ac115c9c84ee5ca0bf630e698e174a2fda612d3c128bc294186428bd492f51192e2d548251d5d9b
|
7
|
+
data.tar.gz: c03c5c488361a4f08085239438972d303cfa29e0daf6362b1d7d7ede9e17be41c11a115b1c2a51fec8dfcad47fc341f7fcebc0ede7788bb4aa1f8fc89ab2f67a
|
data/.rspec
CHANGED
data/.travis.yml
CHANGED
@@ -1,23 +1,9 @@
|
|
1
1
|
language: ruby
|
2
2
|
os: osx
|
3
|
-
osx_image: xcode6.4
|
4
3
|
rvm:
|
5
|
-
- 2.
|
4
|
+
- 2.2.3
|
6
5
|
before_install:
|
7
6
|
- gem install bundler -v 1.10.6
|
8
|
-
- rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
|
9
|
-
- ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
10
|
-
- brew update
|
11
|
-
- brew tap gemnasium/gemnasium
|
12
|
-
install:
|
13
|
-
- brew install icu4c openssl libyaml gemnasium-toolbelt
|
14
|
-
- bundle install --jobs=3 --retry=3
|
15
|
-
script:
|
16
|
-
- bundle exec rake spec
|
17
|
-
- bundle exec rake yard
|
18
|
-
- bundle exec rake abide
|
19
|
-
after_deploy:
|
20
|
-
- ruby ./scripts/gemnasium_update.rb
|
21
7
|
addons:
|
22
8
|
code_climate:
|
23
9
|
repo_token: 3dadb0fa3dce6a25c5f684b84239182e45fabf0d45c64511f621863e4c89b3fb
|
@@ -27,7 +13,7 @@ deploy:
|
|
27
13
|
secure: 4JE74zJmRqxovYHPwMNXD+M+6jB08bVoleE7yBUkjD1a8ghLxHBAeQ5hEqxnkaqcTN89ycL6F7G4PAQOG9kVUCUAhcew4o93l+Dz4zAALI9bDwqpyAtxQpKvaEvoYwbXwJGu4Ak7slhB552fMLf6+nmzjfZ39oX7bwvaVj3L24li4yYfA5AXTrXFJLd9ig5KHsnUICvZXNP3nz2+NWyF0anV6qh+icKmsa9lbv8STDqFjmtRglvdw2CUpMK6bNhK4CiYpDGSKCshTCHFRk839GnqLwy0hVuf9v3Wtd97gd7P2FmwRv78XdDL11Z2zHaGBuExRTbkA1bXs8TNLYZpHBLgFHdJhlFWRXbO2eXbmjB9q09xj7bUPDQupQzq94+mtZKjI1tv0blhAglkxTlNKLVJrdQGp79e0XA9KV66Q+L3V6FjGb+xxf/M9ReVrEsL6iNRsgOxvGIiONG3Qe17JQTTgvxXKQHK4yKro7fFNHqTN7EUdK8MN07fmcHCg6rzjryAvA4VB6yXzoi61GGnYUBLLDtiy7ydPtC9P/FkGbh9fGGqbpRMxuYDB59epBWYQ+eD6ThWu3umcwhPwEC938YEYYOGXsgtMDVuADyRu4mmdol9Cng7QLw4fewv0tWkgX59TLcphwD5V8VGLmUelXKgB/avD5vNc1dV3m/t6/I=
|
28
14
|
gem: timewizard
|
29
15
|
on:
|
30
|
-
|
16
|
+
tags: true
|
31
17
|
repo: Nunnery/timewizard
|
32
18
|
env:
|
33
19
|
global:
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# Timewizard
|
2
2
|
|
3
|
+
[![Join the chat at https://gitter.im/Nunnery/timewizard](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Nunnery/timewizard?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
4
|
+
|
3
5
|
[![Code Climate](https://img.shields.io/codeclimate/github/Nunnery/timewizard.svg?style=flat-square)](https://codeclimate.com/github/Nunnery/timewizard)
|
4
6
|
[![Test Coverage](https://img.shields.io/codeclimate/coverage/github/Nunnery/timewizard.svg?style=flat-square)](https://codeclimate.com/github/Nunnery/timewizard/coverage)
|
5
7
|
[![Build Status](https://img.shields.io/travis/Nunnery/timewizard.svg?style=flat-square)](https://travis-ci.org/Nunnery/timewizard)
|
data/Rakefile
CHANGED
@@ -63,6 +63,9 @@ module Timewizard
|
|
63
63
|
parsed_build_num = Versionomy.parse(build_num, Versionomy::Format.get('rubygems'))
|
64
64
|
parsed_version_num = Versionomy.parse(version_num, Versionomy::Format.get('rubygems'))
|
65
65
|
|
66
|
+
@bumped_build_number = parsed_build_num.bump(parsed_build_num.parts.length - 1)
|
67
|
+
@bumped_version_number = parsed_version_num.bump(parsed_version_num.parts.length - 1)
|
68
|
+
|
66
69
|
obn = parsed_build_num.unparse
|
67
70
|
ovn = parsed_version_num.unparse
|
68
71
|
nbn = parsed_build_num.bump(parsed_build_num.parts.length - 1).unparse
|
@@ -60,6 +60,9 @@ module Timewizard
|
|
60
60
|
parsed_build_num = Versionomy.parse(build_num, Versionomy::Format.get('rubygems'))
|
61
61
|
parsed_version_num = Versionomy.parse(version_num, Versionomy::Format.get('rubygems'))
|
62
62
|
|
63
|
+
@bumped_build_number = parsed_build_num.bump(parsed_build_num.parts.length - 1)
|
64
|
+
@bumped_version_number = parsed_version_num.bump(parsed_version_num.parts.length - 1)
|
65
|
+
|
63
66
|
obn = parsed_build_num.unparse
|
64
67
|
ovn = parsed_version_num.unparse
|
65
68
|
nbn = parsed_build_num.bump(parsed_build_num.parts.length - 1).unparse
|
data/lib/timewizard/versioner.rb
CHANGED
@@ -26,6 +26,14 @@ module Timewizard
|
|
26
26
|
# @return [String] version number currently contained in the parsed file
|
27
27
|
attr_reader :old_version_number
|
28
28
|
|
29
|
+
# bumped build number from parsed file
|
30
|
+
# @return [String] bumped build number
|
31
|
+
attr_reader :bumped_build_number
|
32
|
+
|
33
|
+
# bumped version number from parsed file
|
34
|
+
# @return [String] bumped version number
|
35
|
+
attr_reader :bumped_version_number
|
36
|
+
|
29
37
|
# build number to write to parsed file
|
30
38
|
# @return [String] build number to write to the parsed file
|
31
39
|
attr_accessor :new_build_number
|
@@ -44,6 +52,8 @@ module Timewizard
|
|
44
52
|
@file = path_to_file
|
45
53
|
@old_build_number = nil
|
46
54
|
@old_version_number = nil
|
55
|
+
@bumped_build_number = nil
|
56
|
+
@bumped_version_number = nil
|
47
57
|
@new_build_number = nil
|
48
58
|
@new_version_number = nil
|
49
59
|
end
|
data/timewizard.gemspec
CHANGED
@@ -6,9 +6,6 @@ require 'timewizard/version'
|
|
6
6
|
Gem::Specification.new do |gem|
|
7
7
|
gem.name = 'timewizard'
|
8
8
|
gem.version = Timewizard::VERSION
|
9
|
-
if ENV.fetch('TRAVIS_BRANCH', 'development') != 'master'
|
10
|
-
gem.version = "#{gem.version}-alpha-#{ENV['TRAVIS_BUILD_NUMBER']}"
|
11
|
-
end
|
12
9
|
|
13
10
|
gem.summary = 'A Ruby library for parsing and changing iOS and Android version numbers.'
|
14
11
|
gem.description = 'Uses the RubyGems style of versioning in order to ease updates.'
|
@@ -34,6 +31,5 @@ Gem::Specification.new do |gem|
|
|
34
31
|
gem.add_development_dependency 'rspec', '~> 3.3'
|
35
32
|
gem.add_development_dependency 'yard', '~> 0.8'
|
36
33
|
gem.add_development_dependency 'codeclimate-test-reporter', '~> 0.4'
|
37
|
-
gem.add_development_dependency '
|
38
|
-
|
39
|
-
end
|
34
|
+
gem.add_development_dependency 'fuubar', '~> 2.0'
|
35
|
+
end
|
metadata
CHANGED
@@ -1,141 +1,127 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: timewizard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.4
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Harrah
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: versionomy
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0.4'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0.4'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: CFPropertyList
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '2.3'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '2.3'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '1.10'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.10'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '10.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '10.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '3.3'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - ~>
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '3.3'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: yard
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - ~>
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0.8'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - ~>
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0.8'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: codeclimate-test-reporter
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - ~>
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0.4'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - ~>
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0.4'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: fuubar
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - ~>
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '0
|
117
|
+
version: '2.0'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - ~>
|
122
|
+
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '0
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: abide
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - '='
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: 0.0.3
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - '='
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: 0.0.3
|
124
|
+
version: '2.0'
|
139
125
|
description: Uses the RubyGems style of versioning in order to ease updates.
|
140
126
|
email: topplethenunnery@gmail.com
|
141
127
|
executables: []
|
@@ -145,13 +131,12 @@ extra_rdoc_files:
|
|
145
131
|
- LICENSE.txt
|
146
132
|
- README.rdoc
|
147
133
|
files:
|
148
|
-
- .codeclimate.yml
|
149
|
-
- .document
|
150
|
-
- .gitignore
|
151
|
-
- .
|
152
|
-
- .
|
153
|
-
- .
|
154
|
-
- .yardopts
|
134
|
+
- ".codeclimate.yml"
|
135
|
+
- ".document"
|
136
|
+
- ".gitignore"
|
137
|
+
- ".rspec"
|
138
|
+
- ".travis.yml"
|
139
|
+
- ".yardopts"
|
155
140
|
- CODE_OF_CONDUCT.md
|
156
141
|
- ChangeLog.rdoc
|
157
142
|
- Gemfile
|
@@ -179,7 +164,6 @@ files:
|
|
179
164
|
- resources/apple/TestApp/TestApp/main.m
|
180
165
|
- resources/apple/TestApp/TestAppTests/Info.plist
|
181
166
|
- resources/apple/TestApp/TestAppTests/TestAppTests.m
|
182
|
-
- scripts/gemnasium_update.rb
|
183
167
|
- timewizard.gemspec
|
184
168
|
homepage: https://nunnery.github.io/timewizard
|
185
169
|
licenses:
|
@@ -191,18 +175,19 @@ require_paths:
|
|
191
175
|
- lib
|
192
176
|
required_ruby_version: !ruby/object:Gem::Requirement
|
193
177
|
requirements:
|
194
|
-
- -
|
178
|
+
- - ">="
|
195
179
|
- !ruby/object:Gem::Version
|
196
180
|
version: '0'
|
197
181
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
198
182
|
requirements:
|
199
|
-
- -
|
183
|
+
- - ">="
|
200
184
|
- !ruby/object:Gem::Version
|
201
|
-
version:
|
185
|
+
version: '0'
|
202
186
|
requirements: []
|
203
187
|
rubyforge_project:
|
204
|
-
rubygems_version: 2.4.
|
188
|
+
rubygems_version: 2.4.8
|
205
189
|
signing_key:
|
206
190
|
specification_version: 4
|
207
191
|
summary: A Ruby library for parsing and changing iOS and Android version numbers.
|
208
192
|
test_files: []
|
193
|
+
has_rdoc:
|
data/.idea/.name
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
timewizard
|