yaddl 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/yaddl.rb +2 -2
- data/lib/yaddl/version.rb +1 -1
- metadata +2 -2
data/lib/yaddl.rb
CHANGED
@@ -597,10 +597,10 @@ end.join } <td><%= link_to 'Show', #{name.underscore} %></td>
|
|
597
597
|
models[parent]['ddl'] ||= [] if parent
|
598
598
|
models[parent]['ddl'] << (parent ? "#{parent} > " : '') + line if parent
|
599
599
|
|
600
|
-
place = line.sub(/^\!\!?(
|
600
|
+
place = line.sub(/^\!\!?([a-zA-Z_]+\??\!?)\{.*/m,'\1').strip
|
601
601
|
place = 'before' if place == ""
|
602
602
|
_unique = line[1] == "!"
|
603
|
-
line.sub!(line.sub(/^(
|
603
|
+
line.sub!(line.sub(/^(\!\!?[a-zA-Z_]+\??\!?)\{.*/m,'\1'),'')
|
604
604
|
models[parent]['code'] ||= {} if parent
|
605
605
|
models[parent]['code'][place] ||= [] if parent
|
606
606
|
if line[0] == "{"
|
data/lib/yaddl/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yaddl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
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: 2014-
|
12
|
+
date: 2014-05-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|