erb-process 0.2.0 → 0.2.1

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.
@@ -8,7 +8,7 @@ module ERBProcess
8
8
  def ERBProcess.process variables, template, env = "DEV"
9
9
  @variables = variables
10
10
  @template = template
11
- @env = env
11
+ env = env.chomp
12
12
 
13
13
  yml = YAML.load_file(@variables)
14
14
  #puts @template
@@ -1,3 +1,3 @@
1
1
  module ERBProcess
2
- VERSION = '0.2.0'
3
- end
2
+ VERSION = '0.2.1'
3
+ end
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: erb-process
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
5
- prerelease:
4
+ prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 2
9
- - 0
10
- version: 0.2.0
8
+ - 1
9
+ version: 0.2.1
11
10
  platform: ruby
12
11
  authors:
13
12
  - Patrick O'Leary
@@ -15,7 +14,8 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2012-07-21 00:00:00 Z
17
+ date: 2012-07-21 00:00:00 -04:00
18
+ default_executable:
19
19
  dependencies: []
20
20
 
21
21
  description: First Argument is a variables file, second is an ERB template, outputs to STDOUT
@@ -29,10 +29,7 @@ extra_rdoc_files: []
29
29
  files:
30
30
  - lib/erb-process.rb
31
31
  - lib/erbprocess/version.rb
32
- - test/config.yml
33
- - test/example_config.erb
34
- - test/test_erbprocess.rb
35
- - bin/erb-process
32
+ has_rdoc: true
36
33
  homepage: https://github.com/pjaol/erb-configurator
37
34
  licenses: []
38
35
 
@@ -42,27 +39,23 @@ rdoc_options: []
42
39
  require_paths:
43
40
  - lib
44
41
  required_ruby_version: !ruby/object:Gem::Requirement
45
- none: false
46
42
  requirements:
47
43
  - - ">="
48
44
  - !ruby/object:Gem::Version
49
- hash: 3
50
45
  segments:
51
46
  - 0
52
47
  version: "0"
53
48
  required_rubygems_version: !ruby/object:Gem::Requirement
54
- none: false
55
49
  requirements:
56
50
  - - ">="
57
51
  - !ruby/object:Gem::Version
58
- hash: 3
59
52
  segments:
60
53
  - 0
61
54
  version: "0"
62
55
  requirements: []
63
56
 
64
57
  rubyforge_project:
65
- rubygems_version: 1.8.24
58
+ rubygems_version: 1.3.6
66
59
  signing_key:
67
60
  specification_version: 3
68
61
  summary: Merges a variables file and an ERB file