PAPI 1.0.0 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 0b38abf3baa30222434638a5b1af0cba8f664c47
4
- data.tar.gz: '079eda46c077084117750f9815221c32c5dcf9b4'
2
+ SHA256:
3
+ metadata.gz: 720b9760c7280caf467d3bdf3348f79e0ef4eabad3ed666e4c41c210a97bbf6b
4
+ data.tar.gz: 44f565d96f5bde668ac52022d3dbdb4f2d437801ee907308ca22021ed551c045
5
5
  SHA512:
6
- metadata.gz: 953f9b8ec70eff81cea4ccf5b7acb1d79ce79371d9c7f7af41fc7a4507dcefa6b3590fe8dda3589a4cee6b7aeb6e1b0dec1dc49d134c4f89363ace64f277562c
7
- data.tar.gz: 31499b71710ba897b09c45fe8f6a852bebc80ede2b1b9ccfd8a65903eec7482568e90af9a1679a39e1d068cb613e00933c6f9118ef2522457567adf7edce0dff
6
+ metadata.gz: 01ab792d4d7bb757976e1a9ed25bd318ab7c7070f84c23b1402cf676db050e096aabea1db72f863fb6d587dd78d6a092578c325971bea4150723ba8aafaae480
7
+ data.tar.gz: a1b199fdb5f3c1d603304330aefe6d51e788ef9585e52422d927754be1946d789ab2dd0fc45769393be6c20f24060ece9935e4695bc5bead07e4ba03e123deb4
data/PAPI.gemspec CHANGED
@@ -1,13 +1,12 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'PAPI'
3
- s.version = "1.0.0"
3
+ s.version = "1.0.2"
4
4
  s.author = "Brice Videau"
5
5
  s.email = "brice.videau@imag.fr"
6
6
  s.homepage = "https://github.com/Nanosim-LIG/papi-ruby"
7
7
  s.summary = "Ruby PAPI bindings"
8
8
  s.description = "Ruby PAPI bindings."
9
9
  s.files = %w( PAPI.gemspec LICENSE lib/PAPI.rb lib/PAPI/ lib/PAPI/Version.rb lib/PAPI/Error.rb lib/PAPI/Thread.rb lib/PAPI/Event.rb lib/PAPI/Component.rb lib/PAPI/EventSet.rb )
10
- s.has_rdoc = true
11
10
  s.license = 'BSD-2-Clause'
12
11
  s.required_ruby_version = '>= 1.9.3'
13
12
  s.add_dependency 'ffi', '~> 1.9', '>=1.9.3'
data/lib/PAPI/Error.rb CHANGED
@@ -84,6 +84,9 @@ EOF
84
84
  [-22, "EATTR"],
85
85
  [-23, "ECOUNT"],
86
86
  [-24, "ECOMBO"])
87
+ if VERSION >= Version::new(5,7,0,0) then
88
+ errors.push([-25, "ECMP_DISABLED"])
89
+ end
87
90
  elsif VERSION >= Version::new(4,1,0,0) then
88
91
  errors.push([-17, "ENOCMP"],
89
92
  [-18, "ENOSUPP"],
data/lib/PAPI/Version.rb CHANGED
@@ -55,7 +55,7 @@ module PAPI
55
55
  end
56
56
 
57
57
  def self.init
58
- 5.downto(3) { |major|
58
+ 6.downto(3) { |major|
59
59
  9.downto(0) { |minor|
60
60
  9.downto(0) { |revision|
61
61
  9.downto(0) { |increment|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: PAPI
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brice Videau
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-26 00:00:00.000000000 Z
11
+ date: 2021-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -64,8 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  - !ruby/object:Gem::Version
65
65
  version: '0'
66
66
  requirements: []
67
- rubyforge_project:
68
- rubygems_version: 2.5.2
67
+ rubygems_version: 3.1.2
69
68
  signing_key:
70
69
  specification_version: 4
71
70
  summary: Ruby PAPI bindings