activerecord-postgresql-cube 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 0bf89ab3865101c6e11effbce70d87e715fc7932
4
- data.tar.gz: 1ec06fe2a910c16f643ebf34ab69b41e0d698b55
2
+ SHA256:
3
+ metadata.gz: a4248361f5b6a05069ee1f06beccbf2cb5b70c15f5cc679fa7a7b5c535a7706e
4
+ data.tar.gz: dc43ba0f2978905c748830dcbcb20c7cb32d3166f589890bc1a9b3b03d3b1871
5
5
  SHA512:
6
- metadata.gz: fec66262b1deff986b6fe250b66997f2eb5d084f8a60567735e279b4d35052529f1775a489b7c0d08c155e85cfb5dd8766b32449947113a555eef7eb59909467
7
- data.tar.gz: 876362272f815c398d71eda1573a638ff64f9dd7bd7719795ac86e2edc6437669c963083325f72af1258fc5bc718726e651c4f8b91e66909675a1bcefefe00ba
6
+ metadata.gz: d683d2164f175e9730645efcbdac5a83a8b15d517aca95127c8f2484c22b00f0d476eeb6a57af51346ec6813b13dda88b74593ef2c76082a133d8cc19812bd7b
7
+ data.tar.gz: 4b216d9fd552ed7aebd1061837fe8774bef1411f273453e32de327f60b574f5e9cdfe4012f80f6bc5ccdbe0bc1ed5ce5916ffb844b300eaeeded97b6ab11c05d
@@ -0,0 +1,47 @@
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name: Ruby
9
+
10
+ on:
11
+ push:
12
+ branches: [ master ]
13
+ pull_request:
14
+ branches: [ master ]
15
+
16
+ jobs:
17
+ test:
18
+
19
+ runs-on: ubuntu-latest
20
+ strategy:
21
+ matrix:
22
+ ruby-version: ['2.6', '2.7', '3.0']
23
+
24
+ services:
25
+ postgres:
26
+ image: postgres
27
+ env:
28
+ POSTGRES_PASSWORD: postgres
29
+ options: >-
30
+ --health-cmd pg_isready
31
+ --health-interval 10s
32
+ --health-timeout 5s
33
+ --health-retries 5
34
+ ports:
35
+ - 5432:5432
36
+
37
+ steps:
38
+ - uses: actions/checkout@v2
39
+ - name: Set up Ruby
40
+ uses: ruby/setup-ruby@v1
41
+ with:
42
+ ruby-version: ${{ matrix.ruby-version }}
43
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
44
+ - name: Run tests
45
+ run: bundle exec rake
46
+ env:
47
+ POSTGRES_URL: postgres://postgres:postgres@localhost:5432
@@ -18,10 +18,9 @@ Gem::Specification.new do |spec|
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "activerecord", "~> 5.0"
22
- spec.add_dependency "pg", "~> 0.18", ">= 0.18.4"
21
+ spec.add_dependency "activerecord", ">= 5.0"
22
+ spec.add_dependency "pg", ">= 0.18.4"
23
23
 
24
- spec.add_development_dependency "bundler", "~> 1.11"
25
- spec.add_development_dependency "rake", "~> 10.0"
26
- spec.add_development_dependency "rspec", "~> 3.0"
24
+ spec.add_development_dependency "rake", ">= 12.3.3"
25
+ spec.add_development_dependency "rspec", ">= 3.0"
27
26
  end
@@ -54,8 +54,8 @@ module ActiveRecord
54
54
  end
55
55
 
56
56
  class TableDefinition
57
- def cube(name, options = {})
58
- column(name, "cube", options)
57
+ def cube(name, **args)
58
+ column(name, "cube", **args)
59
59
  end
60
60
  end
61
61
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveRecordPostgreSQLCube
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,36 +1,33 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-postgresql-cube
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Milo Winningham
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-08 00:00:00.000000000 Z
11
+ date: 2021-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '5.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '5.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pg
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '0.18'
34
31
  - - ">="
35
32
  - !ruby/object:Gem::Version
36
33
  version: 0.18.4
@@ -38,61 +35,45 @@ dependencies:
38
35
  prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
40
37
  requirements:
41
- - - "~>"
42
- - !ruby/object:Gem::Version
43
- version: '0.18'
44
38
  - - ">="
45
39
  - !ruby/object:Gem::Version
46
40
  version: 0.18.4
47
- - !ruby/object:Gem::Dependency
48
- name: bundler
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: '1.11'
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: '1.11'
61
41
  - !ruby/object:Gem::Dependency
62
42
  name: rake
63
43
  requirement: !ruby/object:Gem::Requirement
64
44
  requirements:
65
- - - "~>"
45
+ - - ">="
66
46
  - !ruby/object:Gem::Version
67
- version: '10.0'
47
+ version: 12.3.3
68
48
  type: :development
69
49
  prerelease: false
70
50
  version_requirements: !ruby/object:Gem::Requirement
71
51
  requirements:
72
- - - "~>"
52
+ - - ">="
73
53
  - !ruby/object:Gem::Version
74
- version: '10.0'
54
+ version: 12.3.3
75
55
  - !ruby/object:Gem::Dependency
76
56
  name: rspec
77
57
  requirement: !ruby/object:Gem::Requirement
78
58
  requirements:
79
- - - "~>"
59
+ - - ">="
80
60
  - !ruby/object:Gem::Version
81
61
  version: '3.0'
82
62
  type: :development
83
63
  prerelease: false
84
64
  version_requirements: !ruby/object:Gem::Requirement
85
65
  requirements:
86
- - - "~>"
66
+ - - ">="
87
67
  - !ruby/object:Gem::Version
88
68
  version: '3.0'
89
- description:
69
+ description:
90
70
  email:
91
71
  - milo@winningham.net
92
72
  executables: []
93
73
  extensions: []
94
74
  extra_rdoc_files: []
95
75
  files:
76
+ - ".github/workflows/ruby.yml"
96
77
  - ".gitignore"
97
78
  - ".rspec"
98
79
  - Gemfile
@@ -110,7 +91,7 @@ homepage: https://github.com/quadule/activerecord-postgresql-cube
110
91
  licenses:
111
92
  - MIT
112
93
  metadata: {}
113
- post_install_message:
94
+ post_install_message:
114
95
  rdoc_options: []
115
96
  require_paths:
116
97
  - lib
@@ -125,9 +106,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
106
  - !ruby/object:Gem::Version
126
107
  version: '0'
127
108
  requirements: []
128
- rubyforge_project:
129
- rubygems_version: 2.6.4
130
- signing_key:
109
+ rubygems_version: 3.2.3
110
+ signing_key:
131
111
  specification_version: 4
132
112
  summary: ActiveRecord support for the PostgreSQL cube data type.
133
113
  test_files: []