wlang 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +5 -0
- data/Gemfile +5 -2
- data/Gemfile.lock +2 -2
- data/lib/wlang/command.rb +7 -2
- data/lib/wlang/loader.rb +1 -1
- data/lib/wlang/version.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/wlang.gemspec +2 -2
- data/wlang.noespec +3 -3
- metadata +23 -23
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -4,11 +4,14 @@ group :runtime do
|
|
4
4
|
gem "citrus", "~> 2.4.1"
|
5
5
|
gem "temple", "~> 0.4.0"
|
6
6
|
gem "quickl", "~> 0.4.3"
|
7
|
-
gem "
|
8
|
-
gem "epath", ">= 0.2"
|
7
|
+
gem "path", "~> 1.3"
|
9
8
|
gem "backports", "~> 2.6"
|
10
9
|
end
|
11
10
|
|
11
|
+
group :extra do
|
12
|
+
gem "awesome_print", "~> 1.0.2"
|
13
|
+
end
|
14
|
+
|
12
15
|
group :development do
|
13
16
|
gem "tilt", "~> 1.3"
|
14
17
|
gem "rake", "~> 0.9.2"
|
data/Gemfile.lock
CHANGED
@@ -15,7 +15,7 @@ GEM
|
|
15
15
|
bluecloth (2.2.0)
|
16
16
|
citrus (2.4.1)
|
17
17
|
diff-lcs (1.1.3)
|
18
|
-
|
18
|
+
path (1.3.1)
|
19
19
|
quickl (0.4.3)
|
20
20
|
rack (1.4.1)
|
21
21
|
rack-protection (1.2.0)
|
@@ -44,7 +44,7 @@ DEPENDENCIES
|
|
44
44
|
bluecloth (~> 2.2.0)
|
45
45
|
bundler (~> 1.0)
|
46
46
|
citrus (~> 2.4.1)
|
47
|
-
|
47
|
+
path (~> 1.3)
|
48
48
|
quickl (~> 0.4.3)
|
49
49
|
rack-test (~> 0.6.1)
|
50
50
|
rake (~> 0.9.2)
|
data/lib/wlang/command.rb
CHANGED
@@ -46,8 +46,13 @@ module WLang
|
|
46
46
|
install(argv)
|
47
47
|
|
48
48
|
if @ast
|
49
|
-
|
50
|
-
|
49
|
+
begin
|
50
|
+
require 'awesome_print'
|
51
|
+
ap @template.to_ast
|
52
|
+
rescue LoadError
|
53
|
+
puts "HINT: install the 'awesome_print' gem for pretty output!"
|
54
|
+
puts @template.to_ast.inspect
|
55
|
+
end
|
51
56
|
end
|
52
57
|
|
53
58
|
with_output do |output|
|
data/lib/wlang/loader.rb
CHANGED
data/lib/wlang/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
data/wlang.gemspec
CHANGED
@@ -123,6 +123,7 @@ Gem::Specification.new do |s|
|
|
123
123
|
# One call to add_development_dependency('gem_name', 'gem version requirement')
|
124
124
|
# for each development dependency. These gems are required for developers
|
125
125
|
#
|
126
|
+
s.add_development_dependency("awesome_print", "~> 1.0.2")
|
126
127
|
s.add_development_dependency("tilt", "~> 1.3")
|
127
128
|
s.add_development_dependency("rake", "~> 0.9.2")
|
128
129
|
s.add_development_dependency("bundler", "~> 1.0")
|
@@ -134,8 +135,7 @@ Gem::Specification.new do |s|
|
|
134
135
|
s.add_dependency("citrus", "~> 2.4.1")
|
135
136
|
s.add_dependency("temple", "~> 0.4.0")
|
136
137
|
s.add_dependency("quickl", "~> 0.4.3")
|
137
|
-
s.add_dependency("
|
138
|
-
s.add_dependency("epath", ">= 0.2")
|
138
|
+
s.add_dependency("path", "~> 1.3")
|
139
139
|
s.add_dependency("backports", "~> 2.6")
|
140
140
|
|
141
141
|
# The version of ruby required by this gem
|
data/wlang.noespec
CHANGED
@@ -12,7 +12,7 @@ variables:
|
|
12
12
|
upper:
|
13
13
|
WLang
|
14
14
|
version:
|
15
|
-
2.1.
|
15
|
+
2.1.1
|
16
16
|
summary: |-
|
17
17
|
WLang is a powerful code generation and templating engine
|
18
18
|
description: |-
|
@@ -34,9 +34,9 @@ variables:
|
|
34
34
|
- {name: citrus, version: "~> 2.4.1", groups: [runtime]}
|
35
35
|
- {name: temple, version: "~> 0.4.0", groups: [runtime]}
|
36
36
|
- {name: quickl, version: "~> 0.4.3", groups: [runtime]}
|
37
|
-
- {name:
|
38
|
-
- {name: epath, version: ">= 0.2", groups: [runtime]}
|
37
|
+
- {name: path, version: "~> 1.3", groups: [runtime]}
|
39
38
|
- {name: backports, version: "~> 2.6", groups: [runtime]}
|
39
|
+
- {name: awesome_print, version: "~> 1.0.2", groups: [extra]}
|
40
40
|
- {name: tilt, version: "~> 1.3", groups: [development]}
|
41
41
|
- {name: rake, version: "~> 0.9.2", groups: [development]}
|
42
42
|
- {name: bundler, version: "~> 1.0", groups: [development]}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wlang
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,8 +10,24 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-11-
|
13
|
+
date: 2012-11-29 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: awesome_print
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ~>
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.0.2
|
23
|
+
type: :development
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ~>
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: 1.0.2
|
15
31
|
- !ruby/object:Gem::Dependency
|
16
32
|
name: tilt
|
17
33
|
requirement: !ruby/object:Gem::Requirement
|
@@ -189,13 +205,13 @@ dependencies:
|
|
189
205
|
- !ruby/object:Gem::Version
|
190
206
|
version: 0.4.3
|
191
207
|
- !ruby/object:Gem::Dependency
|
192
|
-
name:
|
208
|
+
name: path
|
193
209
|
requirement: !ruby/object:Gem::Requirement
|
194
210
|
none: false
|
195
211
|
requirements:
|
196
212
|
- - ~>
|
197
213
|
- !ruby/object:Gem::Version
|
198
|
-
version: 1.
|
214
|
+
version: '1.3'
|
199
215
|
type: :runtime
|
200
216
|
prerelease: false
|
201
217
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -203,23 +219,7 @@ dependencies:
|
|
203
219
|
requirements:
|
204
220
|
- - ~>
|
205
221
|
- !ruby/object:Gem::Version
|
206
|
-
version: 1.
|
207
|
-
- !ruby/object:Gem::Dependency
|
208
|
-
name: epath
|
209
|
-
requirement: !ruby/object:Gem::Requirement
|
210
|
-
none: false
|
211
|
-
requirements:
|
212
|
-
- - ! '>='
|
213
|
-
- !ruby/object:Gem::Version
|
214
|
-
version: '0.2'
|
215
|
-
type: :runtime
|
216
|
-
prerelease: false
|
217
|
-
version_requirements: !ruby/object:Gem::Requirement
|
218
|
-
none: false
|
219
|
-
requirements:
|
220
|
-
- - ! '>='
|
221
|
-
- !ruby/object:Gem::Version
|
222
|
-
version: '0.2'
|
222
|
+
version: '1.3'
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: backports
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -397,7 +397,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
397
397
|
version: '0'
|
398
398
|
segments:
|
399
399
|
- 0
|
400
|
-
hash: -
|
400
|
+
hash: -3576370945648361800
|
401
401
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
402
402
|
none: false
|
403
403
|
requirements:
|
@@ -406,7 +406,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
406
406
|
version: '0'
|
407
407
|
segments:
|
408
408
|
- 0
|
409
|
-
hash: -
|
409
|
+
hash: -3576370945648361800
|
410
410
|
requirements: []
|
411
411
|
rubyforge_project:
|
412
412
|
rubygems_version: 1.8.24
|