magesa 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/lib/magesa.rb +6 -4
- data/magesa.gemspec +3 -4
- data/pkg/{magesa-0.1.1.gem → magesa-0.1.3.gem} +0 -0
- metadata +13 -13
- data/pkg/magesa-0.1.0.gem +0 -0
data/Rakefile
CHANGED
@@ -18,7 +18,7 @@ Jeweler::Tasks.new do |gem|
|
|
18
18
|
gem.homepage = "http://github.com/dsaronin/magesa"
|
19
19
|
gem.license = "MIT"
|
20
20
|
gem.summary = %Q{bin/wkhtmltopdf-amd64 accessible in heroku as a gem}
|
21
|
-
gem.description = %Q{
|
21
|
+
gem.description = %Q{an easier way to access wkhtmltopdf-amd64 in heroku rather than putting it in the app}
|
22
22
|
gem.email = "dsaronin@gmail.com"
|
23
23
|
gem.authors = ["Daudi Amani"]
|
24
24
|
# dependencies defined in Gemfile
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/lib/magesa.rb
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
# set up an environment variable to tell app where to find wkhtmlpdf binary
|
2
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : "0.1.
|
2
|
+
version = File.exist?('VERSION') ? File.read('VERSION') : "0.1.3"
|
3
3
|
|
4
4
|
gem_path = ( ENV['GEM_PATH'].blank? ?
|
5
|
-
ENV['PATH'].split(':').first.sub(/\/bin/,"
|
6
|
-
ENV['GEM_PATH']
|
5
|
+
ENV['PATH'].split(':').first.sub(/\/bin/,"") :
|
6
|
+
ENV['GEM_PATH'].split(':').first
|
7
7
|
)
|
8
|
-
|
8
|
+
|
9
|
+
ENV['MAGESA_PATH'] = [ gem_path, "gems", "magesa-#{version}", 'bin', 'wkhtmltopdf-amd64' ].join("/")
|
10
|
+
|
data/magesa.gemspec
CHANGED
@@ -5,12 +5,12 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "magesa"
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Daudi Amani"]
|
12
12
|
s.date = "2011-11-23"
|
13
|
-
s.description = "
|
13
|
+
s.description = "an easier way to access wkhtmltopdf-amd64 in heroku rather than putting it in the app"
|
14
14
|
s.email = "dsaronin@gmail.com"
|
15
15
|
s.executables = ["wkhtmltopdf-amd64"]
|
16
16
|
s.extra_rdoc_files = [
|
@@ -28,8 +28,7 @@ Gem::Specification.new do |s|
|
|
28
28
|
"bin/wkhtmltopdf-amd64",
|
29
29
|
"lib/magesa.rb",
|
30
30
|
"magesa.gemspec",
|
31
|
-
"pkg/magesa-0.1.
|
32
|
-
"pkg/magesa-0.1.1.gem",
|
31
|
+
"pkg/magesa-0.1.3.gem",
|
33
32
|
"test/helper.rb",
|
34
33
|
"test/test_magesa.rb"
|
35
34
|
]
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: magesa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-11-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: shoulda
|
16
|
-
requirement: &
|
16
|
+
requirement: &84623480 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *84623480
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: bundler
|
27
|
-
requirement: &
|
27
|
+
requirement: &84622450 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 1.0.0
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *84622450
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: jeweler
|
38
|
-
requirement: &
|
38
|
+
requirement: &84622000 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 1.6.4
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *84622000
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rcov
|
49
|
-
requirement: &
|
49
|
+
requirement: &84621000 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,8 +54,9 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
58
|
-
description:
|
57
|
+
version_requirements: *84621000
|
58
|
+
description: an easier way to access wkhtmltopdf-amd64 in heroku rather than putting
|
59
|
+
it in the app
|
59
60
|
email: dsaronin@gmail.com
|
60
61
|
executables:
|
61
62
|
- wkhtmltopdf-amd64
|
@@ -74,8 +75,7 @@ files:
|
|
74
75
|
- bin/wkhtmltopdf-amd64
|
75
76
|
- lib/magesa.rb
|
76
77
|
- magesa.gemspec
|
77
|
-
- pkg/magesa-0.1.
|
78
|
-
- pkg/magesa-0.1.1.gem
|
78
|
+
- pkg/magesa-0.1.3.gem
|
79
79
|
- test/helper.rb
|
80
80
|
- test/test_magesa.rb
|
81
81
|
homepage: http://github.com/dsaronin/magesa
|
@@ -93,7 +93,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
93
93
|
version: '0'
|
94
94
|
segments:
|
95
95
|
- 0
|
96
|
-
hash:
|
96
|
+
hash: 751364431
|
97
97
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
98
|
none: false
|
99
99
|
requirements:
|
data/pkg/magesa-0.1.0.gem
DELETED
Binary file
|