npm2rpm 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZDQ1YTJmZjBlYjVkNWMxMjBlNTAyYjY2YjE5NzNmNGMwODk2ZjNmNQ==
5
- data.tar.gz: !binary |-
6
- ZDE3YjMwODM0MTFjN2Q0YTg1ZjhmOWJmZDdkYWQ4MTk4ODI0MjkyMg==
2
+ SHA1:
3
+ metadata.gz: ee56ee14c9a4be51d748bf94443cafac77730a58
4
+ data.tar.gz: 3cd0a867773f328a36adde1ccc889b64d36d7e31
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MmFmNWU4YTdhMjY1YmRjMzc1NGI1NWI4ZDBjZDU3NmYyMmI1YWI1NzdkYWEy
10
- ZmQ1NjE3MTgzMmZiMDk3ZGUyNjIzNGY1NzNmZGI4NjM0MjRlZjM4ZjAxZTlj
11
- NjBhMzg2OTMxZDIxYTVlMzNkMDQ2ZjBmOTQ1NjhhMjJlZDdkYWU=
12
- data.tar.gz: !binary |-
13
- ODdmMGNlYzc4NWM3MGMwMzkyZmU0ZDg4YWI3YmM1ZmVmNmQ4MDQ3MWExNzc0
14
- N2U0MjljZjJlNWI3NmEzOGU1ZWU4ZTU1NjgyYzI2ZDZjNDZjNmU2YzZkMGM4
15
- MGMxYWZiYTYwODNkYWFjMTY4NTAyOTQ5NzA1MTQ4MWIwYTA1N2Q=
6
+ metadata.gz: cc208f71d39104d919828305596ba5b88ffc4255c32d7daded951ef4f14d2de03a6eeffbb7dfcbd7e869e43ed560fe469147d0166eda6e9ba6353572ad2b9bbc
7
+ data.tar.gz: 8b4ad676572e34fa3f59c0220c7e2f5525f8b4100dba71635aa0b5b3907b42aab1d44332b420c01daeac742c46a6f60628f945f4fdc74e35abdc04047492807b
@@ -111,7 +111,7 @@ module Npm2Rpm
111
111
  erb = ERB.new(template, nil, "-")
112
112
  File.open("#{@name}.spec", "w+") do |f|
113
113
  spec = self
114
- f.puts erb.result
114
+ f.puts(erb.result(binding()))
115
115
  end
116
116
  end
117
117
  end
@@ -2,5 +2,5 @@
2
2
  # npm2rpm/lib/npm2rpm/version.rb
3
3
  #
4
4
  module Npm2Rpm
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: npm2rpm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Klaus Kämpf
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-08 00:00:00.000000000 Z
11
+ date: 2014-04-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Automatically generates RPM packages for Nodejs modules
14
14
  email:
@@ -46,19 +46,18 @@ require_paths:
46
46
  - lib
47
47
  required_ruby_version: !ruby/object:Gem::Requirement
48
48
  requirements:
49
- - - ! '>='
49
+ - - ">="
50
50
  - !ruby/object:Gem::Version
51
51
  version: '0'
52
52
  required_rubygems_version: !ruby/object:Gem::Requirement
53
53
  requirements:
54
- - - ! '>='
54
+ - - ">="
55
55
  - !ruby/object:Gem::Version
56
56
  version: '0'
57
57
  requirements: []
58
58
  rubyforge_project: npm2rpm
59
- rubygems_version: 2.1.3
59
+ rubygems_version: 2.2.0
60
60
  signing_key:
61
61
  specification_version: 4
62
62
  summary: Generate RPM packages for Nodejs modules
63
63
  test_files: []
64
- has_rdoc: