native-query 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -3,7 +3,6 @@ source "http://rubygems.org"
3
3
  # Example:
4
4
  gem "fluent-query", ">= 0.9.1"
5
5
  gem "hash-utils", ">= 0.18.0"
6
- gem "lookup-hash", ">= 0.2.0"
7
6
 
8
7
  # Add dependencies to develop your gem here.
9
8
  # Include everything needed to run rake, tests, features, etc.
@@ -2,19 +2,17 @@ GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
4
  abstract (1.0.0)
5
- fluent-query (0.9.1)
5
+ fluent-query (0.9.2)
6
6
  abstract (>= 1.0.0)
7
7
  hash-utils (>= 0.18.0)
8
8
  hashie (>= 1.0.0)
9
9
  git (1.2.5)
10
- hash-utils (0.18.1)
10
+ hash-utils (0.19.0)
11
11
  hashie (1.1.0)
12
12
  jeweler (1.6.4)
13
13
  bundler (~> 1.0)
14
14
  git (>= 1.2.5)
15
15
  rake
16
- lookup-hash (0.2.0)
17
- hash-utils (>= 0.11.0)
18
16
  rake (0.9.2)
19
17
 
20
18
  PLATFORMS
@@ -25,4 +23,3 @@ DEPENDENCIES
25
23
  fluent-query (>= 0.9.1)
26
24
  hash-utils (>= 0.18.0)
27
25
  jeweler (~> 1.6.0)
28
- lookup-hash (>= 0.2.0)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.2
1
+ 0.9.3
@@ -2,7 +2,7 @@
2
2
  require "fluent-query/connection"
3
3
  require "native-query/query"
4
4
  require "hash-utils/object"
5
- require "lookup-hash"
5
+ require "set"
6
6
 
7
7
  module NativeQuery
8
8
 
@@ -17,7 +17,7 @@ module NativeQuery
17
17
  # connection object.
18
18
  #
19
19
 
20
- RELEVANT_METHODS = LookupHash[
20
+ RELEVANT_METHODS = Set::new [
21
21
  :insert, :update, :delete, :begin, :commit, :rollback, :transaction
22
22
  ]
23
23
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "native-query"
8
- s.version = "0.9.2"
8
+ s.version = "0.9.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Martin Koz\u{e1}k"]
12
- s.date = "2011-08-31"
12
+ s.date = "2011-09-07"
13
13
  s.email = "martinkozak@martinkozak.net"
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE.txt",
@@ -43,20 +43,17 @@ Gem::Specification.new do |s|
43
43
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
44
44
  s.add_runtime_dependency(%q<fluent-query>, [">= 0.9.1"])
45
45
  s.add_runtime_dependency(%q<hash-utils>, [">= 0.18.0"])
46
- s.add_runtime_dependency(%q<lookup-hash>, [">= 0.2.0"])
47
46
  s.add_development_dependency(%q<bundler>, ["~> 1.0.13"])
48
47
  s.add_development_dependency(%q<jeweler>, ["~> 1.6.0"])
49
48
  else
50
49
  s.add_dependency(%q<fluent-query>, [">= 0.9.1"])
51
50
  s.add_dependency(%q<hash-utils>, [">= 0.18.0"])
52
- s.add_dependency(%q<lookup-hash>, [">= 0.2.0"])
53
51
  s.add_dependency(%q<bundler>, ["~> 1.0.13"])
54
52
  s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
55
53
  end
56
54
  else
57
55
  s.add_dependency(%q<fluent-query>, [">= 0.9.1"])
58
56
  s.add_dependency(%q<hash-utils>, [">= 0.18.0"])
59
- s.add_dependency(%q<lookup-hash>, [">= 0.2.0"])
60
57
  s.add_dependency(%q<bundler>, ["~> 1.0.13"])
61
58
  s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
62
59
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: native-query
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-31 00:00:00.000000000 Z
12
+ date: 2011-09-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluent-query
16
- requirement: &15722420 !ruby/object:Gem::Requirement
16
+ requirement: &13959320 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.9.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *15722420
24
+ version_requirements: *13959320
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: hash-utils
27
- requirement: &15721060 !ruby/object:Gem::Requirement
27
+ requirement: &13956500 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,21 +32,10 @@ dependencies:
32
32
  version: 0.18.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *15721060
36
- - !ruby/object:Gem::Dependency
37
- name: lookup-hash
38
- requirement: &15719980 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ! '>='
42
- - !ruby/object:Gem::Version
43
- version: 0.2.0
44
- type: :runtime
45
- prerelease: false
46
- version_requirements: *15719980
35
+ version_requirements: *13956500
47
36
  - !ruby/object:Gem::Dependency
48
37
  name: bundler
49
- requirement: &15718700 !ruby/object:Gem::Requirement
38
+ requirement: &13955300 !ruby/object:Gem::Requirement
50
39
  none: false
51
40
  requirements:
52
41
  - - ~>
@@ -54,10 +43,10 @@ dependencies:
54
43
  version: 1.0.13
55
44
  type: :development
56
45
  prerelease: false
57
- version_requirements: *15718700
46
+ version_requirements: *13955300
58
47
  - !ruby/object:Gem::Dependency
59
48
  name: jeweler
60
- requirement: &15717500 !ruby/object:Gem::Requirement
49
+ requirement: &13954280 !ruby/object:Gem::Requirement
61
50
  none: false
62
51
  requirements:
63
52
  - - ~>
@@ -65,7 +54,7 @@ dependencies:
65
54
  version: 1.6.0
66
55
  type: :development
67
56
  prerelease: false
68
- version_requirements: *15717500
57
+ version_requirements: *13954280
69
58
  description:
70
59
  email: martinkozak@martinkozak.net
71
60
  executables: []
@@ -103,7 +92,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
103
92
  version: '0'
104
93
  segments:
105
94
  - 0
106
- hash: 3322117927025815519
95
+ hash: -655684086935263593
107
96
  required_rubygems_version: !ruby/object:Gem::Requirement
108
97
  none: false
109
98
  requirements: