activerecord-simpledb-adapter 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,15 +1,15 @@
1
1
  source "http://rubygems.org"
2
2
 
3
+ gem 'aws', '~> 2.3.0'
4
+ gem 'rails', '~> 3.0.9'
5
+ gem 'uuidtools', '~> 2.1.1'
6
+
3
7
  group :development do
4
- gem "awesome_print"
5
- gem "rspec", "~> 2.3.0"
6
- gem "bundler", "~> 1.0.0"
7
- gem "jeweler"
8
- gem "rcov", ">= 0"
9
- gem "aws"
10
- gem "activerecord"
11
- gem "activesupport"
8
+ gem 'awesome_print'
9
+ gem 'rspec', '~> 2.3.0'
10
+ gem 'jeweler'
11
+ gem 'rcov', '>= 0'
12
12
  gem 'genspec', '0.2.0.prerails3.2'
13
13
  gem 'thor'
14
- gem 'rails'
14
+ gem 'ruby-debug'
15
15
  end
data/Gemfile.lock CHANGED
@@ -2,12 +2,12 @@ GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
4
  abstract (1.0.0)
5
- actionmailer (3.0.7)
6
- actionpack (= 3.0.7)
7
- mail (~> 2.2.15)
8
- actionpack (3.0.7)
9
- activemodel (= 3.0.7)
10
- activesupport (= 3.0.7)
5
+ actionmailer (3.0.9)
6
+ actionpack (= 3.0.9)
7
+ mail (~> 2.2.19)
8
+ actionpack (3.0.9)
9
+ activemodel (= 3.0.9)
10
+ activesupport (= 3.0.9)
11
11
  builder (~> 2.1.2)
12
12
  erubis (~> 2.6.6)
13
13
  i18n (~> 0.5.0)
@@ -15,26 +15,28 @@ GEM
15
15
  rack-mount (~> 0.6.14)
16
16
  rack-test (~> 0.5.7)
17
17
  tzinfo (~> 0.3.23)
18
- activemodel (3.0.7)
19
- activesupport (= 3.0.7)
18
+ activemodel (3.0.9)
19
+ activesupport (= 3.0.9)
20
20
  builder (~> 2.1.2)
21
21
  i18n (~> 0.5.0)
22
- activerecord (3.0.7)
23
- activemodel (= 3.0.7)
24
- activesupport (= 3.0.7)
25
- arel (~> 2.0.2)
22
+ activerecord (3.0.9)
23
+ activemodel (= 3.0.9)
24
+ activesupport (= 3.0.9)
25
+ arel (~> 2.0.10)
26
26
  tzinfo (~> 0.3.23)
27
- activeresource (3.0.7)
28
- activemodel (= 3.0.7)
29
- activesupport (= 3.0.7)
30
- activesupport (3.0.7)
27
+ activeresource (3.0.9)
28
+ activemodel (= 3.0.9)
29
+ activesupport (= 3.0.9)
30
+ activesupport (3.0.9)
31
31
  arel (2.0.10)
32
32
  awesome_print (0.4.0)
33
- aws (2.5.3)
33
+ aws (2.3.34)
34
+ activesupport
34
35
  http_connection
35
36
  uuidtools
36
37
  xml-simple
37
38
  builder (2.1.2)
39
+ columnize (0.3.4)
38
40
  diff-lcs (1.1.2)
39
41
  erubis (2.6.6)
40
42
  abstract (>= 1.0.0)
@@ -44,10 +46,12 @@ GEM
44
46
  git (1.2.5)
45
47
  http_connection (1.4.1)
46
48
  i18n (0.5.0)
47
- jeweler (1.6.0)
48
- bundler (~> 1.0.0)
49
+ jeweler (1.6.4)
50
+ bundler (~> 1.0)
49
51
  git (>= 1.2.5)
50
52
  rake
53
+ linecache (0.46)
54
+ rbx-require-relative (> 0.0.4)
51
55
  mail (2.2.19)
52
56
  activesupport (>= 2.3.6)
53
57
  i18n (>= 0.4.0)
@@ -60,21 +64,24 @@ GEM
60
64
  rack (>= 1.0.0)
61
65
  rack-test (0.5.7)
62
66
  rack (>= 1.0)
63
- rails (3.0.7)
64
- actionmailer (= 3.0.7)
65
- actionpack (= 3.0.7)
66
- activerecord (= 3.0.7)
67
- activeresource (= 3.0.7)
68
- activesupport (= 3.0.7)
67
+ rails (3.0.9)
68
+ actionmailer (= 3.0.9)
69
+ actionpack (= 3.0.9)
70
+ activerecord (= 3.0.9)
71
+ activeresource (= 3.0.9)
72
+ activesupport (= 3.0.9)
69
73
  bundler (~> 1.0)
70
- railties (= 3.0.7)
71
- railties (3.0.7)
72
- actionpack (= 3.0.7)
73
- activesupport (= 3.0.7)
74
+ railties (= 3.0.9)
75
+ railties (3.0.9)
76
+ actionpack (= 3.0.9)
77
+ activesupport (= 3.0.9)
74
78
  rake (>= 0.8.7)
79
+ rdoc (~> 3.4)
75
80
  thor (~> 0.14.4)
76
- rake (0.9.0)
81
+ rake (0.9.2)
82
+ rbx-require-relative (0.0.5)
77
83
  rcov (0.9.9)
84
+ rdoc (3.8)
78
85
  rspec (2.3.0)
79
86
  rspec-core (~> 2.3.0)
80
87
  rspec-expectations (~> 2.3.0)
@@ -83,27 +90,31 @@ GEM
83
90
  rspec-expectations (2.3.0)
84
91
  diff-lcs (~> 1.1.2)
85
92
  rspec-mocks (2.3.0)
93
+ ruby-debug (0.10.4)
94
+ columnize (>= 0.1)
95
+ ruby-debug-base (~> 0.10.4.0)
96
+ ruby-debug-base (0.10.4)
97
+ linecache (>= 0.3)
86
98
  sc-core-ext (1.2.1)
87
99
  activesupport (>= 2.3.5)
88
100
  thor (0.14.6)
89
101
  treetop (1.4.9)
90
102
  polyglot (>= 0.3.1)
91
- tzinfo (0.3.27)
103
+ tzinfo (0.3.29)
92
104
  uuidtools (2.1.2)
93
- xml-simple (1.0.15)
105
+ xml-simple (1.1.0)
94
106
 
95
107
  PLATFORMS
96
108
  ruby
97
109
 
98
110
  DEPENDENCIES
99
- activerecord
100
- activesupport
101
111
  awesome_print
102
- aws
103
- bundler (~> 1.0.0)
112
+ aws (~> 2.3.0)
104
113
  genspec (= 0.2.0.prerails3.2)
105
114
  jeweler
106
- rails
115
+ rails (~> 3.0.9)
107
116
  rcov
108
117
  rspec (~> 2.3.0)
118
+ ruby-debug
109
119
  thor
120
+ uuidtools (~> 2.1.1)
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{activerecord-simpledb-adapter}
8
- s.version = "0.4.6"
8
+ s.version = "0.4.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ilia Ablamonov", "Alex Gorkunov", "Cloud Castle Inc."]
12
- s.date = %q{2011-05-24}
12
+ s.date = %q{2011-07-07}
13
13
  s.email = %q{ilia@flamefork.ru}
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE.txt",
@@ -48,57 +48,39 @@ Gem::Specification.new do |s|
48
48
  s.specification_version = 3
49
49
 
50
50
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
51
+ s.add_runtime_dependency(%q<aws>, ["~> 2.3.0"])
52
+ s.add_runtime_dependency(%q<rails>, ["~> 3.0.9"])
53
+ s.add_runtime_dependency(%q<uuidtools>, ["~> 2.1.1"])
51
54
  s.add_development_dependency(%q<awesome_print>, [">= 0"])
52
55
  s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
53
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
54
56
  s.add_development_dependency(%q<jeweler>, [">= 0"])
55
57
  s.add_development_dependency(%q<rcov>, [">= 0"])
56
- s.add_development_dependency(%q<aws>, [">= 0"])
57
- s.add_development_dependency(%q<activerecord>, [">= 0"])
58
- s.add_development_dependency(%q<activesupport>, [">= 0"])
59
58
  s.add_development_dependency(%q<genspec>, ["= 0.2.0.prerails3.2"])
60
59
  s.add_development_dependency(%q<thor>, [">= 0"])
61
- s.add_development_dependency(%q<rails>, [">= 0"])
62
- s.add_runtime_dependency(%q<aws>, ["~> 2.3.0"])
63
- s.add_runtime_dependency(%q<activerecord>, ["~> 3.0.7"])
64
- s.add_runtime_dependency(%q<activesupport>, ["~> 3.0.7"])
65
- s.add_runtime_dependency(%q<uuidtools>, ["~> 2.1.1"])
66
- s.add_runtime_dependency(%q<rails>, ["~> 3.0.7"])
60
+ s.add_development_dependency(%q<ruby-debug>, [">= 0"])
67
61
  else
62
+ s.add_dependency(%q<aws>, ["~> 2.3.0"])
63
+ s.add_dependency(%q<rails>, ["~> 3.0.9"])
64
+ s.add_dependency(%q<uuidtools>, ["~> 2.1.1"])
68
65
  s.add_dependency(%q<awesome_print>, [">= 0"])
69
66
  s.add_dependency(%q<rspec>, ["~> 2.3.0"])
70
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
71
67
  s.add_dependency(%q<jeweler>, [">= 0"])
72
68
  s.add_dependency(%q<rcov>, [">= 0"])
73
- s.add_dependency(%q<aws>, [">= 0"])
74
- s.add_dependency(%q<activerecord>, [">= 0"])
75
- s.add_dependency(%q<activesupport>, [">= 0"])
76
69
  s.add_dependency(%q<genspec>, ["= 0.2.0.prerails3.2"])
77
70
  s.add_dependency(%q<thor>, [">= 0"])
78
- s.add_dependency(%q<rails>, [">= 0"])
79
- s.add_dependency(%q<aws>, ["~> 2.3.0"])
80
- s.add_dependency(%q<activerecord>, ["~> 3.0.7"])
81
- s.add_dependency(%q<activesupport>, ["~> 3.0.7"])
82
- s.add_dependency(%q<uuidtools>, ["~> 2.1.1"])
83
- s.add_dependency(%q<rails>, ["~> 3.0.7"])
71
+ s.add_dependency(%q<ruby-debug>, [">= 0"])
84
72
  end
85
73
  else
74
+ s.add_dependency(%q<aws>, ["~> 2.3.0"])
75
+ s.add_dependency(%q<rails>, ["~> 3.0.9"])
76
+ s.add_dependency(%q<uuidtools>, ["~> 2.1.1"])
86
77
  s.add_dependency(%q<awesome_print>, [">= 0"])
87
78
  s.add_dependency(%q<rspec>, ["~> 2.3.0"])
88
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
89
79
  s.add_dependency(%q<jeweler>, [">= 0"])
90
80
  s.add_dependency(%q<rcov>, [">= 0"])
91
- s.add_dependency(%q<aws>, [">= 0"])
92
- s.add_dependency(%q<activerecord>, [">= 0"])
93
- s.add_dependency(%q<activesupport>, [">= 0"])
94
81
  s.add_dependency(%q<genspec>, ["= 0.2.0.prerails3.2"])
95
82
  s.add_dependency(%q<thor>, [">= 0"])
96
- s.add_dependency(%q<rails>, [">= 0"])
97
- s.add_dependency(%q<aws>, ["~> 2.3.0"])
98
- s.add_dependency(%q<activerecord>, ["~> 3.0.7"])
99
- s.add_dependency(%q<activesupport>, ["~> 3.0.7"])
100
- s.add_dependency(%q<uuidtools>, ["~> 2.1.1"])
101
- s.add_dependency(%q<rails>, ["~> 3.0.7"])
83
+ s.add_dependency(%q<ruby-debug>, [">= 0"])
102
84
  end
103
85
  end
104
86
 
@@ -34,17 +34,9 @@ module ActiveRecord
34
34
 
35
35
  #========= QUOTING =====================
36
36
 
37
- #dirty hack for removing all (') from value for hash table attrubutes
38
- def hash_value_quote(value, column = nil)
39
- return nil if value.nil?
40
- quote(value, column).gsub /^'*|'*$/, ''
41
- end
42
-
43
37
  def quote(value, column = nil)
44
- if value.present? && column.present? && column.number?
45
- "'#{column.quote_number value}'"
46
- elsif value.nil?
47
- "'#{nil_representation}'"
38
+ if value.nil?
39
+ quote(nil_representation, column)
48
40
  else
49
41
  super
50
42
  end
@@ -188,7 +180,7 @@ module ActiveRecord
188
180
  attrs.each {|k, vs|
189
181
  column = columns[k]
190
182
  if column.present?
191
- ritem[column.name] = column.unquote_number(vs.first)
183
+ ritem[column.name] = column.unconvert(vs.first)
192
184
  else
193
185
  ritem[k] = vs.first
194
186
  end
@@ -35,5 +35,10 @@ module ActiveRecord
35
35
  block.call
36
36
  connection.commit_batch
37
37
  end
38
+
39
+ #disable quoting for id
40
+ def quoted_id
41
+ id
42
+ end
38
43
  end
39
44
  end
@@ -1,6 +1,8 @@
1
1
  module ActiveRecord
2
2
  module ConnectionAdapters
3
3
  class SimpleDBColumn < Column
4
+ # include qouting for correct converting date to sdb
5
+ include Quoting
4
6
 
5
7
  DEFAULT_NUMBER_LIMIT = 4
6
8
  DEFAULT_FLOAT_PRECISION = 4
@@ -13,24 +15,36 @@ module ActiveRecord
13
15
  @to = to
14
16
  end
15
17
 
16
- def quote_number value
18
+ #convert to sdb
19
+ def convert value
20
+ return nil if value.nil?
17
21
  case sql_type
18
22
  when :float then
19
23
  sprintf("%.#{number_precision}f", number_shift + value.to_f)
20
- else
24
+ when :integer then
21
25
  (number_shift + value.to_i).to_s
26
+ when :json then
27
+ ActiveSupport::JSON.encode(value)
28
+ else
29
+ if value.acts_like?(:date) || value.acts_like?(:time)
30
+ quoted_date(value)
31
+ else
32
+ value.to_s
33
+ end
22
34
  end
23
35
  end
24
36
 
25
- def unquote_number value
37
+ #unconvert to sdb
38
+ def unconvert value
26
39
  return nil if value.nil?
27
-
28
40
  case sql_type
29
41
  when :integer then
30
42
  value.to_i - number_shift
31
43
  when :float then
32
44
  precision_part = 10 ** number_precision
33
45
  ((value.to_f - number_shift) * precision_part).round / precision_part.to_f
46
+ when :json then
47
+ ActiveSupport::JSON.decode(value)
34
48
  else
35
49
  value
36
50
  end
@@ -27,6 +27,13 @@ module ActiveRecord
27
27
  @columns_with_defaults ||= @columns.select { |column| column.default.present? }
28
28
  end
29
29
 
30
+ #for json type
31
+ def json(*args)
32
+ options = args.extract_options!
33
+ column_names = args
34
+ column_names.each { |name| column(name, 'json', options) }
35
+ end
36
+
30
37
  end
31
38
  end
32
39
  end
@@ -4,10 +4,6 @@ module Arel
4
4
  class SimpleDB < Arel::Visitors::ToSql
5
5
  private
6
6
 
7
- def hash_value_quote value, column = nil
8
- @connection.hash_value_quote value, column
9
- end
10
-
11
7
  def visit_Arel_Nodes_DeleteStatement o
12
8
  {
13
9
  :action => :delete,
@@ -54,8 +50,8 @@ module Arel
54
50
 
55
51
  def visit_Arel_Nodes_Values o
56
52
  result = {}
57
- o.expressions.zip(o.columns).map {|value, column|
58
- result[column.column.db_column_name] = hash_value_quote(value, column.column)
53
+ o.expressions.zip(o.columns).map {|v, c|
54
+ result[c.column.db_column_name] = c.column.convert(v)
59
55
  }
60
56
  result
61
57
  end
@@ -69,20 +65,17 @@ module Arel
69
65
  end
70
66
 
71
67
  def visit_Arel_Nodes_Assignment o
72
- right = o.right ? hash_value_quote(o.right, o.left.column) : nil
68
+ right = o.right ? o.left.column.convert(o.right) : nil
73
69
  left = o.left.column.name
74
70
  {left => right}
75
71
  end
76
72
 
77
73
  def visit_Arel_Nodes_Equality o
78
- right = o.right ? hash_value_quote(o.right, o.left.column) : nil
79
- begin
74
+ right = o.right ? o.left.column.convert(o.right) : nil
80
75
  left = o.left.column.name
81
- rescue
82
- puts $!.backtrace
83
- end
84
76
  {left => right}.tap { |m|
85
- m.override_to_s "#{visit o.left} = #{quote(o.right, o.left.column)}"
77
+ value = o.left.column.convert(o.right)
78
+ m.override_to_s "#{visit o.left} = #{quote(value)}"
86
79
  }
87
80
  end
88
81
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-simpledb-adapter
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 1
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 6
10
- version: 0.4.6
9
+ - 7
10
+ version: 0.4.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ilia Ablamonov
@@ -17,55 +17,57 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-05-24 00:00:00 +04:00
20
+ date: 2011-07-07 00:00:00 +04:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
24
24
  version_requirements: &id001 !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ">="
27
+ - - ~>
28
28
  - !ruby/object:Gem::Version
29
29
  hash: 3
30
30
  segments:
31
+ - 2
32
+ - 3
31
33
  - 0
32
- version: "0"
34
+ version: 2.3.0
33
35
  requirement: *id001
34
36
  prerelease: false
35
- type: :development
36
- name: awesome_print
37
+ type: :runtime
38
+ name: aws
37
39
  - !ruby/object:Gem::Dependency
38
40
  version_requirements: &id002 !ruby/object:Gem::Requirement
39
41
  none: false
40
42
  requirements:
41
43
  - - ~>
42
44
  - !ruby/object:Gem::Version
43
- hash: 3
45
+ hash: 21
44
46
  segments:
45
- - 2
46
47
  - 3
47
48
  - 0
48
- version: 2.3.0
49
+ - 9
50
+ version: 3.0.9
49
51
  requirement: *id002
50
52
  prerelease: false
51
- type: :development
52
- name: rspec
53
+ type: :runtime
54
+ name: rails
53
55
  - !ruby/object:Gem::Dependency
54
56
  version_requirements: &id003 !ruby/object:Gem::Requirement
55
57
  none: false
56
58
  requirements:
57
59
  - - ~>
58
60
  - !ruby/object:Gem::Version
59
- hash: 23
61
+ hash: 9
60
62
  segments:
63
+ - 2
61
64
  - 1
62
- - 0
63
- - 0
64
- version: 1.0.0
65
+ - 1
66
+ version: 2.1.1
65
67
  requirement: *id003
66
68
  prerelease: false
67
- type: :development
68
- name: bundler
69
+ type: :runtime
70
+ name: uuidtools
69
71
  - !ruby/object:Gem::Dependency
70
72
  version_requirements: &id004 !ruby/object:Gem::Requirement
71
73
  none: false
@@ -79,21 +81,23 @@ dependencies:
79
81
  requirement: *id004
80
82
  prerelease: false
81
83
  type: :development
82
- name: jeweler
84
+ name: awesome_print
83
85
  - !ruby/object:Gem::Dependency
84
86
  version_requirements: &id005 !ruby/object:Gem::Requirement
85
87
  none: false
86
88
  requirements:
87
- - - ">="
89
+ - - ~>
88
90
  - !ruby/object:Gem::Version
89
91
  hash: 3
90
92
  segments:
93
+ - 2
94
+ - 3
91
95
  - 0
92
- version: "0"
96
+ version: 2.3.0
93
97
  requirement: *id005
94
98
  prerelease: false
95
99
  type: :development
96
- name: rcov
100
+ name: rspec
97
101
  - !ruby/object:Gem::Dependency
98
102
  version_requirements: &id006 !ruby/object:Gem::Requirement
99
103
  none: false
@@ -107,7 +111,7 @@ dependencies:
107
111
  requirement: *id006
108
112
  prerelease: false
109
113
  type: :development
110
- name: aws
114
+ name: jeweler
111
115
  - !ruby/object:Gem::Dependency
112
116
  version_requirements: &id007 !ruby/object:Gem::Requirement
113
117
  none: false
@@ -121,23 +125,9 @@ dependencies:
121
125
  requirement: *id007
122
126
  prerelease: false
123
127
  type: :development
124
- name: activerecord
128
+ name: rcov
125
129
  - !ruby/object:Gem::Dependency
126
130
  version_requirements: &id008 !ruby/object:Gem::Requirement
127
- none: false
128
- requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- hash: 3
132
- segments:
133
- - 0
134
- version: "0"
135
- requirement: *id008
136
- prerelease: false
137
- type: :development
138
- name: activesupport
139
- - !ruby/object:Gem::Dependency
140
- version_requirements: &id009 !ruby/object:Gem::Requirement
141
131
  none: false
142
132
  requirements:
143
133
  - - "="
@@ -150,12 +140,12 @@ dependencies:
150
140
  - prerails3
151
141
  - 2
152
142
  version: 0.2.0.prerails3.2
153
- requirement: *id009
143
+ requirement: *id008
154
144
  prerelease: false
155
145
  type: :development
156
146
  name: genspec
157
147
  - !ruby/object:Gem::Dependency
158
- version_requirements: &id010 !ruby/object:Gem::Requirement
148
+ version_requirements: &id009 !ruby/object:Gem::Requirement
159
149
  none: false
160
150
  requirements:
161
151
  - - ">="
@@ -164,12 +154,12 @@ dependencies:
164
154
  segments:
165
155
  - 0
166
156
  version: "0"
167
- requirement: *id010
157
+ requirement: *id009
168
158
  prerelease: false
169
159
  type: :development
170
160
  name: thor
171
161
  - !ruby/object:Gem::Dependency
172
- version_requirements: &id011 !ruby/object:Gem::Requirement
162
+ version_requirements: &id010 !ruby/object:Gem::Requirement
173
163
  none: false
174
164
  requirements:
175
165
  - - ">="
@@ -178,90 +168,10 @@ dependencies:
178
168
  segments:
179
169
  - 0
180
170
  version: "0"
181
- requirement: *id011
171
+ requirement: *id010
182
172
  prerelease: false
183
173
  type: :development
184
- name: rails
185
- - !ruby/object:Gem::Dependency
186
- version_requirements: &id012 !ruby/object:Gem::Requirement
187
- none: false
188
- requirements:
189
- - - ~>
190
- - !ruby/object:Gem::Version
191
- hash: 3
192
- segments:
193
- - 2
194
- - 3
195
- - 0
196
- version: 2.3.0
197
- requirement: *id012
198
- prerelease: false
199
- type: :runtime
200
- name: aws
201
- - !ruby/object:Gem::Dependency
202
- version_requirements: &id013 !ruby/object:Gem::Requirement
203
- none: false
204
- requirements:
205
- - - ~>
206
- - !ruby/object:Gem::Version
207
- hash: 9
208
- segments:
209
- - 3
210
- - 0
211
- - 7
212
- version: 3.0.7
213
- requirement: *id013
214
- prerelease: false
215
- type: :runtime
216
- name: activerecord
217
- - !ruby/object:Gem::Dependency
218
- version_requirements: &id014 !ruby/object:Gem::Requirement
219
- none: false
220
- requirements:
221
- - - ~>
222
- - !ruby/object:Gem::Version
223
- hash: 9
224
- segments:
225
- - 3
226
- - 0
227
- - 7
228
- version: 3.0.7
229
- requirement: *id014
230
- prerelease: false
231
- type: :runtime
232
- name: activesupport
233
- - !ruby/object:Gem::Dependency
234
- version_requirements: &id015 !ruby/object:Gem::Requirement
235
- none: false
236
- requirements:
237
- - - ~>
238
- - !ruby/object:Gem::Version
239
- hash: 9
240
- segments:
241
- - 2
242
- - 1
243
- - 1
244
- version: 2.1.1
245
- requirement: *id015
246
- prerelease: false
247
- type: :runtime
248
- name: uuidtools
249
- - !ruby/object:Gem::Dependency
250
- version_requirements: &id016 !ruby/object:Gem::Requirement
251
- none: false
252
- requirements:
253
- - - ~>
254
- - !ruby/object:Gem::Version
255
- hash: 9
256
- segments:
257
- - 3
258
- - 0
259
- - 7
260
- version: 3.0.7
261
- requirement: *id016
262
- prerelease: false
263
- type: :runtime
264
- name: rails
174
+ name: ruby-debug
265
175
  description:
266
176
  email: ilia@flamefork.ru
267
177
  executables: []