wlang 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,8 @@
1
+ # 2.1.1 / 2012-11-29
2
+
3
+ * Bump epath to path 1.3.1 (same gem but renamed + bump)
4
+ * Moved awesome_print to extra dependencies (not a proper dependency then!)
5
+
1
6
  # 2.1.0 / 2012-11-28
2
7
 
3
8
  ## Enhancements
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 "awesome_print", "~> 1.0.2"
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"
@@ -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
- epath (0.2.0)
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
- epath (>= 0.2)
47
+ path (~> 1.3)
48
48
  quickl (~> 0.4.3)
49
49
  rack-test (~> 0.6.1)
50
50
  rake (~> 0.9.2)
@@ -46,8 +46,13 @@ module WLang
46
46
  install(argv)
47
47
 
48
48
  if @ast
49
- require 'awesome_print'
50
- ap @template.to_ast
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|
@@ -1,5 +1,5 @@
1
1
  require "citrus"
2
2
  require "temple"
3
3
  require "quickl"
4
- require "epath"
4
+ require "path"
5
5
  require 'backports' if RUBY_VERSION < "1.9"
@@ -3,7 +3,7 @@ module WLang
3
3
 
4
4
  MAJOR = 2
5
5
  MINOR = 1
6
- TINY = 0
6
+ TINY = 1
7
7
 
8
8
  def self.to_s
9
9
  [ MAJOR, MINOR, TINY ].join('.')
@@ -1,4 +1,4 @@
1
- require 'epath'
1
+ require 'path'
2
2
  $root_folder ||= Path.backfind('.[Rakefile]')
3
3
 
4
4
  require 'tilt'
@@ -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("awesome_print", "~> 1.0.2")
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
@@ -12,7 +12,7 @@ variables:
12
12
  upper:
13
13
  WLang
14
14
  version:
15
- 2.1.0
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: awesome_print, version: "~> 1.0.2", groups: [runtime]}
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.0
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-28 00:00:00.000000000 Z
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: awesome_print
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.0.2
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.0.2
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: -1010122426012540526
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: -1010122426012540526
409
+ hash: -3576370945648361800
410
410
  requirements: []
411
411
  rubyforge_project:
412
412
  rubygems_version: 1.8.24