activerecord-postgres-hstore 0.5.3 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. data/.gitignore +25 -0
  2. data/.travis.yml +1 -1
  3. data/Gemfile +4 -10
  4. data/README.md +33 -6
  5. data/Rakefile +3 -18
  6. data/VERSION +1 -1
  7. data/activerecord-postgres-hstore.gemspec +22 -128
  8. data/lib/activerecord-postgres-hstore/coder.rb +1 -1
  9. data/spec/{activerecord-coders-hstore.rb → activerecord-coders-hstore_spec.rb} +4 -0
  10. metadata +14 -120
  11. data/Gemfile.lock +0 -121
  12. data/app/.gitignore +0 -4
  13. data/app/Gemfile +0 -28
  14. data/app/Gemfile.lock +0 -81
  15. data/app/README +0 -256
  16. data/app/Rakefile +0 -7
  17. data/app/app/controllers/application_controller.rb +0 -3
  18. data/app/app/helpers/application_helper.rb +0 -2
  19. data/app/app/models/bar.rb +0 -3
  20. data/app/app/models/foo.rb +0 -3
  21. data/app/app/views/layouts/application.html.erb +0 -14
  22. data/app/bench.rb +0 -76
  23. data/app/bench_results.txt +0 -13
  24. data/app/config.ru +0 -4
  25. data/app/config/application.rb +0 -43
  26. data/app/config/boot.rb +0 -13
  27. data/app/config/database.yml +0 -51
  28. data/app/config/environment.rb +0 -5
  29. data/app/config/environments/development.rb +0 -22
  30. data/app/config/environments/production.rb +0 -49
  31. data/app/config/environments/test.rb +0 -35
  32. data/app/config/initializers/activerecord_postgres_hstore.rb +0 -0
  33. data/app/config/initializers/backtrace_silencers.rb +0 -7
  34. data/app/config/initializers/inflections.rb +0 -10
  35. data/app/config/initializers/mime_types.rb +0 -5
  36. data/app/config/initializers/secret_token.rb +0 -7
  37. data/app/config/initializers/session_store.rb +0 -8
  38. data/app/config/locales/en.yml +0 -5
  39. data/app/config/routes.rb +0 -58
  40. data/app/db/development_structure.sql +0 -580
  41. data/app/db/migrate/20100906191151_add_hstore.rb +0 -276
  42. data/app/db/migrate/20100906191457_create_foos.rb +0 -13
  43. data/app/db/migrate/20100906191506_create_bars.rb +0 -12
  44. data/app/db/schema.rb +0 -27
  45. data/app/db/seeds.rb +0 -7
  46. data/app/doc/README_FOR_APP +0 -2
  47. data/app/generate_copy_files.rb +0 -47
  48. data/app/lib/tasks/.gitkeep +0 -0
  49. data/app/public/404.html +0 -26
  50. data/app/public/422.html +0 -26
  51. data/app/public/500.html +0 -26
  52. data/app/public/favicon.ico +0 -0
  53. data/app/public/images/rails.png +0 -0
  54. data/app/public/index.html +0 -262
  55. data/app/public/javascripts/.gitkeep +0 -0
  56. data/app/public/javascripts/application.js +0 -0
  57. data/app/public/robots.txt +0 -5
  58. data/app/public/stylesheets/.gitkeep +0 -0
  59. data/app/script/rails +0 -6
  60. data/app/test/performance/browsing_test.rb +0 -9
  61. data/app/test/test_helper.rb +0 -6
  62. data/app/test/unit/bar_test.rb +0 -133
  63. data/app/test/unit/foo_test.rb +0 -8
  64. data/app/vendor/plugins/.gitkeep +0 -0
data/.gitignore ADDED
@@ -0,0 +1,25 @@
1
+ ## MAC OS
2
+ .DS_Store
3
+
4
+ ## TEXTMATE
5
+ *.tmproj
6
+ tmtags
7
+
8
+ ## EMACS
9
+ *~
10
+ \#*
11
+ .\#*
12
+
13
+ ## VIM
14
+ *.swp
15
+
16
+ ## PROJECT::GENERAL
17
+ coverage
18
+ rdoc
19
+ pkg
20
+ Gemfile.lock
21
+
22
+ ## PROJECT::SPECIFIC
23
+
24
+ ## RVM
25
+ .rvmrc
data/.travis.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.2
3
+ - 1.9.3
4
4
 
5
5
  branches:
6
6
  only:
data/Gemfile CHANGED
@@ -1,16 +1,10 @@
1
1
  source "http://rubygems.org"
2
- # Add dependencies required to use your gem here.
3
- gem 'rails'
4
- gem 'rake'
5
2
 
6
- # Add dependencies to develop your gem here.
7
- # Include everything needed to run rake, tests, features, etc.
3
+ # specify gem dependencies in activerecord-postgres-hstore.gemspec
4
+ # except the platform-specific dependencies below
5
+ gemspec
6
+
8
7
  group :development, :test do
9
- gem "shoulda", ">= 0"
10
- gem "bundler", "~> 1.1.3"
11
- gem "jeweler", "~> 1.8.3"
12
- gem "rdoc"
13
- gem "rspec"
14
8
  gem 'activerecord-jdbcpostgresql-adapter', :platforms => :jruby
15
9
  gem 'pg', :platforms => :ruby
16
10
  end
data/README.md CHANGED
@@ -12,12 +12,15 @@ You need dynamic columns in your tables. What do you do?
12
12
  Requirements
13
13
  ------------
14
14
 
15
- Postgresql 8.4+ (also tested with 9.0) with contrib and Rails 3. (It
15
+ Postgresql 8.4+ with contrib and Rails 3+. (It
16
16
  might work on 2.3.x with minor patches…)
17
- On Ubuntu, this is easy: `sudo apt-get install postgresql-contrib-9.0`
17
+ On Ubuntu, this is easy: `sudo apt-get install postgresql-contrib-9.1`
18
18
 
19
- On Mac <del> …you are screwed. Use a VM. </del> you should use [the binary package kindly provided by EnterpriseDB](http://www.enterprisedb.com/products-services-training/pgdownload#osx)
20
- [Homebrew’s](https://github.com/mxcl/homebrew) Postgres installation also includes the contrib packages: `brew install postgres`
19
+ On Mac you have a couple of options:
20
+
21
+ * [the binary package kindly provided by EnterpriseDB](http://www.enterprisedb.com/products-services-training/pgdownload#osx)
22
+ * [Homebrew’s](https://github.com/mxcl/homebrew) Postgres installation also includes the contrib packages: `brew install postgres`
23
+ * [Postgres.app](http://postgresapp.com/)
21
24
 
22
25
  Notes for Rails 3.1 and above
23
26
  -----------------------------
@@ -36,6 +39,25 @@ code should look like:
36
39
  serialize :data, ActiveRecord::Coders::Hstore
37
40
  end
38
41
 
42
+ If you want a default value (say, an empty hash) you should pass it as an argument when you
43
+ initialize the serializer, like so:
44
+
45
+ class Person < ActiveRecord::Base
46
+ serialize :data, ActiveRecord::Coders::Hstore.new({})
47
+ end
48
+
49
+ This way, you will automatically start with an empty hash that you can write attributes to.
50
+
51
+ irb(main):001:0> person = Person.new
52
+ => #<Person id: nil, name: nil, data: {}, created_at: nil, updated_at: nil>
53
+ irb(main):002:0> person.data['favorite_color'] = 'blue'
54
+ => "blue"
55
+
56
+ If you skip this step, you will have to manually initialize the value to an empty hash before
57
+ writing to the attribute, or else you will get an error:
58
+
59
+ NoMethodError: undefined method `[]=' for nil:NilClass
60
+
39
61
  Install
40
62
  -------
41
63
 
@@ -159,8 +181,13 @@ Have fun.
159
181
  Test Database
160
182
  -------------
161
183
 
162
- To have hstore enabled when you load your database schema (as happens in rake db:test:prepare), you'll need to
163
- uncomment or add the following line in config/application.rb
184
+ To have hstore enabled when you load your database schema (as happens in rake db:test:prepare), you
185
+ have two options.
186
+
187
+ The first option is creating a template database with hstore installed and set the template option
188
+ in database.yml to that database.
189
+
190
+ The second option is to uncomment or add the following line in config/application.rb
164
191
 
165
192
  config.active_record.schema_format = :sql
166
193
 
data/Rakefile CHANGED
@@ -1,9 +1,7 @@
1
- # encoding: utf-8
2
-
1
+ # -*- encoding: utf-8 -*-
2
+ $:.unshift File.expand_path("../lib", __FILE__)
3
+ require 'bundler/gem_tasks'
3
4
  require 'rubygems'
4
- require 'bundler'
5
- require 'rake'
6
- require 'jeweler'
7
5
  require 'rspec/core/rake_task'
8
6
  require 'rdoc/task'
9
7
 
@@ -25,19 +23,6 @@ RSpec::Core::RakeTask.new(:coverage) do |t|
25
23
  t.rcov_opts = ['--exclude', 'spec']
26
24
  end
27
25
 
28
- Jeweler::Tasks.new do |gem|
29
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
30
- gem.name = "activerecord-postgres-hstore"
31
- gem.summary = %Q{Goodbye serialize, hello hstore}
32
- gem.description = %Q{This gem adds support for the postgres hstore type. It is the _just right_ alternative for storing hashes instead of using seralization or dynamic tables.}
33
- gem.email = "juanmaiz@gmail.com"
34
- gem.homepage = "http://github.com/softa/activerecord-postgres-hstore"
35
- gem.authors = ["Juan Maiz", "Diogo Biazus"]
36
- gem.license = "MIT"
37
- # dependencies defined in Gemfile
38
- end
39
- Jeweler::RubygemsDotOrgTasks.new
40
-
41
26
  RDoc::Task.new do |rdoc|
42
27
  version = File.exist?('VERSION') ? File.read('VERSION') : ""
43
28
  rdoc.rdoc_dir = 'rdoc'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.3
1
+ 0.6.0
@@ -1,137 +1,31 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
1
  # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib/', __FILE__)
3
+ $:.unshift lib unless $:.include?(lib)
5
4
 
6
5
  Gem::Specification.new do |s|
7
6
  s.name = "activerecord-postgres-hstore"
8
- s.version = "0.5.3"
7
+ s.version = "0.6.0"
9
8
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Juan Maiz", "Diogo Biazus"]
12
- s.date = "2013-01-14"
9
+ s.platform = Gem::Platform::RUBY
10
+ s.license = "MIT"
11
+ s.authors = ["Juan Maiz", "Diogo Biazus"]
12
+ s.email = "juanmaiz@gmail.com"
13
+ s.homepage = "http://github.com/softa/activerecord-postgres-hstore"
14
+ s.summary = "Goodbye serialize, hello hstore"
13
15
  s.description = "This gem adds support for the postgres hstore type. It is the _just right_ alternative for storing hashes instead of using seralization or dynamic tables."
14
- s.email = "juanmaiz@gmail.com"
15
- s.extra_rdoc_files = [
16
- "LICENSE",
17
- "README.md"
18
- ]
19
- s.files = [
20
- ".document",
21
- ".rspec",
22
- ".travis.yml",
23
- "Gemfile",
24
- "Gemfile.lock",
25
- "LICENSE",
26
- "README.md",
27
- "Rakefile",
28
- "VERSION",
29
- "activerecord-postgres-hstore.gemspec",
30
- "app/.gitignore",
31
- "app/Gemfile",
32
- "app/Gemfile.lock",
33
- "app/README",
34
- "app/Rakefile",
35
- "app/app/controllers/application_controller.rb",
36
- "app/app/helpers/application_helper.rb",
37
- "app/app/models/bar.rb",
38
- "app/app/models/foo.rb",
39
- "app/app/views/layouts/application.html.erb",
40
- "app/bench.rb",
41
- "app/bench_results.txt",
42
- "app/config.ru",
43
- "app/config/application.rb",
44
- "app/config/boot.rb",
45
- "app/config/database.yml",
46
- "app/config/environment.rb",
47
- "app/config/environments/development.rb",
48
- "app/config/environments/production.rb",
49
- "app/config/environments/test.rb",
50
- "app/config/initializers/activerecord_postgres_hstore.rb",
51
- "app/config/initializers/backtrace_silencers.rb",
52
- "app/config/initializers/inflections.rb",
53
- "app/config/initializers/mime_types.rb",
54
- "app/config/initializers/secret_token.rb",
55
- "app/config/initializers/session_store.rb",
56
- "app/config/locales/en.yml",
57
- "app/config/routes.rb",
58
- "app/db/development_structure.sql",
59
- "app/db/migrate/20100906191151_add_hstore.rb",
60
- "app/db/migrate/20100906191457_create_foos.rb",
61
- "app/db/migrate/20100906191506_create_bars.rb",
62
- "app/db/schema.rb",
63
- "app/db/seeds.rb",
64
- "app/doc/README_FOR_APP",
65
- "app/generate_copy_files.rb",
66
- "app/lib/tasks/.gitkeep",
67
- "app/public/404.html",
68
- "app/public/422.html",
69
- "app/public/500.html",
70
- "app/public/favicon.ico",
71
- "app/public/images/rails.png",
72
- "app/public/index.html",
73
- "app/public/javascripts/.gitkeep",
74
- "app/public/javascripts/application.js",
75
- "app/public/robots.txt",
76
- "app/public/stylesheets/.gitkeep",
77
- "app/script/rails",
78
- "app/test/performance/browsing_test.rb",
79
- "app/test/test_helper.rb",
80
- "app/test/unit/bar_test.rb",
81
- "app/test/unit/foo_test.rb",
82
- "app/vendor/plugins/.gitkeep",
83
- "lib/activerecord-postgres-hstore.rb",
84
- "lib/activerecord-postgres-hstore/activerecord.rb",
85
- "lib/activerecord-postgres-hstore/coder.rb",
86
- "lib/activerecord-postgres-hstore/hash.rb",
87
- "lib/activerecord-postgres-hstore/railties.rb",
88
- "lib/activerecord-postgres-hstore/string.rb",
89
- "lib/templates/setup_hstore.rb",
90
- "lib/templates/setup_hstore91.rb",
91
- "spec/activerecord-coders-hstore.rb",
92
- "spec/activerecord-postgres-hstore_spec.rb",
93
- "spec/spec_helper.rb"
94
- ]
95
- s.homepage = "http://github.com/softa/activerecord-postgres-hstore"
96
- s.licenses = ["MIT"]
97
- s.require_paths = ["lib"]
98
- s.rubygems_version = "1.8.24"
99
- s.summary = "Goodbye serialize, hello hstore"
16
+ s.required_ruby_version = ">= 1.8.7"
17
+ s.required_rubygems_version = ">= 1.3.6"
100
18
 
101
- if s.respond_to? :specification_version then
102
- s.specification_version = 3
19
+ s.add_dependency "rails"
20
+ s.add_dependency "rake"
21
+ s.add_development_dependency "bundler"
22
+ s.add_development_dependency "shoulda"
23
+ s.add_development_dependency "rdoc"
24
+ s.add_development_dependency "rspec", "~> 2.11"
103
25
 
104
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
105
- s.add_runtime_dependency(%q<rails>, [">= 0"])
106
- s.add_runtime_dependency(%q<rake>, [">= 0"])
107
- s.add_development_dependency(%q<shoulda>, [">= 0"])
108
- s.add_development_dependency(%q<bundler>, ["~> 1.1.3"])
109
- s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
110
- s.add_development_dependency(%q<rdoc>, [">= 0"])
111
- s.add_development_dependency(%q<rspec>, [">= 0"])
112
- s.add_development_dependency(%q<activerecord-jdbcpostgresql-adapter>, [">= 0"])
113
- s.add_development_dependency(%q<pg>, [">= 0"])
114
- else
115
- s.add_dependency(%q<rails>, [">= 0"])
116
- s.add_dependency(%q<rake>, [">= 0"])
117
- s.add_dependency(%q<shoulda>, [">= 0"])
118
- s.add_dependency(%q<bundler>, ["~> 1.1.3"])
119
- s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
120
- s.add_dependency(%q<rdoc>, [">= 0"])
121
- s.add_dependency(%q<rspec>, [">= 0"])
122
- s.add_dependency(%q<activerecord-jdbcpostgresql-adapter>, [">= 0"])
123
- s.add_dependency(%q<pg>, [">= 0"])
124
- end
125
- else
126
- s.add_dependency(%q<rails>, [">= 0"])
127
- s.add_dependency(%q<rake>, [">= 0"])
128
- s.add_dependency(%q<shoulda>, [">= 0"])
129
- s.add_dependency(%q<bundler>, ["~> 1.1.3"])
130
- s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
131
- s.add_dependency(%q<rdoc>, [">= 0"])
132
- s.add_dependency(%q<rspec>, [">= 0"])
133
- s.add_dependency(%q<activerecord-jdbcpostgresql-adapter>, [">= 0"])
134
- s.add_dependency(%q<pg>, [">= 0"])
135
- end
26
+ git_files = `git ls-files`.split("\n") rescue ''
27
+ s.files = git_files
28
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
29
+ s.executables = []
30
+ s.require_paths = %w(lib)
136
31
  end
137
-
@@ -18,7 +18,7 @@ module ActiveRecord
18
18
  end
19
19
 
20
20
  def load(hstore)
21
- hstore.nil? ? nil : hstore.from_hstore
21
+ hstore.nil? ? @default : hstore.from_hstore
22
22
  end
23
23
  end
24
24
  end
@@ -20,4 +20,8 @@ describe "ActiverecordCodersHstore" do
20
20
  it 'should dump the default given nil' do
21
21
  ActiveRecord::Coders::Hstore.new({'a'=>'a'}).dump(nil).should == {'a'=>'a'}.to_hstore
22
22
  end
23
+
24
+ it 'should load the default given nil' do
25
+ ActiveRecord::Coders::Hstore.new({'a'=>'a'}).load(nil).should eql({'a'=>'a'})
26
+ end
23
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-postgres-hstore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.6.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-01-14 00:00:00.000000000 Z
13
+ date: 2013-02-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -44,56 +44,8 @@ dependencies:
44
44
  - - ! '>='
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0'
47
- - !ruby/object:Gem::Dependency
48
- name: shoulda
49
- requirement: !ruby/object:Gem::Requirement
50
- none: false
51
- requirements:
52
- - - ! '>='
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- type: :development
56
- prerelease: false
57
- version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
- requirements:
60
- - - ! '>='
61
- - !ruby/object:Gem::Version
62
- version: '0'
63
47
  - !ruby/object:Gem::Dependency
64
48
  name: bundler
65
- requirement: !ruby/object:Gem::Requirement
66
- none: false
67
- requirements:
68
- - - ~>
69
- - !ruby/object:Gem::Version
70
- version: 1.1.3
71
- type: :development
72
- prerelease: false
73
- version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
- requirements:
76
- - - ~>
77
- - !ruby/object:Gem::Version
78
- version: 1.1.3
79
- - !ruby/object:Gem::Dependency
80
- name: jeweler
81
- requirement: !ruby/object:Gem::Requirement
82
- none: false
83
- requirements:
84
- - - ~>
85
- - !ruby/object:Gem::Version
86
- version: 1.8.3
87
- type: :development
88
- prerelease: false
89
- version_requirements: !ruby/object:Gem::Requirement
90
- none: false
91
- requirements:
92
- - - ~>
93
- - !ruby/object:Gem::Version
94
- version: 1.8.3
95
- - !ruby/object:Gem::Dependency
96
- name: rdoc
97
49
  requirement: !ruby/object:Gem::Requirement
98
50
  none: false
99
51
  requirements:
@@ -109,7 +61,7 @@ dependencies:
109
61
  - !ruby/object:Gem::Version
110
62
  version: '0'
111
63
  - !ruby/object:Gem::Dependency
112
- name: rspec
64
+ name: shoulda
113
65
  requirement: !ruby/object:Gem::Requirement
114
66
  none: false
115
67
  requirements:
@@ -125,7 +77,7 @@ dependencies:
125
77
  - !ruby/object:Gem::Version
126
78
  version: '0'
127
79
  - !ruby/object:Gem::Dependency
128
- name: activerecord-jdbcpostgresql-adapter
80
+ name: rdoc
129
81
  requirement: !ruby/object:Gem::Requirement
130
82
  none: false
131
83
  requirements:
@@ -141,93 +93,38 @@ dependencies:
141
93
  - !ruby/object:Gem::Version
142
94
  version: '0'
143
95
  - !ruby/object:Gem::Dependency
144
- name: pg
96
+ name: rspec
145
97
  requirement: !ruby/object:Gem::Requirement
146
98
  none: false
147
99
  requirements:
148
- - - ! '>='
100
+ - - ~>
149
101
  - !ruby/object:Gem::Version
150
- version: '0'
102
+ version: '2.11'
151
103
  type: :development
152
104
  prerelease: false
153
105
  version_requirements: !ruby/object:Gem::Requirement
154
106
  none: false
155
107
  requirements:
156
- - - ! '>='
108
+ - - ~>
157
109
  - !ruby/object:Gem::Version
158
- version: '0'
110
+ version: '2.11'
159
111
  description: This gem adds support for the postgres hstore type. It is the _just right_
160
112
  alternative for storing hashes instead of using seralization or dynamic tables.
161
113
  email: juanmaiz@gmail.com
162
114
  executables: []
163
115
  extensions: []
164
- extra_rdoc_files:
165
- - LICENSE
166
- - README.md
116
+ extra_rdoc_files: []
167
117
  files:
168
118
  - .document
119
+ - .gitignore
169
120
  - .rspec
170
121
  - .travis.yml
171
122
  - Gemfile
172
- - Gemfile.lock
173
123
  - LICENSE
174
124
  - README.md
175
125
  - Rakefile
176
126
  - VERSION
177
127
  - activerecord-postgres-hstore.gemspec
178
- - app/.gitignore
179
- - app/Gemfile
180
- - app/Gemfile.lock
181
- - app/README
182
- - app/Rakefile
183
- - app/app/controllers/application_controller.rb
184
- - app/app/helpers/application_helper.rb
185
- - app/app/models/bar.rb
186
- - app/app/models/foo.rb
187
- - app/app/views/layouts/application.html.erb
188
- - app/bench.rb
189
- - app/bench_results.txt
190
- - app/config.ru
191
- - app/config/application.rb
192
- - app/config/boot.rb
193
- - app/config/database.yml
194
- - app/config/environment.rb
195
- - app/config/environments/development.rb
196
- - app/config/environments/production.rb
197
- - app/config/environments/test.rb
198
- - app/config/initializers/activerecord_postgres_hstore.rb
199
- - app/config/initializers/backtrace_silencers.rb
200
- - app/config/initializers/inflections.rb
201
- - app/config/initializers/mime_types.rb
202
- - app/config/initializers/secret_token.rb
203
- - app/config/initializers/session_store.rb
204
- - app/config/locales/en.yml
205
- - app/config/routes.rb
206
- - app/db/development_structure.sql
207
- - app/db/migrate/20100906191151_add_hstore.rb
208
- - app/db/migrate/20100906191457_create_foos.rb
209
- - app/db/migrate/20100906191506_create_bars.rb
210
- - app/db/schema.rb
211
- - app/db/seeds.rb
212
- - app/doc/README_FOR_APP
213
- - app/generate_copy_files.rb
214
- - app/lib/tasks/.gitkeep
215
- - app/public/404.html
216
- - app/public/422.html
217
- - app/public/500.html
218
- - app/public/favicon.ico
219
- - app/public/images/rails.png
220
- - app/public/index.html
221
- - app/public/javascripts/.gitkeep
222
- - app/public/javascripts/application.js
223
- - app/public/robots.txt
224
- - app/public/stylesheets/.gitkeep
225
- - app/script/rails
226
- - app/test/performance/browsing_test.rb
227
- - app/test/test_helper.rb
228
- - app/test/unit/bar_test.rb
229
- - app/test/unit/foo_test.rb
230
- - app/vendor/plugins/.gitkeep
231
128
  - lib/activerecord-postgres-hstore.rb
232
129
  - lib/activerecord-postgres-hstore/activerecord.rb
233
130
  - lib/activerecord-postgres-hstore/coder.rb
@@ -236,7 +133,7 @@ files:
236
133
  - lib/activerecord-postgres-hstore/string.rb
237
134
  - lib/templates/setup_hstore.rb
238
135
  - lib/templates/setup_hstore91.rb
239
- - spec/activerecord-coders-hstore.rb
136
+ - spec/activerecord-coders-hstore_spec.rb
240
137
  - spec/activerecord-postgres-hstore_spec.rb
241
138
  - spec/spec_helper.rb
242
139
  homepage: http://github.com/softa/activerecord-postgres-hstore
@@ -251,16 +148,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
251
148
  requirements:
252
149
  - - ! '>='
253
150
  - !ruby/object:Gem::Version
254
- version: '0'
255
- segments:
256
- - 0
257
- hash: 94611636127363795
151
+ version: 1.8.7
258
152
  required_rubygems_version: !ruby/object:Gem::Requirement
259
153
  none: false
260
154
  requirements:
261
155
  - - ! '>='
262
156
  - !ruby/object:Gem::Version
263
- version: '0'
157
+ version: 1.3.6
264
158
  requirements: []
265
159
  rubyforge_project:
266
160
  rubygems_version: 1.8.24