locomotivecms_solid 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 68c2ab10c69086f5ea11231bfca9d6f395885000
4
+ data.tar.gz: 3fff24784bb116458e44127a90c8bc40b38865ea
5
+ SHA512:
6
+ metadata.gz: bd140ae7b0c4f499a4420aab756ac109f77e9f24bb3322b486d8a316c819deaad0c2cfd32c30f4e4c53e9ce12a9f340dd3af62efdda4ac05b05fad91ece7ad5d
7
+ data.tar.gz: 307212f161fd3a43c385cdd647c85e9ad7641ac3d7d26b49fb8a4283dc4b9e66f110aca0c09b8520e8a918d3a41f45ccec6411d8306e1235b61101ff4c612b11
data/Rakefile CHANGED
@@ -1,7 +1,7 @@
1
- require "bundler/gem_tasks"
1
+ require 'bundler/gem_tasks'
2
2
  require 'rspec/core/rake_task'
3
3
 
4
4
  Bundler::GemHelper.install_tasks
5
5
  RSpec::Core::RakeTask.new(:spec)
6
6
 
7
- task :default => :spec
7
+ task default: :spec
@@ -213,6 +213,10 @@ class Solid::Parser
213
213
  string_content
214
214
  end
215
215
 
216
+ def handle_dyna_symbol(string_content)
217
+ Literal.new(string_content.first[1])
218
+ end
219
+
216
220
  # # /bb|[^b]{2}/
217
221
  # [[:@tstring_content, "bb|[^b]{2}", [1, 2]]].first.first
218
222
  # TODO: handle regexp interpolation
@@ -1,3 +1,3 @@
1
1
  module Solid
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
@@ -238,6 +238,10 @@ describe Solid::Arguments do
238
238
  }]
239
239
  end
240
240
 
241
+ it "should not be disturbed by a dot into the key" do
242
+ parse(':"foo.bar" => "bar"').should be == [{'foo.bar' => 'bar'}]
243
+ end
244
+
241
245
  end
242
246
 
243
247
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: locomotivecms_solid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
5
- prerelease:
4
+ version: 0.2.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jean Boussier
@@ -11,60 +10,53 @@ authors:
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2013-08-19 00:00:00.000000000 Z
13
+ date: 2013-09-04 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: rspec
18
17
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
18
  requirements:
21
- - - ! '>='
19
+ - - '>='
22
20
  - !ruby/object:Gem::Version
23
21
  version: '0'
24
22
  type: :development
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
25
  requirements:
29
- - - ! '>='
26
+ - - '>='
30
27
  - !ruby/object:Gem::Version
31
28
  version: '0'
32
29
  - !ruby/object:Gem::Dependency
33
30
  name: rake
34
31
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
32
  requirements:
37
- - - ! '>='
33
+ - - '>='
38
34
  - !ruby/object:Gem::Version
39
35
  version: '0'
40
36
  type: :development
41
37
  prerelease: false
42
38
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
39
  requirements:
45
- - - ! '>='
40
+ - - '>='
46
41
  - !ruby/object:Gem::Version
47
42
  version: '0'
48
43
  - !ruby/object:Gem::Dependency
49
44
  name: i18n
50
45
  requirement: !ruby/object:Gem::Requirement
51
- none: false
52
46
  requirements:
53
- - - ! '>='
47
+ - - '>='
54
48
  - !ruby/object:Gem::Version
55
49
  version: '0'
56
50
  type: :development
57
51
  prerelease: false
58
52
  version_requirements: !ruby/object:Gem::Requirement
59
- none: false
60
53
  requirements:
61
- - - ! '>='
54
+ - - '>='
62
55
  - !ruby/object:Gem::Version
63
56
  version: '0'
64
57
  - !ruby/object:Gem::Dependency
65
58
  name: activesupport
66
59
  requirement: !ruby/object:Gem::Requirement
67
- none: false
68
60
  requirements:
69
61
  - - ~>
70
62
  - !ruby/object:Gem::Version
@@ -72,7 +64,6 @@ dependencies:
72
64
  type: :development
73
65
  prerelease: false
74
66
  version_requirements: !ruby/object:Gem::Requirement
75
- none: false
76
67
  requirements:
77
68
  - - ~>
78
69
  - !ruby/object:Gem::Version
@@ -80,7 +71,6 @@ dependencies:
80
71
  - !ruby/object:Gem::Dependency
81
72
  name: locomotive_liquid
82
73
  requirement: !ruby/object:Gem::Requirement
83
- none: false
84
74
  requirements:
85
75
  - - ~>
86
76
  - !ruby/object:Gem::Version
@@ -88,7 +78,6 @@ dependencies:
88
78
  type: :runtime
89
79
  prerelease: false
90
80
  version_requirements: !ruby/object:Gem::Requirement
91
- none: false
92
81
  requirements:
93
82
  - - ~>
94
83
  - !ruby/object:Gem::Version
@@ -153,33 +142,26 @@ files:
153
142
  - spec/support/tag_highjacker_examples.rb
154
143
  homepage: ''
155
144
  licenses: []
145
+ metadata: {}
156
146
  post_install_message:
157
147
  rdoc_options: []
158
148
  require_paths:
159
149
  - lib
160
150
  required_ruby_version: !ruby/object:Gem::Requirement
161
- none: false
162
151
  requirements:
163
- - - ! '>='
152
+ - - '>='
164
153
  - !ruby/object:Gem::Version
165
154
  version: '0'
166
- segments:
167
- - 0
168
- hash: -2528832747906395320
169
155
  required_rubygems_version: !ruby/object:Gem::Requirement
170
- none: false
171
156
  requirements:
172
- - - ! '>='
157
+ - - '>='
173
158
  - !ruby/object:Gem::Version
174
159
  version: '0'
175
- segments:
176
- - 0
177
- hash: -2528832747906395320
178
160
  requirements: []
179
161
  rubyforge_project:
180
- rubygems_version: 1.8.23
162
+ rubygems_version: 2.0.7
181
163
  signing_key:
182
- specification_version: 3
164
+ specification_version: 4
183
165
  summary: Helpers for easily creating custom Liquid tags and block
184
166
  test_files:
185
167
  - spec/solid/arguments_spec.rb