inventory 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -4,11 +4,14 @@ $:.unshift File.expand_path('../lib', __FILE__)
4
4
  require 'inventory-1.0'
5
5
 
6
6
  require 'inventory/rake-1.0'
7
- require 'lookout/rake-3.0'
8
7
 
9
8
  Inventory::Rake::Tasks.define Inventory::Version, :gem => proc{ |_, s|
10
9
  s.author = 'Nikolai Weibull'
11
10
  s.email = 'now@bitwi.se'
12
11
  s.homepage = 'https://github.com/now/inventory'
13
12
  }
14
- Lookout::Rake::Tasks::Test.new
13
+
14
+ if (%w'gem:deps:install gem:deps:install:user' & Rake.application.top_level_tasks).empty?
15
+ require 'lookout/rake-3.0'
16
+ Lookout::Rake::Tasks::Test.new
17
+ end
@@ -11,7 +11,7 @@ module Inventory::Dependency
11
11
  end
12
12
 
13
13
  def feature
14
- '%s-%d.0' % [name, major]
14
+ '%s-%d.0' % [name.gsub('-', '/'), major]
15
15
  end
16
16
 
17
17
  def require
@@ -1,9 +1,10 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
  class Inventory
4
- Version = Inventory.new(1, 2, 2){
4
+ Version = Inventory.new(1, 2, 3){
5
5
  def dependencies
6
6
  Dependencies.new{
7
+ development 'inventory-rake', 1, 3, 0
7
8
  development 'lookout', 3, 0, 0
8
9
  development 'lookout-rake', 3, 0, 0
9
10
  development 'yard', 0, 7, 0
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: 1.2.2
4
+ version: 1.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-26 00:00:00.000000000 Z
12
+ date: 2012-04-27 00:00:00.000000000 Z
13
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: inventory-rake
16
+ requirement: &4277352 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '1.3'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: *4277352
14
25
  - !ruby/object:Gem::Dependency
15
26
  name: lookout
16
- requirement: &15170700 !ruby/object:Gem::Requirement
27
+ requirement: &4276908 !ruby/object:Gem::Requirement
17
28
  none: false
18
29
  requirements:
19
30
  - - ~>
@@ -21,10 +32,10 @@ dependencies:
21
32
  version: '3.0'
22
33
  type: :development
23
34
  prerelease: false
24
- version_requirements: *15170700
35
+ version_requirements: *4276908
25
36
  - !ruby/object:Gem::Dependency
26
37
  name: lookout-rake
27
- requirement: &15169428 !ruby/object:Gem::Requirement
38
+ requirement: &4292616 !ruby/object:Gem::Requirement
28
39
  none: false
29
40
  requirements:
30
41
  - - ~>
@@ -32,10 +43,10 @@ dependencies:
32
43
  version: '3.0'
33
44
  type: :development
34
45
  prerelease: false
35
- version_requirements: *15169428
46
+ version_requirements: *4292616
36
47
  - !ruby/object:Gem::Dependency
37
48
  name: yard
38
- requirement: &15168468 !ruby/object:Gem::Requirement
49
+ requirement: &4292196 !ruby/object:Gem::Requirement
39
50
  none: false
40
51
  requirements:
41
52
  - - ~>
@@ -43,7 +54,7 @@ dependencies:
43
54
  version: 0.7.0
44
55
  type: :development
45
56
  prerelease: false
46
- version_requirements: *15168468
57
+ version_requirements: *4292196
47
58
  description: ! " Inventory\n\n Inventory allows
48
59
  you to create inventories of your Ruby projects. These\n inventories can then
49
60
  be used to load the project, create gem specifications\n and gems, run unit tests,