inventory 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/inventory.rb +1 -1
- data/lib/inventory/version.rb +1 -1
- metadata +2 -2
data/lib/inventory.rb
CHANGED
|
@@ -10,7 +10,7 @@ class Inventory
|
|
|
10
10
|
@srcdir, _, @package_require = File.dirname(File.expand_path(path)).rpartition('/lib/')
|
|
11
11
|
raise ArgumentError,
|
|
12
12
|
'path is not of the form PATH/lib/PACKAGE/version.rb: %s' % path if
|
|
13
|
-
@
|
|
13
|
+
@srcdir.empty?
|
|
14
14
|
instance_exec(&block) if block
|
|
15
15
|
end
|
|
16
16
|
|
data/lib/inventory/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: inventory
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-03-
|
|
12
|
+
date: 2012-03-19 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: ! " Inventory\n\n Inventory allows
|
|
15
15
|
you to create inventories of your Ruby projects. These\n inventories can then
|