inventory-rake 1.6.2 → 1.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README +13 -3
- data/lib/inventory-rake-1.0.rb +1 -1
- data/lib/inventory-rake-1.0/tasks/gem.rb +6 -1
- data/lib/inventory-rake-1.0/version.rb +3 -3
- metadata +42 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d32a07601d892b1d58f5c622504d0b1ea89242f7
|
4
|
+
data.tar.gz: 1e7d291db27ea551a40a24aee1966504de870e2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a921a481d0e331788f0a3898f3675017fa6068ec641b65f9507f0aecb15ddfdfef1b3f7919dab7dd8805018108711af166efb5b57c1ef00c6ae15925c79a68bd
|
7
|
+
data.tar.gz: 68768c01d936e53afcafdf27a20d6e3da7308dddfa392157b1dfbccdfce9ff873afb312b2d65ed8929489fead94d432941575d7e012c28a8c07dda156f3c0626
|
data/README
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
distribution files to distribution points.
|
7
7
|
|
8
8
|
¹ See http://rake.rubyforge.org/
|
9
|
-
² See http://disu.se/software/inventory/
|
9
|
+
² See http://disu.se/software/inventory-1.0/
|
10
10
|
|
11
11
|
§ Installation
|
12
12
|
|
@@ -52,7 +52,7 @@
|
|
52
52
|
want to read up on if anything is unclear.
|
53
53
|
|
54
54
|
¹ See http://travis-ci.org/
|
55
|
-
² See http://disu.se/software/inventory/api/
|
55
|
+
² See http://disu.se/software/inventory-rake-1.0/api/Inventory/Rake/
|
56
56
|
|
57
57
|
§ Tasks
|
58
58
|
|
@@ -121,7 +121,7 @@
|
|
121
121
|
donation to now@disu.se¹. Thanks! Your support won’t go unnoticed!
|
122
122
|
|
123
123
|
¹ Send a donation:
|
124
|
-
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=now
|
124
|
+
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=now@disu.se&item_name=Inventory-Rake
|
125
125
|
|
126
126
|
§ Reporting Bugs
|
127
127
|
|
@@ -133,3 +133,13 @@
|
|
133
133
|
|
134
134
|
Nikolai Weibull wrote the code, the tests, the manual pages, and this
|
135
135
|
README.
|
136
|
+
|
137
|
+
§ Licensing
|
138
|
+
|
139
|
+
Inventory-Rake is free software: you may redistribute it and/or modify it
|
140
|
+
under the terms of the {GNU Lesser General Public License, version 3}¹ or
|
141
|
+
later², as published by the {Free Software Foundation}³.
|
142
|
+
|
143
|
+
¹ See http://disu.se/licenses/lgpl-3.0/
|
144
|
+
² See http://gnu.org/licenses/
|
145
|
+
³ See http://fsf.org/
|
data/lib/inventory-rake-1.0.rb
CHANGED
@@ -198,7 +198,10 @@ class Inventory::Rake::Tasks::Gem
|
|
198
198
|
require 'rubygems' unless defined? Gem
|
199
199
|
require 'rubygems/dependency_installer' unless defined? Gem::DependencyInstaller
|
200
200
|
@specification.dependencies.each do |dependency|
|
201
|
-
|
201
|
+
next unless Gem::Dependency.new(dependency.name,
|
202
|
+
dependency.requirement).matching_specs.empty?
|
203
|
+
rake_output_message "gem install %s -v '%s'" %
|
204
|
+
[dependency.name, dependency.requirement] if verbose
|
202
205
|
Gem::DependencyInstaller.new.install dependency.name, dependency.requirement
|
203
206
|
end
|
204
207
|
end
|
@@ -212,6 +215,8 @@ class Inventory::Rake::Tasks::Gem
|
|
212
215
|
require 'rubygems' unless defined? Gem
|
213
216
|
require 'rubygems/dependency_installer' unless defined? Gem::DependencyInstaller
|
214
217
|
@specification.dependencies.each do |dependency|
|
218
|
+
next unless Gem::Dependency.new(dependency.name,
|
219
|
+
dependency.requirement).matching_specs.empty?
|
215
220
|
rake_output_message "gem install --user-install --bindir %s %s -v '%s'" %
|
216
221
|
[Gem.bindir(Gem.user_dir), dependency.name, dependency.requirement] if verbose
|
217
222
|
Gem::DependencyInstaller.
|
@@ -3,12 +3,12 @@
|
|
3
3
|
require 'inventory-1.0'
|
4
4
|
|
5
5
|
module Inventory::Rake
|
6
|
-
Version = Inventory.new(1, 6,
|
6
|
+
Version = Inventory.new(1, 6, 3){
|
7
7
|
authors{
|
8
8
|
author 'Nikolai Weibull', 'now@disu.se'
|
9
9
|
}
|
10
10
|
|
11
|
-
homepage 'http://disu.se/software/inventory-rake'
|
11
|
+
homepage 'http://disu.se/software/inventory-rake-1.0/'
|
12
12
|
|
13
13
|
licenses{
|
14
14
|
license 'LGPLv3+',
|
@@ -22,7 +22,7 @@ module Inventory::Rake
|
|
22
22
|
development 'lookout', 3, 0, 0
|
23
23
|
development 'lookout-rake', 3, 1, 0
|
24
24
|
development 'yard', 0, 8, 0
|
25
|
-
development 'yard-heuristics', 1,
|
25
|
+
development 'yard-heuristics', 1, 2, 0
|
26
26
|
runtime 'rake', 10, 0, 0, :feature => 'rake'
|
27
27
|
}
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inventory-rake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nikolai Weibull
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inventory
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - ~>
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '1.
|
89
|
+
version: '1.2'
|
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: '1.
|
96
|
+
version: '1.2'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rake
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -111,23 +111,23 @@ dependencies:
|
|
111
111
|
description: |2
|
112
112
|
Inventory-Rake
|
113
113
|
|
114
|
-
Inventory-Rake provides Rake
|
114
|
+
Inventory-Rake provides Rake¹ tasks for your Inventory². This includes tasks
|
115
115
|
for cleaning up our project, compiling extensions, installing dependencies,
|
116
116
|
installing and uninstalling the project itself, and creating and pushing
|
117
117
|
distribution files to distribution points.
|
118
118
|
|
119
|
-
|
120
|
-
|
119
|
+
¹ See http://rake.rubyforge.org/
|
120
|
+
² See http://disu.se/software/inventory-1.0/
|
121
121
|
|
122
|
-
|
122
|
+
§ Installation
|
123
123
|
|
124
124
|
Install Inventory-Rake with
|
125
125
|
|
126
126
|
% gem install inventory-rake
|
127
127
|
|
128
|
-
|
128
|
+
§ Usage
|
129
129
|
|
130
|
-
Include the following code in your
|
130
|
+
Include the following code in your ‹Rakefile›, where ‹Package› is the
|
131
131
|
top-level module of your project:
|
132
132
|
|
133
133
|
require 'inventory-rake-3.0'
|
@@ -137,10 +137,10 @@ description: |2
|
|
137
137
|
Inventory::Rake::Tasks.define Package::Version
|
138
138
|
|
139
139
|
Inventory::Rake::Tasks.unless_installing_dependencies do
|
140
|
-
# Any additional tasks that your project
|
140
|
+
# Any additional tasks that your project’s dependencies provide
|
141
141
|
end
|
142
142
|
|
143
|
-
|
143
|
+
‹Inventory::Rake::Tasks.define› does the heavy lifting. It takes our
|
144
144
|
inventory and sets up the tasks mentioned above. We also do some
|
145
145
|
additional customization of the gem specification.
|
146
146
|
|
@@ -149,23 +149,23 @@ description: |2
|
|
149
149
|
#unless_installing_dependencies, which, as the name certainly implies,
|
150
150
|
executes its block unless the task being run is the one that installs our
|
151
151
|
dependencies. This becomes relevant if we want to, for example, set up
|
152
|
-
Travis
|
152
|
+
Travis¹ integration. To do so, simply add
|
153
153
|
|
154
154
|
before_script:
|
155
155
|
- gem install inventory-rake -v '~> VERSION' --no-rdoc --no-ri
|
156
156
|
- rake gem:deps:install
|
157
157
|
|
158
|
-
to your
|
159
|
-
development, runtime, and optional dependencies that you
|
158
|
+
to your ‹.travis.yml› file. This’ll make sure that Travis installs all
|
159
|
+
development, runtime, and optional dependencies that you’ve listed in your
|
160
160
|
inventory before running any tests.
|
161
161
|
|
162
|
-
There
|
162
|
+
There’s more information in the {API documentation}² that you’ll likely
|
163
163
|
want to read up on if anything is unclear.
|
164
164
|
|
165
|
-
|
166
|
-
|
165
|
+
¹ See http://travis-ci.org/
|
166
|
+
² See http://disu.se/software/inventory-rake-1.0/api/Inventory/Rake/
|
167
167
|
|
168
|
-
|
168
|
+
§ Tasks
|
169
169
|
|
170
170
|
The tasks that are created if you use Inventory-Rake are:
|
171
171
|
|
@@ -183,7 +183,7 @@ description: |2
|
|
183
183
|
= ext/name/Makefile. = Makefile for extension /name/; depends on inventory
|
184
184
|
path, ext/name/extconf.rb file, and ext/name/depend file. Will be
|
185
185
|
created by extconf.rb, which may take options from environment variable
|
186
|
-
name#upcase_EXTCONF_OPTIONS or
|
186
|
+
name#upcase_EXTCONF_OPTIONS or ‹EXTCONF_OPTIONS› if defined.
|
187
187
|
= clean:name. = Clean files built for extension /name/; depended upon by
|
188
188
|
clean.
|
189
189
|
= spec. = Create specifications; depends on gem:spec.
|
@@ -195,7 +195,7 @@ description: |2
|
|
195
195
|
file.
|
196
196
|
= inventory:check. = Check that the inventory is correct by looking for files
|
197
197
|
not listed in the inventory that match the pattern and for files listed
|
198
|
-
in the inventory that don
|
198
|
+
in the inventory that don’t exist; depends on distclean.
|
199
199
|
= gem (file). = Gem file; depends on files included in gem.
|
200
200
|
= dist:check. = Check files before distribution; depends on dist and
|
201
201
|
gem:dist:check.
|
@@ -219,7 +219,7 @@ description: |2
|
|
219
219
|
= push. = Push distribution files to distribution hubs.
|
220
220
|
= gem:push. = Push gem to rubygems.org.
|
221
221
|
|
222
|
-
|
222
|
+
§ Financing
|
223
223
|
|
224
224
|
Currently, most of my time is spent at my day job and in my rather busy
|
225
225
|
private life. Please motivate me to spend time on this piece of software
|
@@ -229,21 +229,31 @@ description: |2
|
|
229
229
|
to have other people give me the things that I need to continue living
|
230
230
|
under the rules of said society. So, if you feel that this piece of
|
231
231
|
software has helped you out enough to warrant a reward, please PayPal a
|
232
|
-
donation to now@disu.se
|
232
|
+
donation to now@disu.se¹. Thanks! Your support won’t go unnoticed!
|
233
233
|
|
234
|
-
|
235
|
-
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=now
|
234
|
+
¹ Send a donation:
|
235
|
+
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=now@disu.se&item_name=Inventory-Rake
|
236
236
|
|
237
|
-
|
237
|
+
§ Reporting Bugs
|
238
238
|
|
239
|
-
Please report any bugs that you encounter to the {issue tracker}
|
239
|
+
Please report any bugs that you encounter to the {issue tracker}¹.
|
240
240
|
|
241
|
-
|
241
|
+
¹ See https://github.com/now/inventory-rake/issues
|
242
242
|
|
243
|
-
|
243
|
+
§ Authors
|
244
244
|
|
245
245
|
Nikolai Weibull wrote the code, the tests, the manual pages, and this
|
246
246
|
README.
|
247
|
+
|
248
|
+
§ Licensing
|
249
|
+
|
250
|
+
Inventory-Rake is free software: you may redistribute it and/or modify it
|
251
|
+
under the terms of the {GNU Lesser General Public License, version 3}¹ or
|
252
|
+
later², as published by the {Free Software Foundation}³.
|
253
|
+
|
254
|
+
¹ See http://disu.se/licenses/lgpl-3.0/
|
255
|
+
² See http://gnu.org/licenses/
|
256
|
+
³ See http://fsf.org/
|
247
257
|
email:
|
248
258
|
- now@disu.se
|
249
259
|
executables: []
|
@@ -269,7 +279,7 @@ files:
|
|
269
279
|
- test/unit/inventory-rake-1.0/version.rb
|
270
280
|
- README
|
271
281
|
- Rakefile
|
272
|
-
homepage: http://disu.se/software/inventory-rake
|
282
|
+
homepage: http://disu.se/software/inventory-rake-1.0/
|
273
283
|
licenses:
|
274
284
|
- LGPLv3+
|
275
285
|
metadata: {}
|
@@ -289,8 +299,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
289
299
|
version: '0'
|
290
300
|
requirements: []
|
291
301
|
rubyforge_project:
|
292
|
-
rubygems_version: 2.0.
|
302
|
+
rubygems_version: 2.0.14
|
293
303
|
signing_key:
|
294
304
|
specification_version: 4
|
295
|
-
summary: Inventory-Rake provides Rake
|
305
|
+
summary: Inventory-Rake provides Rake¹ tasks for your Inventory².
|
296
306
|
test_files: []
|