librarian 0.0.18 → 0.0.19

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.8.7
4
+ - 1.9.2
5
+ - 1.9.3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.0.19
4
+
5
+ * Fix breakage on 1.8.
6
+
3
7
  ## 0.0.18
4
8
 
5
9
  * \#57. Include existing manifests' dependencies in resolution.
@@ -18,9 +18,9 @@ module Librarian
18
18
  end
19
19
 
20
20
  def resolve(dependencies, manifests = {})
21
- dependencies += manifests.values.flat_map { |m|
21
+ dependencies += manifests.values.map { |m|
22
22
  m.dependencies.map { |d| sourced_dependency_for(d) }
23
- }
23
+ }.flatten(1)
24
24
  resolution = recursive_resolve([], manifests, dependencies)
25
25
  resolution ? resolution[1] : nil
26
26
  end
@@ -1,3 +1,3 @@
1
1
  module Librarian
2
- VERSION = "0.0.18"
2
+ VERSION = "0.0.19"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: librarian
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-22 00:00:00.000000000 Z
12
+ date: 2012-04-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
16
- requirement: &7834440 !ruby/object:Gem::Requirement
16
+ requirement: &17103480 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *7834440
24
+ version_requirements: *17103480
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &7834020 !ruby/object:Gem::Requirement
27
+ requirement: &17102880 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *7834020
35
+ version_requirements: *17102880
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &7833580 !ruby/object:Gem::Requirement
38
+ requirement: &17102340 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *7833580
46
+ version_requirements: *17102340
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: cucumber
49
- requirement: &7833160 !ruby/object:Gem::Requirement
49
+ requirement: &17101920 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *7833160
57
+ version_requirements: *17101920
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: aruba
60
- requirement: &7832740 !ruby/object:Gem::Requirement
60
+ requirement: &17101500 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *7832740
68
+ version_requirements: *17101500
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: webmock
71
- requirement: &7832280 !ruby/object:Gem::Requirement
71
+ requirement: &17101040 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *7832280
79
+ version_requirements: *17101040
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: chef
82
- requirement: &7831760 !ruby/object:Gem::Requirement
82
+ requirement: &17100520 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '0.10'
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *7831760
90
+ version_requirements: *17100520
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: highline
93
- requirement: &7864260 !ruby/object:Gem::Requirement
93
+ requirement: &17100100 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: '0'
99
99
  type: :runtime
100
100
  prerelease: false
101
- version_requirements: *7864260
101
+ version_requirements: *17100100
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: archive-tar-minitar
104
- requirement: &7863700 !ruby/object:Gem::Requirement
104
+ requirement: &17099560 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ! '>='
@@ -109,7 +109,7 @@ dependencies:
109
109
  version: 0.5.2
110
110
  type: :runtime
111
111
  prerelease: false
112
- version_requirements: *7863700
112
+ version_requirements: *17099560
113
113
  description: Librarian
114
114
  email:
115
115
  - y_feldblum@yahoo.com
@@ -121,6 +121,7 @@ extra_rdoc_files: []
121
121
  files:
122
122
  - .gitignore
123
123
  - .rspec
124
+ - .travis.yml
124
125
  - CHANGELOG.md
125
126
  - Gemfile
126
127
  - MIT-LICENSE