arr-pm 0.0.2 → 0.0.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/{rpm.gemspec → arr-pm.gemspec} +1 -1
- data/lib/arr-pm.rb +1 -1
- data/lib/arr-pm/file.rb +2 -2
- metadata +4 -4
|
@@ -2,7 +2,7 @@ Gem::Specification.new do |spec|
|
|
|
2
2
|
files = %x{git ls-files}.split("\n")
|
|
3
3
|
|
|
4
4
|
spec.name = "arr-pm"
|
|
5
|
-
spec.version = "0.0.
|
|
5
|
+
spec.version = "0.0.3"
|
|
6
6
|
spec.summary = "RPM reader and writer library"
|
|
7
7
|
spec.description = "This library allows to you to read and write rpm " \
|
|
8
8
|
"packages. Written in pure ruby because librpm is not available " \
|
data/lib/arr-pm.rb
CHANGED
data/lib/arr-pm/file.rb
CHANGED
|
@@ -136,9 +136,9 @@ class RPM::File
|
|
|
136
136
|
end
|
|
137
137
|
return "=" if have.call(FLAG_EQUAL)
|
|
138
138
|
return "<=" if have.call(FLAG_LESS | FLAG_EQUAL)
|
|
139
|
-
return "
|
|
139
|
+
return "<" if have.call(FLAG_LESS)
|
|
140
140
|
return ">=" if have.call(FLAG_GREATER | FLAG_EQUAL)
|
|
141
|
-
return "
|
|
141
|
+
return ">" if have.call(FLAG_GREATER)
|
|
142
142
|
end # def operator
|
|
143
143
|
|
|
144
144
|
public(:extract, :payload, :header, :lead, :signature, :initialize, :requires)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: arr-pm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -13,7 +13,7 @@ date: 2012-03-08 00:00:00.000000000 Z
|
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: cabin
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &15593320 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>'
|
|
@@ -21,7 +21,7 @@ dependencies:
|
|
|
21
21
|
version: '0'
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *15593320
|
|
25
25
|
description: This library allows to you to read and write rpm packages. Written in
|
|
26
26
|
pure ruby because librpm is not available on all systems
|
|
27
27
|
email:
|
|
@@ -36,6 +36,7 @@ files:
|
|
|
36
36
|
- LICENSE
|
|
37
37
|
- Makefile
|
|
38
38
|
- README.md
|
|
39
|
+
- arr-pm.gemspec
|
|
39
40
|
- header-verify.rb
|
|
40
41
|
- lib/arr-pm.rb
|
|
41
42
|
- lib/arr-pm/conflicts.rb
|
|
@@ -47,7 +48,6 @@ files:
|
|
|
47
48
|
- lib/arr-pm/requires.rb
|
|
48
49
|
- notify-failure.sh
|
|
49
50
|
- printrpm.rb
|
|
50
|
-
- rpm.gemspec
|
|
51
51
|
- test/all.rb
|
|
52
52
|
- test/docs.rb
|
|
53
53
|
- test/testing.rb
|