yumrepo 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/lib/yumrepo.rb +2 -2
  3. data/yumrepo.gemspec +1 -1
  4. metadata +80 -53
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: fdcaf4b23046ce9df86309d444a62b162619d1fbb63d9823a45095c0726e9183
4
+ data.tar.gz: d52417fd33fb530cc893a100582422bdffd9858152d98203c3574b330cc4d6eb
5
+ SHA512:
6
+ metadata.gz: 87c352e1d5c8be7d3eeeebe457263274731c534223dff458d29f8ed99c272c47918f2c38e22d85800759d0ed12691cb4c93ffe9b589d606bb8471272edeaaf2d
7
+ data.tar.gz: 0e2aa4fe1ac69fcd8bd1390f9cd61a72ba575ff60608486c4f7a63e1449be7f8bcdab95a63fe29f8b3fdbdf072e1554e365246a9b48c10c9d25cf3f5bfa07bfe
data/lib/yumrepo.rb CHANGED
@@ -91,7 +91,7 @@ module YumRepo
91
91
  f = open @repomd_file
92
92
  else
93
93
  @settings.log.debug "Fetching repomd.xml from #{@url}"
94
- f = open "#{@url}/repodata/repomd.xml"
94
+ f = URI.open "#{@url}/repodata/repomd.xml"
95
95
  if @settings.cache_enabled
96
96
  FileUtils.mkdir_p File.join(@settings.cache_path, @url_digest)
97
97
  @settings.log.debug "Caching repomd.xml for #{@url} at #{@repomd_file}"
@@ -173,7 +173,7 @@ module YumRepo
173
173
 
174
174
  f.binmode
175
175
  @settings.log.debug "Caching #{filename} for #{data_url} at #{f.path}"
176
- f.puts open(data_url).read
176
+ f.puts URI.open(data_url).read
177
177
  f.pos = 0
178
178
  return f
179
179
  end
data/yumrepo.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "yumrepo"
8
- s.version = "0.2.1"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Sergio Rubio"]
metadata CHANGED
@@ -1,126 +1,155 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yumrepo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
5
- prerelease:
4
+ version: 0.2.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Sergio Rubio
9
- autorequire:
8
+ autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
11
  date: 2012-01-04 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: nokogiri
16
- requirement: &23700700 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: 1.5.0
22
20
  type: :development
23
21
  prerelease: false
24
- version_requirements: *23700700
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 1.5.0
25
27
  - !ruby/object:Gem::Dependency
26
28
  name: bundler
27
- requirement: &23698180 !ruby/object:Gem::Requirement
28
- none: false
29
+ requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
- - - ~>
31
+ - - "~>"
31
32
  - !ruby/object:Gem::Version
32
33
  version: 1.0.0
33
34
  type: :development
34
35
  prerelease: false
35
- version_requirements: *23698180
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 1.0.0
36
41
  - !ruby/object:Gem::Dependency
37
42
  name: jeweler
38
- requirement: &23696620 !ruby/object:Gem::Requirement
39
- none: false
43
+ requirement: !ruby/object:Gem::Requirement
40
44
  requirements:
41
- - - ~>
45
+ - - "~>"
42
46
  - !ruby/object:Gem::Version
43
47
  version: 1.5.2
44
48
  type: :development
45
49
  prerelease: false
46
- version_requirements: *23696620
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 1.5.2
47
55
  - !ruby/object:Gem::Dependency
48
56
  name: i18n
49
- requirement: &23693060 !ruby/object:Gem::Requirement
50
- none: false
57
+ requirement: !ruby/object:Gem::Requirement
51
58
  requirements:
52
- - - ! '>='
59
+ - - ">="
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
62
  type: :development
56
63
  prerelease: false
57
- version_requirements: *23693060
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
58
69
  - !ruby/object:Gem::Dependency
59
70
  name: active_support
60
- requirement: &23692100 !ruby/object:Gem::Requirement
61
- none: false
71
+ requirement: !ruby/object:Gem::Requirement
62
72
  requirements:
63
- - - ! '>='
73
+ - - ">="
64
74
  - !ruby/object:Gem::Version
65
75
  version: '0'
66
76
  type: :development
67
77
  prerelease: false
68
- version_requirements: *23692100
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: guard
71
- requirement: &23691400 !ruby/object:Gem::Requirement
72
- none: false
85
+ requirement: !ruby/object:Gem::Requirement
73
86
  requirements:
74
- - - ! '>='
87
+ - - ">="
75
88
  - !ruby/object:Gem::Version
76
89
  version: '0'
77
90
  type: :development
78
91
  prerelease: false
79
- version_requirements: *23691400
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
80
97
  - !ruby/object:Gem::Dependency
81
98
  name: nokogiri
82
- requirement: &23690340 !ruby/object:Gem::Requirement
83
- none: false
99
+ requirement: !ruby/object:Gem::Requirement
84
100
  requirements:
85
- - - ! '>='
101
+ - - ">="
86
102
  - !ruby/object:Gem::Version
87
103
  version: '0'
88
104
  type: :runtime
89
105
  prerelease: false
90
- version_requirements: *23690340
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
91
111
  - !ruby/object:Gem::Dependency
92
112
  name: rspec
93
- requirement: &23689520 !ruby/object:Gem::Requirement
94
- none: false
113
+ requirement: !ruby/object:Gem::Requirement
95
114
  requirements:
96
- - - ! '>='
115
+ - - ">="
97
116
  - !ruby/object:Gem::Version
98
117
  version: '0'
99
118
  type: :development
100
119
  prerelease: false
101
- version_requirements: *23689520
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
102
125
  - !ruby/object:Gem::Dependency
103
126
  name: simplecov
104
- requirement: &23688660 !ruby/object:Gem::Requirement
105
- none: false
127
+ requirement: !ruby/object:Gem::Requirement
106
128
  requirements:
107
- - - ! '>='
129
+ - - ">="
108
130
  - !ruby/object:Gem::Version
109
131
  version: '0'
110
132
  type: :development
111
133
  prerelease: false
112
- version_requirements: *23688660
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
113
139
  - !ruby/object:Gem::Dependency
114
140
  name: fakeweb
115
- requirement: &23688000 !ruby/object:Gem::Requirement
116
- none: false
141
+ requirement: !ruby/object:Gem::Requirement
117
142
  requirements:
118
- - - ! '>='
143
+ - - ">="
119
144
  - !ruby/object:Gem::Version
120
145
  version: '0'
121
146
  type: :development
122
147
  prerelease: false
123
- version_requirements: *23688000
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
124
153
  description: YUM Repository Metadata handling library
125
154
  email: rubiojr@frameos.org
126
155
  executables: []
@@ -129,8 +158,8 @@ extra_rdoc_files:
129
158
  - LICENSE.txt
130
159
  - README.md
131
160
  files:
132
- - .document
133
- - .rspec
161
+ - ".document"
162
+ - ".rspec"
134
163
  - Changelog
135
164
  - Gemfile
136
165
  - Gemfile.lock
@@ -149,26 +178,24 @@ files:
149
178
  homepage: http://github.com/rubiojr/yumrepo
150
179
  licenses:
151
180
  - MIT
152
- post_install_message:
181
+ metadata: {}
182
+ post_install_message:
153
183
  rdoc_options: []
154
184
  require_paths:
155
185
  - lib
156
186
  required_ruby_version: !ruby/object:Gem::Requirement
157
- none: false
158
187
  requirements:
159
- - - ! '>='
188
+ - - ">="
160
189
  - !ruby/object:Gem::Version
161
190
  version: '0'
162
191
  required_rubygems_version: !ruby/object:Gem::Requirement
163
- none: false
164
192
  requirements:
165
- - - ! '>='
193
+ - - ">="
166
194
  - !ruby/object:Gem::Version
167
195
  version: '0'
168
196
  requirements: []
169
- rubyforge_project:
170
- rubygems_version: 1.8.10
171
- signing_key:
197
+ rubygems_version: 3.1.4
198
+ signing_key:
172
199
  specification_version: 3
173
200
  summary: YUM Repository Metadata handling library
174
201
  test_files: []