talentbox-sequel-rails 0.3.8 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +15 -14
- data/History.md +4 -2
- data/README.rdoc +1 -0
- data/lib/sequel-rails/storage.rb +4 -3
- data/lib/sequel-rails/version.rb +1 -1
- metadata +44 -44
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
talentbox-sequel-rails (0.3.
|
4
|
+
talentbox-sequel-rails (0.3.9)
|
5
5
|
railties (~> 3.2.0)
|
6
6
|
sequel (~> 3.28)
|
7
7
|
|
@@ -9,20 +9,20 @@ GEM
|
|
9
9
|
remote: http://rubygems.org/
|
10
10
|
specs:
|
11
11
|
ZenTest (4.6.2)
|
12
|
-
actionpack (3.2.
|
13
|
-
activemodel (= 3.2.
|
14
|
-
activesupport (= 3.2.
|
12
|
+
actionpack (3.2.9)
|
13
|
+
activemodel (= 3.2.9)
|
14
|
+
activesupport (= 3.2.9)
|
15
15
|
builder (~> 3.0.0)
|
16
16
|
erubis (~> 2.7.0)
|
17
17
|
journey (~> 1.0.4)
|
18
18
|
rack (~> 1.4.0)
|
19
19
|
rack-cache (~> 1.2)
|
20
20
|
rack-test (~> 0.6.1)
|
21
|
-
sprockets (~> 2.1
|
22
|
-
activemodel (3.2.
|
23
|
-
activesupport (= 3.2.
|
21
|
+
sprockets (~> 2.2.1)
|
22
|
+
activemodel (3.2.9)
|
23
|
+
activesupport (= 3.2.9)
|
24
24
|
builder (~> 3.0.0)
|
25
|
-
activesupport (3.2.
|
25
|
+
activesupport (3.2.9)
|
26
26
|
i18n (~> 0.6)
|
27
27
|
multi_json (~> 1.0)
|
28
28
|
autotest (4.4.6)
|
@@ -34,7 +34,7 @@ GEM
|
|
34
34
|
i18n (0.6.1)
|
35
35
|
journey (1.0.4)
|
36
36
|
json (1.7.5)
|
37
|
-
multi_json (1.
|
37
|
+
multi_json (1.4.0)
|
38
38
|
rack (1.4.1)
|
39
39
|
rack-cache (1.2)
|
40
40
|
rack (>= 0.4)
|
@@ -42,9 +42,9 @@ GEM
|
|
42
42
|
rack
|
43
43
|
rack-test (0.6.2)
|
44
44
|
rack (>= 1.0)
|
45
|
-
railties (3.2.
|
46
|
-
actionpack (= 3.2.
|
47
|
-
activesupport (= 3.2.
|
45
|
+
railties (3.2.9)
|
46
|
+
actionpack (= 3.2.9)
|
47
|
+
activesupport (= 3.2.9)
|
48
48
|
rack-ssl (~> 1.3.2)
|
49
49
|
rake (>= 0.8.7)
|
50
50
|
rdoc (~> 3.4)
|
@@ -61,9 +61,10 @@ GEM
|
|
61
61
|
rspec-expectations (2.7.0)
|
62
62
|
diff-lcs (~> 1.1.2)
|
63
63
|
rspec-mocks (2.7.0)
|
64
|
-
sequel (3.
|
65
|
-
sprockets (2.
|
64
|
+
sequel (3.42.0)
|
65
|
+
sprockets (2.2.2)
|
66
66
|
hike (~> 1.2)
|
67
|
+
multi_json (~> 1.0)
|
67
68
|
rack (~> 1.0)
|
68
69
|
tilt (~> 1.1, != 1.3.0)
|
69
70
|
thor (0.16.0)
|
data/History.md
CHANGED
data/README.rdoc
CHANGED
data/lib/sequel-rails/storage.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'shellwords'
|
1
2
|
module Rails
|
2
3
|
module Sequel
|
3
4
|
|
@@ -140,9 +141,9 @@ module Rails
|
|
140
141
|
|
141
142
|
def execute(statement)
|
142
143
|
commands = ["mysql"]
|
143
|
-
commands << "--user"
|
144
|
-
commands << "--password"
|
145
|
-
commands << "--host"
|
144
|
+
commands << "--user=#{Shellwords.escape(username)}" unless username.blank?
|
145
|
+
commands << "--password=#{Shellwords.escape(password)}" unless password.blank?
|
146
|
+
commands << "--host=#{host}" unless host.blank?
|
146
147
|
commands << "-e" << statement
|
147
148
|
system(*commands)
|
148
149
|
end
|
data/lib/sequel-rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: talentbox-sequel-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.8
|
5
4
|
prerelease:
|
5
|
+
version: 0.3.9
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Brasten Sager (brasten)
|
@@ -10,120 +10,120 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-12-07 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
+
version_requirements: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ~>
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '3.28'
|
21
|
+
none: false
|
22
|
+
prerelease: false
|
16
23
|
name: sequel
|
17
24
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
25
|
requirements:
|
20
26
|
- - ~>
|
21
27
|
- !ruby/object:Gem::Version
|
22
28
|
version: '3.28'
|
29
|
+
none: false
|
23
30
|
type: :runtime
|
24
|
-
|
31
|
+
- !ruby/object:Gem::Dependency
|
25
32
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
33
|
requirements:
|
28
34
|
- - ~>
|
29
35
|
- !ruby/object:Gem::Version
|
30
|
-
version:
|
31
|
-
|
36
|
+
version: 3.2.0
|
37
|
+
none: false
|
38
|
+
prerelease: false
|
32
39
|
name: railties
|
33
40
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
41
|
requirements:
|
36
42
|
- - ~>
|
37
43
|
- !ruby/object:Gem::Version
|
38
44
|
version: 3.2.0
|
45
|
+
none: false
|
39
46
|
type: :runtime
|
40
|
-
|
47
|
+
- !ruby/object:Gem::Dependency
|
41
48
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
49
|
requirements:
|
44
50
|
- - ~>
|
45
51
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
47
|
-
|
52
|
+
version: 0.8.7
|
53
|
+
none: false
|
54
|
+
prerelease: false
|
48
55
|
name: rake
|
49
56
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
57
|
requirements:
|
52
58
|
- - ~>
|
53
59
|
- !ruby/object:Gem::Version
|
54
60
|
version: 0.8.7
|
61
|
+
none: false
|
55
62
|
type: :development
|
56
|
-
|
63
|
+
- !ruby/object:Gem::Dependency
|
57
64
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
65
|
requirements:
|
60
66
|
- - ~>
|
61
67
|
- !ruby/object:Gem::Version
|
62
|
-
version: 0.
|
63
|
-
|
68
|
+
version: '0.5'
|
69
|
+
none: false
|
70
|
+
prerelease: false
|
64
71
|
name: yard
|
65
72
|
requirement: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
73
|
requirements:
|
68
74
|
- - ~>
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0.5'
|
77
|
+
none: false
|
71
78
|
type: :development
|
72
|
-
|
79
|
+
- !ruby/object:Gem::Dependency
|
73
80
|
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
none: false
|
75
81
|
requirements:
|
76
82
|
- - ~>
|
77
83
|
- !ruby/object:Gem::Version
|
78
|
-
version:
|
79
|
-
|
84
|
+
version: 2.7.0
|
85
|
+
none: false
|
86
|
+
prerelease: false
|
80
87
|
name: rspec
|
81
88
|
requirement: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
89
|
requirements:
|
84
90
|
- - ~>
|
85
91
|
- !ruby/object:Gem::Version
|
86
92
|
version: 2.7.0
|
93
|
+
none: false
|
87
94
|
type: :development
|
88
|
-
|
95
|
+
- !ruby/object:Gem::Dependency
|
89
96
|
version_requirements: !ruby/object:Gem::Requirement
|
90
|
-
none: false
|
91
97
|
requirements:
|
92
98
|
- - ~>
|
93
99
|
- !ruby/object:Gem::Version
|
94
|
-
version:
|
95
|
-
|
100
|
+
version: 4.4.6
|
101
|
+
none: false
|
102
|
+
prerelease: false
|
96
103
|
name: autotest
|
97
104
|
requirement: !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
105
|
requirements:
|
100
106
|
- - ~>
|
101
107
|
- !ruby/object:Gem::Version
|
102
108
|
version: 4.4.6
|
109
|
+
none: false
|
103
110
|
type: :development
|
104
|
-
|
111
|
+
- !ruby/object:Gem::Dependency
|
105
112
|
version_requirements: !ruby/object:Gem::Requirement
|
106
|
-
none: false
|
107
113
|
requirements:
|
108
114
|
- - ~>
|
109
115
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
111
|
-
|
116
|
+
version: 0.9.11
|
117
|
+
none: false
|
118
|
+
prerelease: false
|
112
119
|
name: rcov
|
113
120
|
requirement: !ruby/object:Gem::Requirement
|
114
|
-
none: false
|
115
121
|
requirements:
|
116
122
|
- - ~>
|
117
123
|
- !ruby/object:Gem::Version
|
118
124
|
version: 0.9.11
|
119
|
-
type: :development
|
120
|
-
prerelease: false
|
121
|
-
version_requirements: !ruby/object:Gem::Requirement
|
122
125
|
none: false
|
123
|
-
|
124
|
-
- - ~>
|
125
|
-
- !ruby/object:Gem::Version
|
126
|
-
version: 0.9.11
|
126
|
+
type: :development
|
127
127
|
description: Integrate Sequel with Rails 3
|
128
128
|
email:
|
129
129
|
- brasten@gmail.com
|
@@ -184,23 +184,23 @@ rdoc_options:
|
|
184
184
|
require_paths:
|
185
185
|
- lib
|
186
186
|
required_ruby_version: !ruby/object:Gem::Requirement
|
187
|
-
none: false
|
188
187
|
requirements:
|
189
188
|
- - ! '>='
|
190
189
|
- !ruby/object:Gem::Version
|
191
190
|
version: '0'
|
192
191
|
segments:
|
193
192
|
- 0
|
194
|
-
hash:
|
195
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
193
|
+
hash: 1751876895710074251
|
196
194
|
none: false
|
195
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
197
196
|
requirements:
|
198
197
|
- - ! '>='
|
199
198
|
- !ruby/object:Gem::Version
|
200
199
|
version: '0'
|
201
200
|
segments:
|
202
201
|
- 0
|
203
|
-
hash:
|
202
|
+
hash: 1751876895710074251
|
203
|
+
none: false
|
204
204
|
requirements: []
|
205
205
|
rubyforge_project:
|
206
206
|
rubygems_version: 1.8.24
|