timewizard 0.3.2.pre.alpha.pre.82 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. checksums.yaml +8 -8
  2. data/.travis.yml +9 -0
  3. data/README.md +0 -2
  4. data/gemspec.yml +19 -0
  5. data/timewizard.gemspec +48 -21
  6. metadata +10 -9
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZWU3MzNhZWQ3NWRhN2JmNjJjOTRjNjkwZDZlZDY3MTUzZTA3OTJlOQ==
4
+ YmRmM2NmNzJjYmZhZWQ5Yjk5ZmIwNjc3NTg3NmRjMTljOTEwMTVhYg==
5
5
  data.tar.gz: !binary |-
6
- NDgyMmRmMDQzY2M2ZTAyMTM0YWQ2ZTAzZjNhMjNmYjFjYjBkNTE3Yg==
6
+ ZTBhZTFmMTFmMjk2ZmFkNDYyM2I5YThhMDA4Mzc0YjNiZDlkNDJkZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZGJjYzAyMWVlMDViZTljNjk1YWUyNjI3NmRiN2U1ZmMyY2Q1Y2NiZGI3YmI2
10
- NmNiMmJmZmY4MWIzZTBjOGQ0YWMwMmY1ZTZiYWI2YzAwZGZiNjFkMjZmMGRi
11
- MTFjZjBhNjc3M2RhY2I0ZjMwZGU5ZGZhNWI2Y2Q2NjBiY2ViNzQ=
9
+ YzYyNjNmMDQ0M2QzMGZkY2VmYzgwODBmYTcxNTk0MDBkZGMwYzhlMzkwMTdj
10
+ YTdhYWFjNTVkNGVjYjk0MGIyMjIxMmNiYzQ5YjIzYTYzOWEwYjQ2ODMyZjcw
11
+ ZTUwNWYyOGQzZmUxNzMwYTlkOTRkYWM4YTViOTYwMzVhNmNmNDU=
12
12
  data.tar.gz: !binary |-
13
- M2U0ZDc2Y2Y4NDJmODFjYjg0ODBmNjZiOWVlMzAyMmI3MGEwMWM3NTE2ZDMw
14
- NGUyZTAxNDU5YjhmM2R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nery/timewizard
32
+ ruby: 2.1.3
33
+ - provider: rubygems
34
+ api_key:
35
+ secure: iUqr4kxkxh5jioaDBjdf2Peu543U8dpaP9bAbkLQ5Lc26hYck8VfqTHzVAveLYsaipsgO7vwTTAKizbAj3eZqnASmb9v+A+Ejgrj6XPnPLpXzRAZsAqx5Qf+zCgiA5gRkI7g653HF160nXje08NpWeXKRpyYZj+oxIEUeGr31SHlffHvMBOVchB9UWl1dfiS2mYLdrFCpBlCgvppO0+Mr3OI8JLfLe3bpA3uES/poFyKFBUbYJZF1p1Hmr1lmIM3vaU6W4rzYWjFzfTxs/LgM6GlhQOgohhsvwD6T+cDNunXGze3V4EzwVtIe5VrzepLaH7DXLaO0PKgv+calXseDeAGTz5nE5eFh+GqKEtYl/FeBz+35m1cDIFYUF7p1uPGM+R+sQmPnUFlu6tFXLrwfDkS/Rorjtl0p922DpZqJnGWDJW1YLFt/OGR5zZ0SY01n/1EkCLyd4K6xVyGU/ErUGgmjmljQyjXd4G/FxFm+ULtCYyS0W0o63wX5EHEU0ftO24H1rM8Vb2ajKRZbF9zy7QnMscnDJRnOsgWUq0IbXecQVxK25wegwA31r/k1ImtKPfeKs92LoQkFZgsi3lh4qJGx2vdqQHnJaQkcZ5ZFuPR4u1tFWnmoFRjNB8eCdiHHrKNLm/zFB6m//C+ebeTpuUf+CoYV1SeWzEBnsiK74c=
36
+ gem: timewizard
37
+ on:
38
+ branch: development
30
39
  repo: Nunnery/timewizard
31
40
  ruby: 2.1.3
32
41
  env:
data/README.md CHANGED
@@ -1,7 +1,5 @@
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
-
5
3
  [![Code Climate](https://img.shields.io/codeclimate/github/Nunnery/timewizard.svg?style=flat-square)](https://codeclimate.com/github/Nunnery/timewizard)
6
4
  [![Test Coverage](https://img.shields.io/codeclimate/coverage/github/Nunnery/timewizard.svg?style=flat-square)](https://codeclimate.com/github/Nunnery/timewizard/coverage)
7
5
  [![Build Status](https://img.shields.io/travis/Nunnery/timewizard.svg?style=flat-square)](https://travis-ci.org/Nunnery/timewizard)
data/gemspec.yml ADDED
@@ -0,0 +1,19 @@
1
+ name: timewizard
2
+ summary: "A Ruby library for parsing and changing iOS and Android version numbers."
3
+ description: "Uses the RubyGems style of versioning in order to ease updates."
4
+ license: MIT
5
+ authors: Richard Harrah
6
+ email: topplethenunnery@gmail.com
7
+ homepage: https://github.com/Nunnery/timewizard
8
+
9
+ development_dependencies:
10
+ bundler: ~> 1.10
11
+ rake: ~> 10.0
12
+ rspec: ~> 3.3
13
+ yard: ~> 0.8.7.6
14
+ codeclimate-test-reporter: ~> 0.4
15
+ abide: ~> 0.0.3
16
+
17
+ dependencies:
18
+ versionomy: ~> 0.4
19
+ CFPropertyList: ~> 2.3
data/timewizard.gemspec CHANGED
@@ -1,34 +1,61 @@
1
1
  # coding: utf-8
2
2
 
3
+ require 'yaml'
4
+
3
5
  Gem::Specification.new do |gem|
4
- gem.name = 'timewizard'
5
- lib_dir = File.join(File.dirname(__FILE__), 'lib')
6
- $LOAD_PATH << lib_dir unless $LOAD_PATH.include?(lib_dir)
7
- require 'timewizard/version'
8
- gem.version = Timewizard::VERSION
6
+ gemspec = YAML.load_file('gemspec.yml')
7
+
8
+ gem.name = gemspec.fetch('name')
9
+ gem.version = gemspec.fetch('version') do
10
+ lib_dir = File.join(File.dirname(__FILE__), 'lib')
11
+ $LOAD_PATH << lib_dir unless $LOAD_PATH.include?(lib_dir)
12
+
13
+ require 'timewizard/version'
14
+ Timewizard::VERSION
15
+ end
9
16
  gem.version = "#{gem.version}-alpha-#{ENV['TRAVIS_BUILD_NUMBER']}" if !ENV['TRAVIS_BRANCH'].nil? && ENV['TRAVIS_BRANCH'] == 'master'
10
17
 
11
- gem.summary = 'A Ruby library for parsing and changing iOS and Android version numbers.'
12
- gem.description = 'Uses the RubyGems style of versioning in order to ease updates.'
13
- gem.licenses = ['MIT']
14
- gem.authors = ['Richard Harrah']
15
- gem.email = 'topplethenunnery@gmail.com'
16
- gem.homepage = 'https://nunnery.github.io/timewizard'
18
+ gem.summary = gemspec['summary']
19
+ gem.description = gemspec['description']
20
+ gem.licenses = Array(gemspec['license'])
21
+ gem.authors = Array(gemspec['authors'])
22
+ gem.email = gemspec['email']
23
+ gem.homepage = gemspec['homepage']
17
24
 
18
25
  glob = lambda { |patterns| gem.files & Dir[*patterns] }
19
26
 
20
27
  gem.files = `git ls-files`.split($/)
28
+ gem.files = glob[gemspec['files']] if gemspec['files']
29
+
30
+ gem.executables = gemspec.fetch('executables') do
31
+ glob['bin/*'].map { |path| File.basename(path) }
32
+ end
33
+ gem.default_executable = gem.executables.first if Gem::VERSION < '1.7.'
34
+
35
+ gem.extensions = glob[gemspec['extensions'] || 'ext/**/extconf.rb']
36
+ gem.test_files = glob[gemspec['test_files'] || '{test/{**/}*_test.rb']
37
+ gem.extra_rdoc_files = glob[gemspec['extra_doc_files'] || '*.{txt,rdoc}']
38
+
39
+ gem.require_paths = Array(gemspec.fetch('require_paths') {
40
+ %w[ext lib].select { |dir| File.directory?(dir) }
41
+ })
42
+
43
+ gem.requirements = gemspec['requirements']
44
+ gem.required_ruby_version = gemspec['required_ruby_version']
45
+ gem.required_rubygems_version = gemspec['required_rubygems_version']
46
+ gem.post_install_message = gemspec['post_install_message']
21
47
 
22
- gem.test_files = glob['{spec/{**/}*_spec.rb']
23
- gem.extra_rdoc_files = glob['*.{txt,rdoc}']
48
+ split = lambda { |string| string.split(/,\s*/) }
24
49
 
25
- gem.add_dependency 'versionomy', '~> 0.4'
26
- gem.add_dependency 'CFPropertyList', '~> 2.3'
50
+ if gemspec['dependencies']
51
+ gemspec['dependencies'].each do |name, versions|
52
+ gem.add_dependency(name, split[versions])
53
+ end
54
+ end
27
55
 
28
- gem.add_development_dependency 'bundler', '~> 1.10'
29
- gem.add_development_dependency 'rake', '~> 10.0'
30
- gem.add_development_dependency 'rspec', '~> 3.3'
31
- gem.add_development_dependency 'yard', '~> 0.8'
32
- gem.add_development_dependency 'codeclimate-test-reporter', '~> 0.4'
33
- gem.add_development_dependency 'abide', '0.0.3'
56
+ if gemspec['development_dependencies']
57
+ gemspec['development_dependencies'].each do |name, versions|
58
+ gem.add_development_dependency(name, split[versions])
59
+ end
60
+ end
34
61
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: timewizard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2.pre.alpha.pre.82
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Harrah
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-05 00:00:00.000000000 Z
11
+ date: 2015-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: versionomy
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - ~>
88
88
  - !ruby/object:Gem::Version
89
- version: '0.8'
89
+ version: 0.8.7.6
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
- version: '0.8'
96
+ version: 0.8.7.6
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: codeclimate-test-reporter
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -112,14 +112,14 @@ dependencies:
112
112
  name: abide
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '='
115
+ - - ~>
116
116
  - !ruby/object:Gem::Version
117
117
  version: 0.0.3
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
124
  version: 0.0.3
125
125
  description: Uses the RubyGems style of versioning in order to ease updates.
@@ -145,6 +145,7 @@ files:
145
145
  - README.md
146
146
  - README.rdoc
147
147
  - Rakefile
148
+ - gemspec.yml
148
149
  - lib/timewizard.rb
149
150
  - lib/timewizard/utils/wizardry.rb
150
151
  - lib/timewizard/version.rb
@@ -173,7 +174,7 @@ files:
173
174
  - spec/versioner/apple_spec.rb
174
175
  - spec/versioner_spec.rb
175
176
  - timewizard.gemspec
176
- homepage: https://nunnery.github.io/timewizard
177
+ homepage: https://github.com/Nunnery/timewizard
177
178
  licenses:
178
179
  - MIT
179
180
  metadata: {}
@@ -188,9 +189,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
188
189
  version: '0'
189
190
  required_rubygems_version: !ruby/object:Gem::Requirement
190
191
  requirements:
191
- - - ! '>'
192
+ - - ! '>='
192
193
  - !ruby/object:Gem::Version
193
- version: 1.3.1
194
+ version: '0'
194
195
  requirements: []
195
196
  rubyforge_project:
196
197
  rubygems_version: 2.4.6