each_sql 0.2.5 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.markdown +14 -0
- data/Gemfile +3 -1
- data/Gemfile.lock +7 -4
- data/README.markdown +23 -11
- data/Rakefile +0 -8
- data/VERSION +1 -1
- data/each_sql.gemspec +0 -3
- data/lib/each_sql.rb +45 -109
- data/lib/each_sql/each_sql.rb +79 -144
- data/lib/each_sql/parser.rb +39 -0
- data/lib/each_sql/parser/sql.citrus.erb +239 -0
- data/test/test_each_sql.rb +76 -276
- data/test/yml/common.yml +601 -0
- data/test/yml/default.yml +21 -0
- data/test/yml/mysql.yml +99 -0
- data/test/yml/oracle.yml +200 -0
- data/test/yml/postgres.yml +234 -0
- metadata +70 -16
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: each_sql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,59 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-03-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: citrus
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 2.4.1
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 2.4.1
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: erubis
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 2.7.0
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 2.7.0
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: quote_unquote
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 0.1.1
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.1.1
|
14
62
|
- !ruby/object:Gem::Dependency
|
15
63
|
name: bundler
|
16
|
-
requirement:
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
17
65
|
none: false
|
18
66
|
requirements:
|
19
67
|
- - ~>
|
@@ -21,10 +69,15 @@ dependencies:
|
|
21
69
|
version: 1.0.0
|
22
70
|
type: :development
|
23
71
|
prerelease: false
|
24
|
-
version_requirements:
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 1.0.0
|
25
78
|
- !ruby/object:Gem::Dependency
|
26
79
|
name: jeweler
|
27
|
-
requirement:
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
28
81
|
none: false
|
29
82
|
requirements:
|
30
83
|
- - ~>
|
@@ -32,18 +85,12 @@ dependencies:
|
|
32
85
|
version: 1.6.2
|
33
86
|
type: :development
|
34
87
|
prerelease: false
|
35
|
-
version_requirements:
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: rcov
|
38
|
-
requirement: &2158647840 !ruby/object:Gem::Requirement
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
89
|
none: false
|
40
90
|
requirements:
|
41
|
-
- -
|
91
|
+
- - ~>
|
42
92
|
- !ruby/object:Gem::Version
|
43
|
-
version:
|
44
|
-
type: :development
|
45
|
-
prerelease: false
|
46
|
-
version_requirements: *2158647840
|
93
|
+
version: 1.6.2
|
47
94
|
description: Enumerate each SQL statement in SQL scripts.
|
48
95
|
email: junegunn.c@gmail.com
|
49
96
|
executables: []
|
@@ -63,9 +110,16 @@ files:
|
|
63
110
|
- each_sql.gemspec
|
64
111
|
- lib/each_sql.rb
|
65
112
|
- lib/each_sql/each_sql.rb
|
113
|
+
- lib/each_sql/parser.rb
|
114
|
+
- lib/each_sql/parser/sql.citrus.erb
|
66
115
|
- test/helper.rb
|
67
116
|
- test/postgres.sql
|
68
117
|
- test/test_each_sql.rb
|
118
|
+
- test/yml/common.yml
|
119
|
+
- test/yml/default.yml
|
120
|
+
- test/yml/mysql.yml
|
121
|
+
- test/yml/oracle.yml
|
122
|
+
- test/yml/postgres.yml
|
69
123
|
homepage: http://github.com/junegunn/each_sql
|
70
124
|
licenses:
|
71
125
|
- MIT
|
@@ -81,7 +135,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
81
135
|
version: '0'
|
82
136
|
segments:
|
83
137
|
- 0
|
84
|
-
hash: -
|
138
|
+
hash: -1680732700145923477
|
85
139
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
86
140
|
none: false
|
87
141
|
requirements:
|
@@ -90,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
144
|
version: '0'
|
91
145
|
requirements: []
|
92
146
|
rubyforge_project:
|
93
|
-
rubygems_version: 1.8.
|
147
|
+
rubygems_version: 1.8.18
|
94
148
|
signing_key:
|
95
149
|
specification_version: 3
|
96
150
|
summary: Enumerate each SQL statement in SQL scripts.
|