luobo 0.0.5 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/backup/spec/parser_spec.rb +0 -0
- data/examples/loop_example.rb +0 -0
- data/examples/lua_loop.lua +0 -0
- data/lib/luobo/token.rb +0 -4
- data/lib/luobo/version.rb +1 -1
- data/spec/block_spec.rb +0 -0
- data/spec/loop_spec.rb +0 -0
- data/spec/lua_loop_spec.rb +0 -0
- data/spec/token_spec.rb +0 -0
- metadata +3 -3
data/backup/spec/parser_spec.rb
CHANGED
|
File without changes
|
data/examples/loop_example.rb
CHANGED
|
File without changes
|
data/examples/lua_loop.lua
CHANGED
|
File without changes
|
data/lib/luobo/token.rb
CHANGED
|
@@ -8,10 +8,6 @@ class Token
|
|
|
8
8
|
@blocks = Array.new if block_open
|
|
9
9
|
end
|
|
10
10
|
|
|
11
|
-
def indent
|
|
12
|
-
" " * indent_level
|
|
13
|
-
end
|
|
14
|
-
|
|
15
11
|
# add a line to current block args, separate each line with "\n"
|
|
16
12
|
def add_block_code line
|
|
17
13
|
raise "block not opened in line #{:ln}" unless block_open?
|
data/lib/luobo/version.rb
CHANGED
data/spec/block_spec.rb
CHANGED
|
File without changes
|
data/spec/loop_spec.rb
CHANGED
|
File without changes
|
data/spec/lua_loop_spec.rb
CHANGED
|
File without changes
|
data/spec/token_spec.rb
CHANGED
|
File without changes
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: luobo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 0.1.0
|
|
5
5
|
prerelease:
|
|
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-
|
|
12
|
+
date: 2013-03-31 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rspec
|
|
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
101
101
|
version: '0'
|
|
102
102
|
requirements: []
|
|
103
103
|
rubyforge_project:
|
|
104
|
-
rubygems_version: 1.8.
|
|
104
|
+
rubygems_version: 1.8.24
|
|
105
105
|
signing_key:
|
|
106
106
|
specification_version: 3
|
|
107
107
|
summary: Easy to extend macroes inside you soure code
|