arr-pm 0.0.6 → 0.0.7

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.
Files changed (3) hide show
  1. data/arr-pm.gemspec +1 -1
  2. data/lib/arr-pm/file.rb +2 -2
  3. metadata +2 -2
@@ -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.6"
5
+ spec.version = "0.0.7"
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 " \
@@ -158,14 +158,14 @@ class RPM::File
158
158
  #
159
159
  # @return Array of [ [name, operator, version], ... ]
160
160
  def conflicts
161
- return relation(:conflicts)
161
+ return relation(:conflict)
162
162
  end # def conflicts
163
163
 
164
164
  # Get an array of provides defined in this package.
165
165
  #
166
166
  # @return Array of [ [name, operator, version], ... ]
167
167
  def provides
168
- return relation(:provides)
168
+ return relation(:provide)
169
169
  end # def provides
170
170
 
171
171
  # Get an array of config files
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.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-15 00:00:00.000000000 Z
12
+ date: 2012-03-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cabin