librarian-puppet-maestrodev 0.9.8.1 → 0.9.9.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,8 @@ require 'uri'
2
2
  require 'net/https'
3
3
  require 'json'
4
4
 
5
+ require 'librarian/puppet/version'
6
+
5
7
  module Librarian
6
8
  module Puppet
7
9
  module Source
@@ -118,6 +120,10 @@ module Librarian
118
120
  http.use_ssl = true
119
121
  http.verify_mode = OpenSSL::SSL::VERIFY_NONE
120
122
  request = Net::HTTP::Get.new(uri.request_uri)
123
+
124
+ request.add_field "User-Agent",
125
+ "librarian-puppet v#{Librarian::Puppet::VERSION}"
126
+
121
127
  resp = http.request(request)
122
128
  if resp.code.to_i != 200
123
129
  nil
@@ -1,5 +1,5 @@
1
1
  module Librarian
2
2
  module Puppet
3
- VERSION = "0.9.8.1"
3
+ VERSION = "0.9.9.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,137 +1,107 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: librarian-puppet-maestrodev
3
- version: !ruby/object:Gem::Version
4
- version: 0.9.8.1
3
+ version: !ruby/object:Gem::Version
5
4
  prerelease:
5
+ version: 0.9.9.1
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Tim Sharpe
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-19 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
12
+
13
+ date: 2013-05-02 00:00:00 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
15
16
  name: librarian
16
- requirement: !ruby/object:Gem::Requirement
17
+ requirement: &id001 !ruby/object:Gem::Requirement
17
18
  none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
19
+ requirements:
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
21
22
  version: 0.1.0
22
23
  type: :runtime
23
24
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: 0.1.0
30
- - !ruby/object:Gem::Dependency
25
+ version_requirements: *id001
26
+ - !ruby/object:Gem::Dependency
31
27
  name: thor
32
- requirement: !ruby/object:Gem::Requirement
28
+ requirement: &id002 !ruby/object:Gem::Requirement
33
29
  none: false
34
- requirements:
30
+ requirements:
35
31
  - - ~>
36
- - !ruby/object:Gem::Version
37
- version: '0.15'
32
+ - !ruby/object:Gem::Version
33
+ version: "0.15"
38
34
  type: :runtime
39
35
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ~>
44
- - !ruby/object:Gem::Version
45
- version: '0.15'
46
- - !ruby/object:Gem::Dependency
36
+ version_requirements: *id002
37
+ - !ruby/object:Gem::Dependency
47
38
  name: json
48
- requirement: !ruby/object:Gem::Requirement
39
+ requirement: &id003 !ruby/object:Gem::Requirement
49
40
  none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: '0'
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: "0"
54
45
  type: :runtime
55
46
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- - !ruby/object:Gem::Dependency
47
+ version_requirements: *id003
48
+ - !ruby/object:Gem::Dependency
63
49
  name: rake
64
- requirement: !ruby/object:Gem::Requirement
50
+ requirement: &id004 !ruby/object:Gem::Requirement
65
51
  none: false
66
- requirements:
67
- - - ! '>='
68
- - !ruby/object:Gem::Version
69
- version: '0'
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: "0"
70
56
  type: :development
71
57
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: '0'
78
- - !ruby/object:Gem::Dependency
58
+ version_requirements: *id004
59
+ - !ruby/object:Gem::Dependency
79
60
  name: rspec
80
- requirement: !ruby/object:Gem::Requirement
61
+ requirement: &id005 !ruby/object:Gem::Requirement
81
62
  none: false
82
- requirements:
83
- - - ! '>='
84
- - !ruby/object:Gem::Version
85
- version: '0'
63
+ requirements:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: "0"
86
67
  type: :development
87
68
  prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ! '>='
92
- - !ruby/object:Gem::Version
93
- version: '0'
94
- - !ruby/object:Gem::Dependency
69
+ version_requirements: *id005
70
+ - !ruby/object:Gem::Dependency
95
71
  name: cucumber
96
- requirement: !ruby/object:Gem::Requirement
72
+ requirement: &id006 !ruby/object:Gem::Requirement
97
73
  none: false
98
- requirements:
99
- - - ! '>='
100
- - !ruby/object:Gem::Version
101
- version: '0'
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: "0"
102
78
  type: :development
103
79
  prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ! '>='
108
- - !ruby/object:Gem::Version
109
- version: '0'
110
- - !ruby/object:Gem::Dependency
80
+ version_requirements: *id006
81
+ - !ruby/object:Gem::Dependency
111
82
  name: aruba
112
- requirement: !ruby/object:Gem::Requirement
83
+ requirement: &id007 !ruby/object:Gem::Requirement
113
84
  none: false
114
- requirements:
115
- - - ! '>='
116
- - !ruby/object:Gem::Version
117
- version: '0'
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: "0"
118
89
  type: :development
119
90
  prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ! '>='
124
- - !ruby/object:Gem::Version
125
- version: '0'
126
- description: ! "Simplify deployment of your Puppet infrastructure by\n automatically
127
- pulling in modules from the forge and git repositories with\n a single command."
128
- email:
91
+ version_requirements: *id007
92
+ description: |-
93
+ Simplify deployment of your Puppet infrastructure by
94
+ automatically pulling in modules from the forge and git repositories with
95
+ a single command.
96
+ email:
129
97
  - tim@sharpe.id.au
130
- executables:
98
+ executables:
131
99
  - librarian-puppet
132
100
  extensions: []
101
+
133
102
  extra_rdoc_files: []
134
- files:
103
+
104
+ files:
135
105
  - .gitignore
136
106
  - LICENSE
137
107
  - README.md
@@ -153,32 +123,36 @@ files:
153
123
  - lib/librarian/puppet/source/local.rb
154
124
  homepage: https://github.com/rodjek/librarian-puppet
155
125
  licenses: []
126
+
156
127
  post_install_message:
157
128
  rdoc_options: []
158
- require_paths:
129
+
130
+ require_paths:
159
131
  - lib
160
- required_ruby_version: !ruby/object:Gem::Requirement
132
+ required_ruby_version: !ruby/object:Gem::Requirement
161
133
  none: false
162
- requirements:
163
- - - ! '>='
164
- - !ruby/object:Gem::Version
165
- version: '0'
166
- segments:
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ hash: 286545709670238438
138
+ segments:
167
139
  - 0
168
- hash: -4235040129931372868
169
- required_rubygems_version: !ruby/object:Gem::Requirement
140
+ version: "0"
141
+ required_rubygems_version: !ruby/object:Gem::Requirement
170
142
  none: false
171
- requirements:
172
- - - ! '>='
173
- - !ruby/object:Gem::Version
174
- version: '0'
175
- segments:
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ hash: 286545709670238438
147
+ segments:
176
148
  - 0
177
- hash: -4235040129931372868
149
+ version: "0"
178
150
  requirements: []
151
+
179
152
  rubyforge_project:
180
153
  rubygems_version: 1.8.25
181
154
  signing_key:
182
155
  specification_version: 3
183
156
  summary: Bundler for your Puppet modules
184
157
  test_files: []
158
+