pg_power 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +13 -0
- data/lib/pg_power/version.rb +1 -1
- metadata +4 -20
data/README.markdown
CHANGED
@@ -245,10 +245,23 @@ PgPower::Tools.index_exists?(table, columns, options) # => returns true if an
|
|
245
245
|
## Running tests:
|
246
246
|
|
247
247
|
* Ensure your postgresql has postgres-contrib (Ubuntu) package installed. Tests depend on btree_gist and fuzzystrmatch extensions
|
248
|
+
* If on Mac, see below for installing contrib packages
|
248
249
|
* Configure `spec/dummy/config/database.yml` for development and test environments.
|
249
250
|
* Run `rake spec`.
|
250
251
|
* Make sure migrations don't raise exceptions and all specs pass.
|
251
252
|
|
253
|
+
### Installing contrib packages on Mac OS X:
|
254
|
+
* This assumes you are using MacPorts to install Postgres. If using homebrew or the Postgres App, you will need to adjust the instructions accordingly (please add to this README when you do)
|
255
|
+
* Assuming you installed with default options (including auto-clean), you will need to rebuild the postgresql port and keep the build files
|
256
|
+
* sudo port -k -s build postgresql91
|
257
|
+
* (adjust the version number above appropriately)
|
258
|
+
* Now you can make and install the btree_gist and any other contrib modules
|
259
|
+
* cd `port work postgresql91`/postgresql-9.1.7/contrib/btree_gist
|
260
|
+
* (again, you may need to adjust the version number to your specific version)
|
261
|
+
* sudo make all
|
262
|
+
* sudo make install
|
263
|
+
* Done!
|
264
|
+
|
252
265
|
## TODO:
|
253
266
|
|
254
267
|
Support for JRuby:
|
data/lib/pg_power/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg_power
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2013-03-11 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: pg
|
@@ -62,22 +62,6 @@ dependencies:
|
|
62
62
|
- - ~>
|
63
63
|
- !ruby/object:Gem::Version
|
64
64
|
version: '3.1'
|
65
|
-
- !ruby/object:Gem::Dependency
|
66
|
-
name: rcov
|
67
|
-
requirement: !ruby/object:Gem::Requirement
|
68
|
-
none: false
|
69
|
-
requirements:
|
70
|
-
- - ! '>='
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
version: '0'
|
73
|
-
type: :development
|
74
|
-
prerelease: false
|
75
|
-
version_requirements: !ruby/object:Gem::Requirement
|
76
|
-
none: false
|
77
|
-
requirements:
|
78
|
-
- - ! '>='
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: '0'
|
81
65
|
- !ruby/object:Gem::Dependency
|
82
66
|
name: yard
|
83
67
|
requirement: !ruby/object:Gem::Requirement
|
@@ -206,7 +190,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
206
190
|
version: '0'
|
207
191
|
segments:
|
208
192
|
- 0
|
209
|
-
hash:
|
193
|
+
hash: -2099156202754981641
|
210
194
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
211
195
|
none: false
|
212
196
|
requirements:
|
@@ -215,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
215
199
|
version: '0'
|
216
200
|
requirements: []
|
217
201
|
rubyforge_project:
|
218
|
-
rubygems_version: 1.8.
|
202
|
+
rubygems_version: 1.8.25
|
219
203
|
signing_key:
|
220
204
|
specification_version: 3
|
221
205
|
summary: ActiveRecord extensions for PostgreSQL.
|