opulent 1.0.7 → 1.0.8

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: dc38d5cc3026c471f1310cf7beb48cd156c23cfb
4
- data.tar.gz: 0d69fbbb3da365d7d20f7726ecafac7b3ba8593d
3
+ metadata.gz: 8d1b9f97bf86ce80b2d2e7ab951700a0f281153d
4
+ data.tar.gz: a21f3e893357b570cda92f7d9bf2debb9acd466f
5
5
  SHA512:
6
- metadata.gz: 5a5341b39775f5410f2dc8983f219618122617ed2636768610c3c9dec48e665d9ad46f02ac3ae6847f6cff38112484d935e7227703c268178a9d3c58c184028c
7
- data.tar.gz: 136f5752c6fce44857f32b9e27068dc722fbc568f1111834a675a57df998ae76cee61234014b7443fa9e74428698adf98e888b9f26eb4e4f4d2f4d8f1bff69f6
6
+ metadata.gz: e69b1e48db0fe4a820121bbda63b537ef1cd8ede7853687179c918bcd39e2be0b2f2e2c469c70ac34bac2d1abc7f0680d4322094270c3e20b2e2da7db760f6f2
7
+ data.tar.gz: 17705afaa499271b7dff65cd4b5904dd9508476fb169a38155bf35b1e12b4639405f274bb5719421b323799c57603797c67b6f84df2dd3eec060e6c2e03c39ab
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'opulent'
4
+
5
+ Opulent::CLI.start(ARGV)
@@ -0,0 +1,12 @@
1
+ require 'thor'
2
+
3
+ # @Opulent
4
+ module Opulent
5
+ # @CLI
6
+ class CLI < Thor
7
+ desc 'hello NAME', 'Display greeting with given NAME'
8
+ def hello(name)
9
+ puts "Hello #{name}"
10
+ end
11
+ end
12
+ end
@@ -1,4 +1,4 @@
1
1
  # @Opulent
2
2
  module Opulent
3
- VERSION = "1.0.7"
3
+ VERSION = "1.0.8"
4
4
  end
@@ -34,6 +34,7 @@ Gem::Specification.new do |spec|
34
34
  spec.add_development_dependency "rake", "~> 10.0"
35
35
  spec.add_development_dependency "rspec"
36
36
 
37
- spec.add_runtime_dependency 'tilt'
38
37
  spec.add_runtime_dependency 'htmlentities'
38
+ spec.add_runtime_dependency 'tilt'
39
+ spec.add_runtime_dependency 'thor'
39
40
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opulent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Grozav
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: htmlentities
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: tilt
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -67,7 +81,7 @@ dependencies:
67
81
  - !ruby/object:Gem::Version
68
82
  version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
- name: htmlentities
84
+ name: thor
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
87
  - - ">="
@@ -134,10 +148,12 @@ files:
134
148
  - benchmark/cases/node/node.op
135
149
  - benchmark/cases/node/node.slim
136
150
  - bin/console
151
+ - bin/opulent
137
152
  - bin/setup
138
153
  - docs/syntax.md
139
154
  - docs/usage.md
140
155
  - lib/opulent.rb
156
+ - lib/opulent/cli.rb
141
157
  - lib/opulent/compiler.rb
142
158
  - lib/opulent/compiler/block.rb
143
159
  - lib/opulent/compiler/comment.rb