baza 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +40 -8
- data/VERSION +1 -1
- data/baza.gemspec +2 -2
- data/include/drivers/sqlite3/sqlite3_tables.rb +3 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
@@ -1,30 +1,62 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
+
addressable (2.3.5)
|
4
5
|
array_enumerator (0.0.3)
|
6
|
+
builder (3.2.2)
|
5
7
|
datet (0.0.25)
|
6
8
|
diff-lcs (1.1.3)
|
7
|
-
|
8
|
-
|
9
|
-
|
9
|
+
faraday (0.8.8)
|
10
|
+
multipart-post (~> 1.2.0)
|
11
|
+
git (1.2.6)
|
12
|
+
github_api (0.10.1)
|
13
|
+
addressable
|
14
|
+
faraday (~> 0.8.1)
|
15
|
+
hashie (>= 1.2)
|
16
|
+
multi_json (~> 1.4)
|
17
|
+
nokogiri (~> 1.5.2)
|
18
|
+
oauth2
|
19
|
+
hashie (2.0.5)
|
20
|
+
highline (1.6.19)
|
21
|
+
http2 (0.0.22)
|
22
|
+
httpauth (0.2.0)
|
23
|
+
jeweler (1.8.7)
|
24
|
+
builder
|
10
25
|
bundler (~> 1.0)
|
11
26
|
git (>= 1.2.5)
|
27
|
+
github_api (= 0.10.1)
|
28
|
+
highline (>= 1.6.15)
|
29
|
+
nokogiri (= 1.5.10)
|
12
30
|
rake
|
13
31
|
rdoc
|
14
|
-
json (1.
|
15
|
-
|
32
|
+
json (1.8.0)
|
33
|
+
jwt (0.1.8)
|
34
|
+
multi_json (>= 1.5)
|
35
|
+
knjrbfw (0.0.107)
|
16
36
|
datet
|
17
37
|
http2
|
18
38
|
php4r
|
19
39
|
ruby_process
|
20
40
|
tsafe
|
21
41
|
wref
|
22
|
-
|
42
|
+
multi_json (1.7.9)
|
43
|
+
multi_xml (0.5.5)
|
44
|
+
multipart-post (1.2.0)
|
45
|
+
mysql2 (0.3.13)
|
46
|
+
nokogiri (1.5.10)
|
47
|
+
oauth2 (0.9.2)
|
48
|
+
faraday (~> 0.8)
|
49
|
+
httpauth (~> 0.2)
|
50
|
+
jwt (~> 0.1.4)
|
51
|
+
multi_json (~> 1.0)
|
52
|
+
multi_xml (~> 0.5)
|
53
|
+
rack (~> 1.2)
|
23
54
|
php4r (0.0.4)
|
24
55
|
datet
|
25
56
|
http2
|
26
57
|
string-strtr
|
27
|
-
|
58
|
+
rack (1.5.2)
|
59
|
+
rake (10.1.0)
|
28
60
|
rdoc (3.12.2)
|
29
61
|
json (~> 1.4)
|
30
62
|
rspec (2.8.0)
|
@@ -38,7 +70,7 @@ GEM
|
|
38
70
|
ruby_process (0.0.8)
|
39
71
|
tsafe
|
40
72
|
wref
|
41
|
-
sqlite3 (1.3.
|
73
|
+
sqlite3 (1.3.8)
|
42
74
|
string-cases (0.0.0)
|
43
75
|
string-strtr (0.0.3)
|
44
76
|
tsafe (0.0.11)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.12
|
data/baza.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "baza"
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.12"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Kasper Johansen"]
|
12
|
-
s.date = "2013-
|
12
|
+
s.date = "2013-09-06"
|
13
13
|
s.description = "A database abstraction layer, model framework and database framework."
|
14
14
|
s.email = "kj@gfish.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -431,7 +431,9 @@ class Baza::Driver::Sqlite3::Tables::Table
|
|
431
431
|
name = index_data[:name]
|
432
432
|
name = "#{self.name}__#{name}" if @db.opts[:index_append_table_name]
|
433
433
|
|
434
|
-
sql = "CREATE
|
434
|
+
sql = "CREATE"
|
435
|
+
sql << " UNIQUE" if index_data[:unique]
|
436
|
+
sql << " INDEX '#{@db.esc_col(name)}' ON `#{@db.esc_table(self.name)}` ("
|
435
437
|
|
436
438
|
first = true
|
437
439
|
index_data[:columns].each do |col_name|
|
metadata
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
name: baza
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.12
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Kasper Johansen
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-09-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -249,7 +249,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
249
249
|
- !ruby/object:Gem::Version
|
250
250
|
segments:
|
251
251
|
- 0
|
252
|
-
hash:
|
252
|
+
hash: -4416024205593696077
|
253
253
|
version: '0'
|
254
254
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
255
255
|
none: false
|