buff-platform 0.1.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: fee451117e9e04c6ce78ef39df8beba3688f4c63
4
+ data.tar.gz: baa9d4a6bbfe9d0ddb175147d229ada48666e462
5
+ SHA512:
6
+ metadata.gz: 797ce856e801ca35e6676b3c7a6afa31655614c37ec208cbc0af6eb0ce011cf1a95598ede537da29949706cae99f3a2a5ccd71a9c8b19e650be19e5db7c04576
7
+ data.tar.gz: 518344fa0dedce08bb86fdb8947e9c5a25a2fcb52a6e5ac774ea079cd17f2b9712100f8e77359c7f33bab366d3a3869a2b6be9a6bc9a41fd71374b626ea64af3
@@ -1,7 +1,11 @@
1
- script: "bundle exec thor spec"
1
+ sudo: false
2
2
  language: ruby
3
+
4
+ branches:
5
+ only:
6
+ - master
7
+
8
+ script: "bundle exec thor spec"
3
9
  rvm:
4
- - 1.9.2
5
- - 1.9.3
6
- - 2.0.0
7
- - jruby-19mode
10
+ - 2.2.5
11
+ - 2.3.1
@@ -10,7 +10,7 @@ Install the latest version of [Bundler](http://gembundler.com)
10
10
 
11
11
  Clone the project
12
12
 
13
- $ git clone git://github.com/RiotGames/buff-platform.git
13
+ $ git clone git://github.com/berkshelf/buff-platform.git
14
14
 
15
15
  and run:
16
16
 
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  Copyright 2012-2013 Riot Games
2
2
 
3
- Jamie Winsor (<reset@riotgames.com>)
3
+ Jamie Winsor (<jamie@vialstudios.com>)
4
4
 
5
5
  Licensed under the Apache License, Version 2.0 (the "License");
6
6
  you may not use this file except in compliance with the License.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Buff::Platform
2
- [![Gem Version](https://badge.fury.io/rb/buff-platform.png)](http://badge.fury.io/rb/buff-platform)
3
- [![Build Status](https://travis-ci.org/RiotGames/buff-platform.png?branch=master)](https://travis-ci.org/RiotGames/buff-platform)
2
+ [![Gem Version](https://badge.fury.io/rb/buff-platform.svg)](http://badge.fury.io/rb/buff-platform)
3
+ [![Build Status](https://travis-ci.org/berkshelf/buff-platform.svg?branch=master)](https://travis-ci.org/berkshelf/buff-platform)
4
4
 
5
5
  Buff up your code with a mixin for querying the platform running Ruby
6
6
 
@@ -43,6 +43,6 @@ Using it as a module
43
43
 
44
44
  # Authors and Contributors
45
45
 
46
- * Jamie Winsor (<reset@riotgames.com>)
46
+ * Jamie Winsor (<jamie@vialstudios.com>)
47
47
 
48
48
  Thank you to all of our [Contributors](https://github.com/RiotGames/buff-platform/graphs/contributors), testers, and users.
data/Thorfile CHANGED
@@ -17,17 +17,17 @@ class Default < Thor
17
17
 
18
18
  desc "build", "Build buff-platform-#{Buff::Platform::VERSION}.gem into the pkg directory"
19
19
  def build
20
- Rake::Task["build"].execute
20
+ Rake::Task["build"].invoke
21
21
  end
22
22
 
23
23
  desc "install", "Build and install buff-platform-#{Buff::Platform::VERSION}.gem into system gems"
24
24
  def install
25
- Rake::Task["install"].execute
25
+ Rake::Task["install"].invoke
26
26
  end
27
27
 
28
28
  desc "release", "Create tag v#{Buff::Platform::VERSION} and build and push buff-platform-#{Buff::Platform::VERSION}.gem to Rubygems"
29
29
  def release
30
- Rake::Task["release"].execute
30
+ Rake::Task["release"].invoke
31
31
  end
32
32
  end
33
33
 
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
7
7
  spec.name = "buff-platform"
8
8
  spec.version = Buff::Platform::VERSION
9
9
  spec.authors = ["Jamie Winsor"]
10
- spec.email = ["reset@riotgames.com"]
10
+ spec.email = ["jamie@vialstudios.com"]
11
11
  spec.description = %q{A mixin for querying the platform running Ruby}
12
12
  spec.summary = %q{Buff up your code with a mixin for querying the platform running Ruby}
13
13
  spec.homepage = "https://github.com/RiotGames/buff-platform"
@@ -17,10 +17,10 @@ Gem::Specification.new do |spec|
17
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
18
  spec.test_files = spec.files.grep(%r{^spec/})
19
19
  spec.require_paths = ["lib"]
20
- spec.required_ruby_version = ">= 1.9.2"
20
+ spec.required_ruby_version = ">= 2.2"
21
21
 
22
22
  spec.add_development_dependency "buff-ruby_engine"
23
- spec.add_development_dependency "thor", "~> 0.18.0"
23
+ spec.add_development_dependency "thor", "~> 0.19.1"
24
24
  spec.add_development_dependency "bundler", "~> 1.3"
25
25
  spec.add_development_dependency "rake"
26
26
  spec.add_development_dependency "rspec"
@@ -1,5 +1,5 @@
1
1
  module Buff
2
2
  module Platform
3
- VERSION = "0.1.0"
3
+ VERSION = "1.0.0"
4
4
  end
5
5
  end
@@ -8,7 +8,7 @@ describe Buff::Platform do
8
8
  before { RbConfig::CONFIG.stub(:[]).with('host_os').and_return('mswin') }
9
9
 
10
10
  it "should be true" do
11
- expect(subject).to be_true
11
+ expect(subject).to be true
12
12
  end
13
13
  end
14
14
 
@@ -16,7 +16,7 @@ describe Buff::Platform do
16
16
  before { RbConfig::CONFIG.stub(:[]).with('host_os').and_return('mingw') }
17
17
 
18
18
  it "should be true" do
19
- expect(subject).to be_true
19
+ expect(subject).to be true
20
20
  end
21
21
  end
22
22
 
@@ -24,7 +24,7 @@ describe Buff::Platform do
24
24
  before { RbConfig::CONFIG.stub(:[]).with('host_os').and_return('cygwin') }
25
25
 
26
26
  it "should be true" do
27
- expect(subject).to be_true
27
+ expect(subject).to be true
28
28
  end
29
29
  end
30
30
 
@@ -32,7 +32,7 @@ describe Buff::Platform do
32
32
  before { RbConfig::CONFIG.stub(:[]).with('host_os').and_return('darwin11.3.0') }
33
33
 
34
34
  it "should be true" do
35
- expect(subject).to be_false
35
+ expect(subject).to be false
36
36
  end
37
37
  end
38
38
  end
@@ -44,7 +44,7 @@ describe Buff::Platform do
44
44
  before { RbConfig::CONFIG.stub(:[]).with('host_os').and_return('darwin') }
45
45
 
46
46
  it "should be true" do
47
- expect(subject).to be_true
47
+ expect(subject).to be true
48
48
  end
49
49
  end
50
50
 
@@ -52,7 +52,7 @@ describe Buff::Platform do
52
52
  before { RbConfig::CONFIG.stub(:[]).with('host_os').and_return('mingw') }
53
53
 
54
54
  it "should be true" do
55
- expect(subject).to be_false
55
+ expect(subject).to be false
56
56
  end
57
57
  end
58
58
  end
@@ -64,7 +64,7 @@ describe Buff::Platform do
64
64
  before { RbConfig::CONFIG.stub(:[]).with('host_os').and_return('linux') }
65
65
 
66
66
  it "should be true" do
67
- expect(subject).to be_true
67
+ expect(subject).to be true
68
68
  end
69
69
  end
70
70
 
@@ -72,7 +72,7 @@ describe Buff::Platform do
72
72
  before { RbConfig::CONFIG.stub(:[]).with('host_os').and_return('mingw') }
73
73
 
74
74
  it "should be true" do
75
- expect(subject).to be_false
75
+ expect(subject).to be false
76
76
  end
77
77
  end
78
78
  end
@@ -10,7 +10,6 @@ def setup_rspec
10
10
  end
11
11
 
12
12
  config.mock_with :rspec
13
- config.treat_symbols_as_metadata_keys_with_true_values = true
14
13
  config.filter_run focus: true
15
14
  config.run_all_when_everything_filtered = true
16
15
  end
metadata CHANGED
@@ -1,186 +1,164 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buff-platform
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
5
- prerelease:
4
+ version: 1.0.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jamie Winsor
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-06-11 00:00:00.000000000 Z
11
+ date: 2016-08-05 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: buff-ruby_engine
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: thor
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
- version: 0.18.0
33
+ version: 0.19.1
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
- version: 0.18.0
40
+ version: 0.19.1
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: bundler
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
47
  version: '1.3'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
54
  version: '1.3'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rake
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - ">="
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: rspec
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - ">="
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - ">="
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: fuubar
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - ">="
100
88
  - !ruby/object:Gem::Version
101
89
  version: '0'
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - ">="
108
95
  - !ruby/object:Gem::Version
109
96
  version: '0'
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: guard
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ! '>='
101
+ - - ">="
116
102
  - !ruby/object:Gem::Version
117
103
  version: '0'
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
- - - ! '>='
108
+ - - ">="
124
109
  - !ruby/object:Gem::Version
125
110
  version: '0'
126
111
  - !ruby/object:Gem::Dependency
127
112
  name: guard-rspec
128
113
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
114
  requirements:
131
- - - ! '>='
115
+ - - ">="
132
116
  - !ruby/object:Gem::Version
133
117
  version: '0'
134
118
  type: :development
135
119
  prerelease: false
136
120
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
121
  requirements:
139
- - - ! '>='
122
+ - - ">="
140
123
  - !ruby/object:Gem::Version
141
124
  version: '0'
142
125
  - !ruby/object:Gem::Dependency
143
126
  name: guard-spork
144
127
  requirement: !ruby/object:Gem::Requirement
145
- none: false
146
128
  requirements:
147
- - - ! '>='
129
+ - - ">="
148
130
  - !ruby/object:Gem::Version
149
131
  version: '0'
150
132
  type: :development
151
133
  prerelease: false
152
134
  version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
135
  requirements:
155
- - - ! '>='
136
+ - - ">="
156
137
  - !ruby/object:Gem::Version
157
138
  version: '0'
158
139
  - !ruby/object:Gem::Dependency
159
140
  name: spork
160
141
  requirement: !ruby/object:Gem::Requirement
161
- none: false
162
142
  requirements:
163
- - - ! '>='
143
+ - - ">="
164
144
  - !ruby/object:Gem::Version
165
145
  version: '0'
166
146
  type: :development
167
147
  prerelease: false
168
148
  version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
149
  requirements:
171
- - - ! '>='
150
+ - - ">="
172
151
  - !ruby/object:Gem::Version
173
152
  version: '0'
174
153
  description: A mixin for querying the platform running Ruby
175
154
  email:
176
- - reset@riotgames.com
155
+ - jamie@vialstudios.com
177
156
  executables: []
178
157
  extensions: []
179
158
  extra_rdoc_files: []
180
159
  files:
181
- - .gitignore
182
- - .ruby-version
183
- - .travis.yml
160
+ - ".gitignore"
161
+ - ".travis.yml"
184
162
  - CONTRIBUTING.md
185
163
  - Gemfile
186
164
  - Guardfile
@@ -197,30 +175,26 @@ files:
197
175
  homepage: https://github.com/RiotGames/buff-platform
198
176
  licenses:
199
177
  - Apache 2.0
178
+ metadata: {}
200
179
  post_install_message:
201
180
  rdoc_options: []
202
181
  require_paths:
203
182
  - lib
204
183
  required_ruby_version: !ruby/object:Gem::Requirement
205
- none: false
206
184
  requirements:
207
- - - ! '>='
185
+ - - ">="
208
186
  - !ruby/object:Gem::Version
209
- version: 1.9.2
187
+ version: '2.2'
210
188
  required_rubygems_version: !ruby/object:Gem::Requirement
211
- none: false
212
189
  requirements:
213
- - - ! '>='
190
+ - - ">="
214
191
  - !ruby/object:Gem::Version
215
192
  version: '0'
216
- segments:
217
- - 0
218
- hash: -2719997882300292107
219
193
  requirements: []
220
194
  rubyforge_project:
221
- rubygems_version: 1.8.23
195
+ rubygems_version: 2.4.8
222
196
  signing_key:
223
- specification_version: 3
197
+ specification_version: 4
224
198
  summary: Buff up your code with a mixin for querying the platform running Ruby
225
199
  test_files:
226
200
  - spec/buff/platform_spec.rb
@@ -1 +0,0 @@
1
- 1.9.3-p429