pg_funcall 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MzIxZDQ2YzkwNTc2MTZjMjNmMWRlNjY2M2M0YmE4YWUyY2Q5MTZiZQ==
5
+ data.tar.gz: !binary |-
6
+ M2I5OGY2NWI3ZmZhZmQzNjdkNzI5ZjQ3ZmIyZGExZTc3MmEzM2Q5Mw==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ ZDhmYzEwYzc1MzIxMjJjODcxZGM5ZGRjOTkyNmY4ZmIxNzlmY2U2Y2YzNzM3
10
+ OWNiNTJhZWJjMDYwNWZmN2RkNzBmMTVlM2Q1ODk1ZmM4NzRkMjVhMjU5Mzcx
11
+ NmQxN2QxY2U5NWUzYmM3NzdhNDkxNDg0NTkzOTdhYzUyYzYzNTI=
12
+ data.tar.gz: !binary |-
13
+ YjAxZDQyODNmZjczMzk3NzkxZmQ3NGVlN2FkZDk1Y2I1YTQ2M2VjZjQxNTNl
14
+ NDBlZmEzNzczNTMzZjcwZWIyNjgwMDFiNzUyMmFiZjk4ZjNjMTViODhjYTMy
15
+ ODkwMTk4Njc3NzEyMDg2MTQ1NGM4NGVhOWI1YTQ1ZjMyOTc3ZjY=
data/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ /vendor
2
+ /coverage
3
+ /gemfiles/.bundle
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --colour
2
+ --drb
data/.travis.yml ADDED
@@ -0,0 +1,15 @@
1
+ # .travis.yml
2
+ rvm:
3
+ - 1.9.3-p547
4
+ - 2.0.0-p598
5
+ - 2.1.5
6
+ - 2.2.0
7
+ gemfile:
8
+ - gemfiles/rails40.gemfile
9
+ - gemfiles/rails41.gemfile
10
+ - gemfiles/rails42.gemfile
11
+ #matrix:
12
+ # exclude:
13
+ # - rbenv: 2.0.0
14
+ # gemfile: gemfiles/rails2.gemfile
15
+ script: "bundle exec rake spec"
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'pry'
4
+ gem 'activerecord', '~> 4.0.13'
5
+
6
+ # Specify your gem's dependencies in pg_funcall.gemspec
7
+ gemspec :path=>"."
data/Gemfile.lock ADDED
@@ -0,0 +1,78 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ pg_funcall (0.1.0)
5
+ activerecord (>= 4.0.0)
6
+ ipaddr_extensions
7
+ pg (>= 0.17.0)
8
+ uuid
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ activemodel (4.0.13)
14
+ activesupport (= 4.0.13)
15
+ builder (~> 3.1.0)
16
+ activerecord (4.0.13)
17
+ activemodel (= 4.0.13)
18
+ activerecord-deprecated_finders (~> 1.0.2)
19
+ activesupport (= 4.0.13)
20
+ arel (~> 4.0.0)
21
+ activerecord-deprecated_finders (1.0.3)
22
+ activesupport (4.0.13)
23
+ i18n (~> 0.6, >= 0.6.9)
24
+ minitest (~> 4.2)
25
+ multi_json (~> 1.3)
26
+ thread_safe (~> 0.1)
27
+ tzinfo (~> 0.3.37)
28
+ arel (4.0.2)
29
+ builder (3.1.4)
30
+ coderay (1.1.0)
31
+ diff-lcs (1.2.5)
32
+ docile (1.1.5)
33
+ i18n (0.7.0)
34
+ ipaddr_extensions (1.0.1)
35
+ macaddr (1.7.1)
36
+ systemu (~> 2.6.2)
37
+ method_source (0.8.2)
38
+ minitest (4.7.5)
39
+ multi_json (1.10.1)
40
+ pg (0.18.1)
41
+ pry (0.10.1)
42
+ coderay (~> 1.1.0)
43
+ method_source (~> 0.8.1)
44
+ slop (~> 3.4)
45
+ rake (10.4.2)
46
+ rspec (2.14.1)
47
+ rspec-core (~> 2.14.0)
48
+ rspec-expectations (~> 2.14.0)
49
+ rspec-mocks (~> 2.14.0)
50
+ rspec-core (2.14.8)
51
+ rspec-expectations (2.14.5)
52
+ diff-lcs (>= 1.1.3, < 2.0)
53
+ rspec-mocks (2.14.6)
54
+ simplecov (0.9.1)
55
+ docile (~> 1.1.0)
56
+ multi_json (~> 1.0)
57
+ simplecov-html (~> 0.8.0)
58
+ simplecov-html (0.8.0)
59
+ slop (3.6.0)
60
+ systemu (2.6.4)
61
+ thread_safe (0.3.4)
62
+ tzinfo (0.3.42)
63
+ uuid (2.3.7)
64
+ macaddr (~> 1.0)
65
+ wwtd (0.7.0)
66
+
67
+ PLATFORMS
68
+ ruby
69
+
70
+ DEPENDENCIES
71
+ activerecord (~> 4.0.13)
72
+ bundler (~> 1.7)
73
+ pg_funcall!
74
+ pry
75
+ rake (~> 10.0)
76
+ rspec (~> 2.14.0)
77
+ simplecov
78
+ wwtd
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2015 Robert Sanders
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # PgFuncall
2
+
3
+ TODO: Write a gem description
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'pg_funcall'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install pg_funcall
20
+
21
+ This gem is currently only tested with ActiveRecord 4.0.x. There have been some changes with
22
+ type mapping in 4.1 which are likely to break it. The right answer is just to remove that
23
+ dependency altogether.
24
+
25
+ ## Usage
26
+
27
+ TODO: Write usage instructions here
28
+
29
+ ## Contributing
30
+
31
+ 1. Fork it ( https://github.com/[my-github-username]/pg_funcall/fork )
32
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
33
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
34
+ 4. Push to the branch (`git push origin my-new-feature`)
35
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'bundler/setup'
3
+ require 'wwtd/tasks'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec) do |config|
7
+ #config.rcov = true
8
+ end
9
+
10
+ task :default => :wwtd
@@ -0,0 +1,37 @@
1
+ # SQLite version 3.x
2
+ # gem install sqlite3
3
+ #
4
+ # Ensure the SQLite 3 gem is defined in your Gemfile
5
+ # gem 'sqlite3'
6
+ development:
7
+ adapter: postgresql
8
+ database: pg_experiments
9
+ pool: 20
10
+ encoding: UTF8
11
+ min_messages: notice
12
+ host: localhost
13
+ username: <%= `whoami`.chomp %>
14
+ timeout: 5000
15
+
16
+ # Warning: The database defined as "test" will be erased and
17
+ # re-generated from your development database when you run "rake".
18
+ # Do not set this db to the same as development or production.
19
+ test:
20
+ adapter: postgresql
21
+ database: pg_experiments_test
22
+ pool: 20
23
+ encoding: UTF8
24
+ min_messages: notice
25
+ host: localhost
26
+ username: <%= `whoami`.chomp %>
27
+ timeout: 5000
28
+
29
+ production:
30
+ adapter: postgresql
31
+ database: pg_experiments_prod
32
+ pool: 20
33
+ encoding: UTF8
34
+ min_messages: notice
35
+ host: localhost
36
+ username: <%= `whoami`.chomp %>
37
+ timeout: 5000
@@ -0,0 +1,17 @@
1
+ test:
2
+ adapter: postgresql
3
+ encoding: UTF8
4
+ database: pg_funcall_test
5
+ username: pgfuncallgem
6
+ password: pgfuncallgem
7
+ min_messages: warning
8
+ host: localhost
9
+
10
+ development:
11
+ adapter: postgresql
12
+ encoding: UTF8
13
+ database: pg_funcall_dev
14
+ username: pgfuncallgem
15
+ password: pgfuncallgem
16
+ min_messages: warning
17
+ host: localhost
@@ -0,0 +1,8 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'pry'
4
+ gem 'activerecord', '~> 4.0.13'
5
+ gem 'pg', '~> 0.17.1'
6
+
7
+ # Specify your gem's dependencies in pg_funcall.gemspec
8
+ gemspec :path=>"../"
@@ -0,0 +1,79 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ pg_funcall (0.0.1)
5
+ activerecord (>= 4.0.0)
6
+ ipaddr_extensions
7
+ pg (>= 0.17.0)
8
+ uuid
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ activemodel (4.0.13)
14
+ activesupport (= 4.0.13)
15
+ builder (~> 3.1.0)
16
+ activerecord (4.0.13)
17
+ activemodel (= 4.0.13)
18
+ activerecord-deprecated_finders (~> 1.0.2)
19
+ activesupport (= 4.0.13)
20
+ arel (~> 4.0.0)
21
+ activerecord-deprecated_finders (1.0.3)
22
+ activesupport (4.0.13)
23
+ i18n (~> 0.6, >= 0.6.9)
24
+ minitest (~> 4.2)
25
+ multi_json (~> 1.3)
26
+ thread_safe (~> 0.1)
27
+ tzinfo (~> 0.3.37)
28
+ arel (4.0.2)
29
+ builder (3.1.4)
30
+ coderay (1.1.0)
31
+ diff-lcs (1.2.5)
32
+ docile (1.1.5)
33
+ i18n (0.7.0)
34
+ ipaddr_extensions (1.0.1)
35
+ macaddr (1.7.1)
36
+ systemu (~> 2.6.2)
37
+ method_source (0.8.2)
38
+ minitest (4.7.5)
39
+ multi_json (1.10.1)
40
+ pg (0.17.1)
41
+ pry (0.10.1)
42
+ coderay (~> 1.1.0)
43
+ method_source (~> 0.8.1)
44
+ slop (~> 3.4)
45
+ rake (10.4.2)
46
+ rspec (2.14.1)
47
+ rspec-core (~> 2.14.0)
48
+ rspec-expectations (~> 2.14.0)
49
+ rspec-mocks (~> 2.14.0)
50
+ rspec-core (2.14.8)
51
+ rspec-expectations (2.14.5)
52
+ diff-lcs (>= 1.1.3, < 2.0)
53
+ rspec-mocks (2.14.6)
54
+ simplecov (0.9.1)
55
+ docile (~> 1.1.0)
56
+ multi_json (~> 1.0)
57
+ simplecov-html (~> 0.8.0)
58
+ simplecov-html (0.8.0)
59
+ slop (3.6.0)
60
+ systemu (2.6.4)
61
+ thread_safe (0.3.4)
62
+ tzinfo (0.3.42)
63
+ uuid (2.3.7)
64
+ macaddr (~> 1.0)
65
+ wwtd (0.7.0)
66
+
67
+ PLATFORMS
68
+ ruby
69
+
70
+ DEPENDENCIES
71
+ activerecord (~> 4.0.13)
72
+ bundler (~> 1.7)
73
+ pg (~> 0.17.1)
74
+ pg_funcall!
75
+ pry
76
+ rake (~> 10.0)
77
+ rspec (~> 2.14.0)
78
+ simplecov
79
+ wwtd
@@ -0,0 +1,7 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'pry'
4
+ gem 'activerecord', '~> 4.1.9'
5
+
6
+ # Specify your gem's dependencies in pg_funcall.gemspec
7
+ gemspec :path=>"../"
@@ -0,0 +1,78 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ pg_funcall (0.0.1)
5
+ activerecord (>= 3.1.0)
6
+ ipaddr_extensions
7
+ pg (>= 0.17.0)
8
+ uuid
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ activemodel (4.1.9)
14
+ activesupport (= 4.1.9)
15
+ builder (~> 3.1)
16
+ activerecord (4.1.9)
17
+ activemodel (= 4.1.9)
18
+ activesupport (= 4.1.9)
19
+ arel (~> 5.0.0)
20
+ activesupport (4.1.9)
21
+ i18n (~> 0.6, >= 0.6.9)
22
+ json (~> 1.7, >= 1.7.7)
23
+ minitest (~> 5.1)
24
+ thread_safe (~> 0.1)
25
+ tzinfo (~> 1.1)
26
+ arel (5.0.1.20140414130214)
27
+ builder (3.2.2)
28
+ coderay (1.1.0)
29
+ diff-lcs (1.2.5)
30
+ docile (1.1.5)
31
+ i18n (0.7.0)
32
+ ipaddr_extensions (1.0.1)
33
+ json (1.8.2)
34
+ macaddr (1.7.1)
35
+ systemu (~> 2.6.2)
36
+ method_source (0.8.2)
37
+ minitest (5.5.1)
38
+ multi_json (1.10.1)
39
+ pg (0.18.1)
40
+ pry (0.10.1)
41
+ coderay (~> 1.1.0)
42
+ method_source (~> 0.8.1)
43
+ slop (~> 3.4)
44
+ rake (10.4.2)
45
+ rspec (2.14.1)
46
+ rspec-core (~> 2.14.0)
47
+ rspec-expectations (~> 2.14.0)
48
+ rspec-mocks (~> 2.14.0)
49
+ rspec-core (2.14.8)
50
+ rspec-expectations (2.14.5)
51
+ diff-lcs (>= 1.1.3, < 2.0)
52
+ rspec-mocks (2.14.6)
53
+ simplecov (0.9.1)
54
+ docile (~> 1.1.0)
55
+ multi_json (~> 1.0)
56
+ simplecov-html (~> 0.8.0)
57
+ simplecov-html (0.8.0)
58
+ slop (3.6.0)
59
+ systemu (2.6.4)
60
+ thread_safe (0.3.4)
61
+ tzinfo (1.2.2)
62
+ thread_safe (~> 0.1)
63
+ uuid (2.3.7)
64
+ macaddr (~> 1.0)
65
+ wwtd (0.7.0)
66
+
67
+ PLATFORMS
68
+ ruby
69
+
70
+ DEPENDENCIES
71
+ activerecord (~> 4.1.9)
72
+ bundler (~> 1.7)
73
+ pg_funcall!
74
+ pry
75
+ rake (~> 10.0)
76
+ rspec (~> 2.14.0)
77
+ simplecov
78
+ wwtd
@@ -0,0 +1,7 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'pry'
4
+ gem 'activerecord', '~> 4.2.0'
5
+
6
+ # Specify your gem's dependencies in pg_funcall.gemspec
7
+ gemspec :path=>"../"