opulent 1.8.3 → 1.8.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 006517e6a2952ce7ad81b79cb6a6bddc6d9a4176
4
- data.tar.gz: 3e6eaa4a864775b99264fa51e4fca1a2d489c232
3
+ metadata.gz: 43decf33dbeeeaca0c8bdd91d708c2915077b213
4
+ data.tar.gz: 591bbd86398805f2cdeb2d6d09ee62a0acaf4a68
5
5
  SHA512:
6
- metadata.gz: 77553f55096c25468329e9a730def7490e44574f78bd1111b4069d9cae2382d04aec9f3735f2d8b87202d67a38522e47396d2ccc4e838358e5e7d4bbac8727b2
7
- data.tar.gz: a055b4b235dd94b1d056dd3b072bc323a14f2fe06d9805461530a359a0fb4d3f08fa8e948292aeaa99e2687873408489ff985c812d9d0ddb8b48710f0ecd1591
6
+ metadata.gz: 21449222466f9b1d6dba9b4bffab2bea4bdd39d22e97caac3cb96921f7315829a375e795ddf4e2c8114c4ea4c96206bf0863a56548e263e868217736be518026
7
+ data.tar.gz: 09c7dd825889c97c1e6327f75d0c10d337f1dec3c4e566925149b3d2dd0de62648e912b1979025287284befbf5a459a8fb6bbe926dc600383a539bce1938100e
@@ -169,7 +169,7 @@ module Opulent
169
169
  escaped = accept(:unescaped_value) ? false : true
170
170
 
171
171
  # Get the attribute value and process it
172
- if (value = accept(:node))
172
+ if (value = accept(:shorthand_node))
173
173
  value = [:expression, value.inspect, { escaped: escaped }]
174
174
  elsif (value = accept(:exp_string))
175
175
  value = [:expression, value, { escaped: escaped }]
@@ -20,7 +20,8 @@ module Opulent
20
20
 
21
21
  # Shorthand attributes
22
22
  shorthand: /\A[\.\#\&]/,
23
- shorthand_lookahead: /\A[\.\#\&][a-zA-Z\_\(\"]/,
23
+ shorthand_node: /\A\-?\w+(\-\w+)*/,
24
+ shorthand_lookahead: /\A[\.\#\&][a-zA-Z\-\_\(\"]/,
24
25
 
25
26
  # Leading and trailing whitespace
26
27
  leading_whitespace: /\A(\')/,
@@ -1,4 +1,4 @@
1
1
  # @Opulent
2
2
  module Opulent
3
- VERSION = '1.8.3'
3
+ VERSION = '1.8.4'
4
4
  end
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Alex Grozav"]
10
10
  spec.email = ["alex@grozav.com"]
11
11
 
12
- spec.summary = %q{Intelligent Templating Engine for Creative Web Developers.}
13
- spec.description = %q{Opulent is an intelligent Templating Engine created to speed up web development through fast rendering and custom web component definitions.}
12
+ spec.summary = %q{Template Engine for Creative Web Developers}
13
+ spec.description = %q{Opulent is a templating engine which strives to make page markup as beautiful and expressive as it should be. It's blazing fast, offers useful reusable component definitions and encourages well organised front end code. Opulent provides the cleanliness, readability and development speed you need for your project.}
14
14
  spec.homepage = "http://opulent.io"
15
15
  spec.license = "MIT"
16
16
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opulent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.3
4
+ version: 1.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Grozav
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-26 00:00:00.000000000 Z
11
+ date: 2016-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -80,8 +80,10 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: 1.3.0
83
- description: Opulent is an intelligent Templating Engine created to speed up web development
84
- through fast rendering and custom web component definitions.
83
+ description: Opulent is a templating engine which strives to make page markup as beautiful
84
+ and expressive as it should be. It's blazing fast, offers useful reusable component
85
+ definitions and encourages well organised front end code. Opulent provides the cleanliness,
86
+ readability and development speed you need for your project.
85
87
  email:
86
88
  - alex@grozav.com
87
89
  executables:
@@ -186,5 +188,5 @@ rubyforge_project:
186
188
  rubygems_version: 2.5.1
187
189
  signing_key:
188
190
  specification_version: 4
189
- summary: Intelligent Templating Engine for Creative Web Developers.
191
+ summary: Template Engine for Creative Web Developers
190
192
  test_files: []