ytools 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/VERSION +1 -1
  2. data/lib/ytools/templates/cli.rb +1 -1
  3. metadata +34 -48
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.6
1
+ 0.1.7
@@ -15,7 +15,7 @@ module YTools::Templates
15
15
 
16
16
  template = options[:expression]
17
17
  if template.nil?
18
- File.open(template, 'r') { |f| template = f.read}
18
+ File.open(options[:template], 'r') { |f| template = f.read}
19
19
  end
20
20
 
21
21
  if options[:literal]
metadata CHANGED
@@ -1,47 +1,40 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: ytools
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 1
8
- - 6
9
- version: 0.1.6
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.7
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Gabe McArthur
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2011-02-12 00:00:00 -08:00
12
+ date: 2011-02-12 00:00:00.000000000 -08:00
18
13
  default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
21
16
  name: rspec
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: &71611700 !ruby/object:Gem::Requirement
24
18
  none: false
25
- requirements:
19
+ requirements:
26
20
  - - ~>
27
- - !ruby/object:Gem::Version
28
- segments:
29
- - 2
30
- - 5
31
- version: "2.5"
21
+ - !ruby/object:Gem::Version
22
+ version: '2.5'
32
23
  type: :development
33
- version_requirements: *id001
34
- description: Installs the ypath tool for reading YAML files using an XPath-like syntax. Installs the ytemplates tool for writing ERB templates using YAML files as the template binding object.
35
- email:
24
+ prerelease: false
25
+ version_requirements: *71611700
26
+ description: Installs the ypath tool for reading YAML files using an XPath-like syntax. Installs
27
+ the ytemplates tool for writing ERB templates using YAML files as the template binding
28
+ object.
29
+ email:
36
30
  - madeonamac@gmail.com
37
- executables:
31
+ executables:
38
32
  - ypath
39
33
  - ytemplates
40
34
  extensions: []
41
-
42
- extra_rdoc_files:
35
+ extra_rdoc_files:
43
36
  - README.markdown
44
- files:
37
+ files:
45
38
  - README.markdown
46
39
  - Rakefile
47
40
  - bin/ypath
@@ -77,36 +70,29 @@ files:
77
70
  has_rdoc: true
78
71
  homepage: http://github.com/gabemc/ytools
79
72
  licenses: []
80
-
81
73
  post_install_message:
82
74
  rdoc_options: []
83
-
84
- require_paths:
75
+ require_paths:
85
76
  - lib
86
- required_ruby_version: !ruby/object:Gem::Requirement
77
+ required_ruby_version: !ruby/object:Gem::Requirement
87
78
  none: false
88
- requirements:
89
- - - ">="
90
- - !ruby/object:Gem::Version
91
- segments:
92
- - 0
93
- version: "0"
94
- required_rubygems_version: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ required_rubygems_version: !ruby/object:Gem::Requirement
95
84
  none: false
96
- requirements:
97
- - - ">="
98
- - !ruby/object:Gem::Version
99
- segments:
100
- - 0
101
- version: "0"
85
+ requirements:
86
+ - - ! '>='
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
102
89
  requirements: []
103
-
104
90
  rubyforge_project:
105
- rubygems_version: 1.3.7
91
+ rubygems_version: 1.5.2
106
92
  signing_key:
107
93
  specification_version: 3
108
94
  summary: For reading or writing configuration files using YAML.
109
- test_files:
95
+ test_files:
110
96
  - spec/helpers.rb
111
97
  - spec/path/executor_spec.rb
112
98
  - spec/path/lexer_spec.rb