pdfkit-amd64 0.9.9.1 → 0.9.9.2

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.
@@ -1,31 +1,28 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pdfkit-amd64 (0.9.9.1)
4
+ pdfkit-amd64 (0.9.9.2)
5
5
  pdfkit
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
- diff-lcs (1.1.2)
11
- pdfkit (0.4.6)
12
- rake (0.8.7)
13
- rspec (2.0.0)
14
- rspec-core (= 2.0.0)
15
- rspec-expectations (= 2.0.0)
16
- rspec-mocks (= 2.0.0)
17
- rspec-core (2.0.0)
18
- rspec-expectations (2.0.0)
19
- diff-lcs (>= 1.1.2)
20
- rspec-mocks (2.0.0)
21
- rspec-core (= 2.0.0)
22
- rspec-expectations (= 2.0.0)
10
+ diff-lcs (1.1.3)
11
+ pdfkit (0.5.2)
12
+ rake (0.9.2.2)
13
+ rspec (2.11.0)
14
+ rspec-core (~> 2.11.0)
15
+ rspec-expectations (~> 2.11.0)
16
+ rspec-mocks (~> 2.11.0)
17
+ rspec-core (2.11.1)
18
+ rspec-expectations (2.11.1)
19
+ diff-lcs (~> 1.1.3)
20
+ rspec-mocks (2.11.1)
23
21
 
24
22
  PLATFORMS
25
23
  ruby
26
24
 
27
25
  DEPENDENCIES
28
- pdfkit
29
26
  pdfkit-amd64!
30
27
  rake
31
28
  rspec (~> 2.0)
@@ -3,7 +3,7 @@ require 'rbconfig'
3
3
  class PDFKit
4
4
  module AMD64
5
5
  def self.find_binary
6
- if Config::CONFIG['arch'] =~ /x86_64-linux/i
6
+ if (defined?(RbConfig) ? RbConfig : Config)::CONFIG['arch'] =~ /x86_64-linux/i
7
7
  binary = File.join(File.dirname(__FILE__), '../../bin/wkhtmltopdf-amd64')
8
8
  else
9
9
  binary = `which wkhtmltopdf 2> /dev/null`.strip
@@ -1,5 +1,5 @@
1
1
  class PDFKit
2
2
  module AMD64
3
- VERSION = "0.9.9.1"
3
+ VERSION = "0.9.9.2"
4
4
  end
5
5
  end
@@ -2,7 +2,7 @@ require 'pdfkit-amd64/find_binary'
2
2
 
3
3
  describe PDFKit::AMD64 do
4
4
  it "should find the binary inside the gem" do
5
- Config::CONFIG.should_receive(:[]).with('arch').and_return('x86_64-linux')
5
+ (defined?(RbConfig) ? RbConfig : Config)::CONFIG.should_receive(:[]).with('arch').and_return('x86_64-linux')
6
6
  binary = PDFKit::AMD64.find_binary
7
7
  File.executable?(binary).should be_true
8
8
  end
metadata CHANGED
@@ -1,77 +1,74 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: pdfkit-amd64
3
- version: !ruby/object:Gem::Version
4
- hash: 33
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 9
9
- - 9
10
- - 1
11
- version: 0.9.9.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.9.9.2
5
+ prerelease:
12
6
  platform: ruby
13
- authors:
14
- - "Petteri R\xC3\xA4ty"
7
+ authors:
8
+ - Petteri Räty
15
9
  autorequire:
16
10
  bindir: bin
17
11
  cert_chain: []
18
-
19
- date: 2010-10-17 00:00:00 +03:00
20
- default_executable:
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
23
- requirement: &id001 !ruby/object:Gem::Requirement
12
+ date: 2012-07-25 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: pdfkit
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
32
22
  type: :runtime
33
- name: pdfkit
34
23
  prerelease: false
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
38
25
  none: false
39
- requirements:
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rspec
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
40
35
  - - ~>
41
- - !ruby/object:Gem::Version
42
- hash: 3
43
- segments:
44
- - 2
45
- - 0
46
- version: "2.0"
36
+ - !ruby/object:Gem::Version
37
+ version: '2.0'
47
38
  type: :development
48
- name: rspec
49
39
  prerelease: false
50
- version_requirements: *id002
51
- - !ruby/object:Gem::Dependency
52
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
53
41
  none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- hash: 3
58
- segments:
59
- - 0
60
- version: "0"
61
- type: :development
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '2.0'
46
+ - !ruby/object:Gem::Dependency
62
47
  name: rake
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
63
55
  prerelease: false
64
- version_requirements: *id003
65
- description: "\n This gem will install a amd64 binary and automatically\n configure pdfkit to use it. It will fall back on searching\n PATH if architecture does not match amd64.\n "
66
- email:
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ description: ! "\n This gem will install a amd64 binary and automatically\n configure
63
+ pdfkit to use it. It will fall back on searching\n PATH if architecture does
64
+ not match amd64.\n "
65
+ email:
67
66
  - github@petteriraty.eu
68
- executables:
67
+ executables:
69
68
  - wkhtmltopdf-amd64
70
69
  extensions: []
71
-
72
70
  extra_rdoc_files: []
73
-
74
- files:
71
+ files:
75
72
  - .gitignore
76
73
  - Gemfile
77
74
  - Gemfile.lock
@@ -82,40 +79,37 @@ files:
82
79
  - lib/pdfkit-amd64/version.rb
83
80
  - pdfkit-amd64.gemspec
84
81
  - spec/amd64_spec.rb
85
- has_rdoc: true
86
82
  homepage: http://rubygems.org/gems/pdfkit-amd64
87
- licenses:
83
+ licenses:
88
84
  - GPL-3
89
85
  - MIT
90
86
  post_install_message:
91
87
  rdoc_options: []
92
-
93
- require_paths:
88
+ require_paths:
94
89
  - lib
95
- required_ruby_version: !ruby/object:Gem::Requirement
90
+ required_ruby_version: !ruby/object:Gem::Requirement
96
91
  none: false
97
- requirements:
98
- - - ">="
99
- - !ruby/object:Gem::Version
100
- hash: 3
101
- segments:
92
+ requirements:
93
+ - - ! '>='
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ segments:
102
97
  - 0
103
- version: "0"
104
- required_rubygems_version: !ruby/object:Gem::Requirement
98
+ hash: 1740463164171050886
99
+ required_rubygems_version: !ruby/object:Gem::Requirement
105
100
  none: false
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- hash: 3
110
- segments:
101
+ requirements:
102
+ - - ! '>='
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
105
+ segments:
111
106
  - 0
112
- version: "0"
107
+ hash: 1740463164171050886
113
108
  requirements: []
114
-
115
109
  rubyforge_project: pdfkit-amd64
116
- rubygems_version: 1.3.7
110
+ rubygems_version: 1.8.19
117
111
  signing_key:
118
112
  specification_version: 3
119
113
  summary: wkhtmltopdf amd64 binary for pdfkit
120
- test_files:
114
+ test_files:
121
115
  - spec/amd64_spec.rb