spirit 0.1.0.pre.1 → 0.1.0.pre.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,4 +1,7 @@
1
1
  # Spirit
2
+ [![Dependency Status](https://gemnasium.com/jimjh/genie-parser.png)](https://gemnasium.com/jimjh/genie-parser)
3
+ [![Code Climate](https://codeclimate.com/github/jimjh/genie-parser.png)](https://codeclimate.com/github/jimjh/genie-parser)
4
+ [![Build Status](https://travis-ci.org/jimjh/genie-parser.png)](https://travis-ci.org/jimjh/genie-parser)
2
5
 
3
6
  Genie's parser, which parses the Genie Markup Language and produces HTML
4
7
  partials. Both Aladdin and Lamp should depend on this gem for all their parsing
@@ -22,8 +25,12 @@ Or install it yourself as:
22
25
 
23
26
  ### Parsing a document
24
27
 
25
- Spirit::Document.new(data, opts).render //=> rendered html
28
+ ```rb
29
+ Spirit::Document.new(data, opts).render //=> rendered html
30
+ ```
26
31
 
27
32
  ### Parsing a manifest
28
33
 
29
- Spirit::Manifest.new(data, opts) //=> configuration object
34
+ ```rb
35
+ Spirit::Manifest.new(data, opts) //=> configuration object
36
+ ```
@@ -32,7 +32,7 @@ module Spirit
32
32
  def self.load(source)
33
33
  new YAML.load source
34
34
  rescue ::Psych::SyntaxError => e
35
- raise ManifestError, e.message
35
+ raise ManifestError, 'Unexpected syntax error - ' + e.message
36
36
  end
37
37
 
38
38
  # Load configuration from given yaml file.
@@ -41,7 +41,7 @@ module Spirit
41
41
  def self.load_file(path)
42
42
  File.open(path, 'r:utf-8') { |f| new YAML.load f.read }
43
43
  rescue ::Psych::SyntaxError => e
44
- raise ManifestError, e.message
44
+ raise ManifestError, 'Unexpected syntax error - ' + e.message
45
45
  end
46
46
 
47
47
  private_class_method :new
@@ -1,4 +1,4 @@
1
1
  # ~*~ encoding: utf-8 ~*~
2
2
  module Spirit
3
- VERSION = '0.1.0.pre.1'
3
+ VERSION = '0.1.0.pre.2'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spirit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre.1
4
+ version: 0.1.0.pre.2
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-20 00:00:00.000000000 Z
12
+ date: 2013-02-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: haml
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: '3.1'
21
+ version: '4.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: '3.1'
29
+ version: '4.0'
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: redcarpet
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -66,7 +66,7 @@ dependencies:
66
66
  requirements:
67
67
  - - ~>
68
68
  - !ruby/object:Gem::Version
69
- version: 2.0.3
69
+ version: '2.0'
70
70
  type: :runtime
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
@@ -74,7 +74,7 @@ dependencies:
74
74
  requirements:
75
75
  - - ~>
76
76
  - !ruby/object:Gem::Version
77
- version: 2.0.3
77
+ version: '2.0'
78
78
  - !ruby/object:Gem::Dependency
79
79
  name: activesupport
80
80
  requirement: !ruby/object:Gem::Requirement
@@ -82,7 +82,7 @@ dependencies:
82
82
  requirements:
83
83
  - - ~>
84
84
  - !ruby/object:Gem::Version
85
- version: 3.2.9
85
+ version: '3.2'
86
86
  type: :runtime
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
@@ -90,7 +90,7 @@ dependencies:
90
90
  requirements:
91
91
  - - ~>
92
92
  - !ruby/object:Gem::Version
93
- version: 3.2.9
93
+ version: '3.2'
94
94
  - !ruby/object:Gem::Dependency
95
95
  name: yard
96
96
  requirement: !ruby/object:Gem::Requirement
@@ -130,7 +130,7 @@ dependencies:
130
130
  requirements:
131
131
  - - ~>
132
132
  - !ruby/object:Gem::Version
133
- version: 2.12.0
133
+ version: 2.13.0
134
134
  type: :development
135
135
  prerelease: false
136
136
  version_requirements: !ruby/object:Gem::Requirement
@@ -138,7 +138,7 @@ dependencies:
138
138
  requirements:
139
139
  - - ~>
140
140
  - !ruby/object:Gem::Version
141
- version: 2.12.0
141
+ version: 2.13.0
142
142
  - !ruby/object:Gem::Dependency
143
143
  name: rake
144
144
  requirement: !ruby/object:Gem::Requirement
@@ -162,7 +162,7 @@ dependencies:
162
162
  requirements:
163
163
  - - ~>
164
164
  - !ruby/object:Gem::Version
165
- version: 4.1.0
165
+ version: 4.2.0
166
166
  type: :development
167
167
  prerelease: false
168
168
  version_requirements: !ruby/object:Gem::Requirement
@@ -170,13 +170,13 @@ dependencies:
170
170
  requirements:
171
171
  - - ~>
172
172
  - !ruby/object:Gem::Version
173
- version: 4.1.0
173
+ version: 4.2.0
174
174
  - !ruby/object:Gem::Dependency
175
175
  name: faker
176
176
  requirement: !ruby/object:Gem::Requirement
177
177
  none: false
178
178
  requirements:
179
- - - '='
179
+ - - ~>
180
180
  - !ruby/object:Gem::Version
181
181
  version: 1.1.2
182
182
  type: :development
@@ -184,7 +184,7 @@ dependencies:
184
184
  version_requirements: !ruby/object:Gem::Requirement
185
185
  none: false
186
186
  requirements:
187
- - - '='
187
+ - - ~>
188
188
  - !ruby/object:Gem::Version
189
189
  version: 1.1.2
190
190
  description: Parses Genie Markup Language
@@ -239,7 +239,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
239
239
  version: '0'
240
240
  segments:
241
241
  - 0
242
- hash: 905689092355795232
242
+ hash: -1724555947133005026
243
243
  required_rubygems_version: !ruby/object:Gem::Requirement
244
244
  none: false
245
245
  requirements:
@@ -248,7 +248,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
248
248
  version: 1.3.1
249
249
  requirements: []
250
250
  rubyforge_project:
251
- rubygems_version: 1.8.24
251
+ rubygems_version: 1.8.25
252
252
  signing_key:
253
253
  specification_version: 3
254
254
  summary: Parses Genie Markup Language