mappd 5.2.2 → 6.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: caf389b9297119e2c9224663c4d6b7d9e6f61685d9adece230fe5736847e9dbc
4
- data.tar.gz: aba8667615b7af0988a3442ab6a5c1d602cf6ac9d002b6bd9d6364e2c3ee3684
3
+ metadata.gz: 73509008d1f69630213ef7ff108e05d399bc13d52ee18990f235824bb728b67a
4
+ data.tar.gz: 6c442fa2ec2717b8793a815d9a7c731bd4697ff56ca0b14b1a0a52e7f8a61ea7
5
5
  SHA512:
6
- metadata.gz: 1e38609d78fb30ed70626a675790d3af89a94d62e2595c81a8389f435f4ce98e1fbb4f2e93103985205ce2170010b356a3434ce0a788d2727c602121c154687b
7
- data.tar.gz: fd6fe589e05bd0a140e40e37754e996af785e6e21030b589087d2d273e2763948e40dac14a15210bd17d2350cd5ee8ec87048f77fee458a58fdfee82fef0d970
6
+ metadata.gz: f05e810ac98cc0057153a5a2bd7e20725daf6ad0afe6a4b1c5b47e44e4bb254152b6c4872688658381aeca59a4922992f10f5ab5897576ca3cd91a7ab1d523e5
7
+ data.tar.gz: c1834535ea92341072e5a50db40c0211969af1730c367d50f431e7f336c4df0a5e1ebdfba67617c1b55f03745bdbd398b8700a15ebdfac01ae8617d2ecdab38c
@@ -2,6 +2,8 @@ language: ruby
2
2
  rvm:
3
3
  - 2.5
4
4
  install:
5
+ - gem install bundler
6
+ - bundle update --bundler
5
7
  - bundle install
6
8
  script:
7
9
  - bundle exec rubocop
data/Gemfile CHANGED
@@ -1,8 +1,8 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
- gem 'activerecord', '>= 5.2.2'
3
+ gem 'activerecord', '>= 6.0.1'
4
4
  gem 'rake'
5
- gem 'sqlite3', '~> 1.3.6'
5
+ gem 'sqlite3', '~> 1.4.0'
6
6
 
7
7
  group :development do
8
8
  gem 'byebug'
@@ -1,32 +1,31 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mappd (5.2.2)
5
- activerecord (>= 5.2.2)
4
+ mappd (6.0.3)
5
+ activerecord (>= 6.0.3)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
- activemodel (5.2.2)
11
- activesupport (= 5.2.2)
12
- activerecord (5.2.2)
13
- activemodel (= 5.2.2)
14
- activesupport (= 5.2.2)
15
- arel (>= 9.0)
16
- activesupport (5.2.2)
10
+ activemodel (6.0.3.2)
11
+ activesupport (= 6.0.3.2)
12
+ activerecord (6.0.3.2)
13
+ activemodel (= 6.0.3.2)
14
+ activesupport (= 6.0.3.2)
15
+ activesupport (6.0.3.2)
17
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
18
17
  i18n (>= 0.7, < 2)
19
18
  minitest (~> 5.1)
20
19
  tzinfo (~> 1.1)
21
- arel (9.0.0)
22
- ast (2.4.0)
23
- byebug (11.0.0)
24
- coderay (1.1.2)
25
- concurrent-ruby (1.1.4)
20
+ zeitwerk (~> 2.2, >= 2.2.2)
21
+ ast (2.4.1)
22
+ byebug (11.1.3)
23
+ coderay (1.1.3)
24
+ concurrent-ruby (1.1.6)
26
25
  diff-lcs (1.3)
27
- ffi (1.10.0)
26
+ ffi (1.13.1)
28
27
  formatador (0.2.5)
29
- guard (2.15.0)
28
+ guard (2.16.2)
30
29
  formatador (>= 0.2.4)
31
30
  listen (>= 2.7, < 4.0)
32
31
  lumberjack (>= 1.0.12, < 2.0)
@@ -43,72 +42,72 @@ GEM
43
42
  guard-rubocop (1.3.0)
44
43
  guard (~> 2.0)
45
44
  rubocop (~> 0.20)
46
- i18n (1.6.0)
45
+ i18n (1.8.3)
47
46
  concurrent-ruby (~> 1.0)
48
- jaro_winkler (1.5.2)
49
- listen (3.1.5)
50
- rb-fsevent (~> 0.9, >= 0.9.4)
51
- rb-inotify (~> 0.9, >= 0.9.7)
52
- ruby_dep (~> 1.2)
53
- lumberjack (1.0.13)
54
- method_source (0.9.2)
55
- minitest (5.11.3)
47
+ listen (3.2.1)
48
+ rb-fsevent (~> 0.10, >= 0.10.3)
49
+ rb-inotify (~> 0.9, >= 0.9.10)
50
+ lumberjack (1.2.5)
51
+ method_source (1.0.0)
52
+ minitest (5.14.1)
56
53
  nenv (0.3.0)
57
- notiffany (0.1.1)
54
+ notiffany (0.1.3)
58
55
  nenv (~> 0.1)
59
56
  shellany (~> 0.0)
60
- parallel (1.14.0)
61
- parser (2.6.0.0)
57
+ parallel (1.19.2)
58
+ parser (2.7.1.3)
62
59
  ast (~> 2.4.0)
63
- powerpack (0.1.2)
64
- pry (0.12.2)
65
- coderay (~> 1.1.0)
66
- method_source (~> 0.9.0)
67
- psych (3.1.0)
60
+ pry (0.13.1)
61
+ coderay (~> 1.1)
62
+ method_source (~> 1.0)
68
63
  rainbow (3.0.0)
69
- rake (12.3.2)
70
- rb-fsevent (0.10.3)
71
- rb-inotify (0.10.0)
64
+ rake (13.0.1)
65
+ rb-fsevent (0.10.4)
66
+ rb-inotify (0.10.1)
72
67
  ffi (~> 1.0)
73
- rspec (3.8.0)
74
- rspec-core (~> 3.8.0)
75
- rspec-expectations (~> 3.8.0)
76
- rspec-mocks (~> 3.8.0)
77
- rspec-core (3.8.0)
78
- rspec-support (~> 3.8.0)
79
- rspec-expectations (3.8.2)
68
+ regexp_parser (1.7.1)
69
+ rexml (3.2.4)
70
+ rspec (3.9.0)
71
+ rspec-core (~> 3.9.0)
72
+ rspec-expectations (~> 3.9.0)
73
+ rspec-mocks (~> 3.9.0)
74
+ rspec-core (3.9.2)
75
+ rspec-support (~> 3.9.3)
76
+ rspec-expectations (3.9.2)
80
77
  diff-lcs (>= 1.2.0, < 2.0)
81
- rspec-support (~> 3.8.0)
82
- rspec-mocks (3.8.0)
78
+ rspec-support (~> 3.9.0)
79
+ rspec-mocks (3.9.1)
83
80
  diff-lcs (>= 1.2.0, < 2.0)
84
- rspec-support (~> 3.8.0)
85
- rspec-support (3.8.0)
86
- rubocop (0.65.0)
87
- jaro_winkler (~> 1.5.1)
81
+ rspec-support (~> 3.9.0)
82
+ rspec-support (3.9.3)
83
+ rubocop (0.85.1)
88
84
  parallel (~> 1.10)
89
- parser (>= 2.5, != 2.5.1.1)
90
- powerpack (~> 0.1)
91
- psych (>= 3.1.0)
85
+ parser (>= 2.7.0.1)
92
86
  rainbow (>= 2.2.2, < 4.0)
87
+ regexp_parser (>= 1.7)
88
+ rexml
89
+ rubocop-ast (>= 0.0.3)
93
90
  ruby-progressbar (~> 1.7)
94
- unicode-display_width (~> 1.4.0)
95
- ruby-progressbar (1.10.0)
96
- ruby_dep (1.5.0)
91
+ unicode-display_width (>= 1.4.0, < 2.0)
92
+ rubocop-ast (0.0.3)
93
+ parser (>= 2.7.0.1)
94
+ ruby-progressbar (1.10.1)
97
95
  shellany (0.0.1)
98
- shoulda-matchers (4.0.1)
96
+ shoulda-matchers (4.3.0)
99
97
  activesupport (>= 4.2.0)
100
- sqlite3 (1.3.13)
101
- thor (0.20.3)
98
+ sqlite3 (1.4.2)
99
+ thor (1.0.1)
102
100
  thread_safe (0.3.6)
103
- tzinfo (1.2.5)
101
+ tzinfo (1.2.7)
104
102
  thread_safe (~> 0.1)
105
- unicode-display_width (1.4.1)
103
+ unicode-display_width (1.7.0)
104
+ zeitwerk (2.3.0)
106
105
 
107
106
  PLATFORMS
108
107
  ruby
109
108
 
110
109
  DEPENDENCIES
111
- activerecord (>= 5.2.2)
110
+ activerecord (>= 6.0.1)
112
111
  byebug
113
112
  guard-rspec
114
113
  guard-rubocop
@@ -117,7 +116,7 @@ DEPENDENCIES
117
116
  rspec
118
117
  rubocop
119
118
  shoulda-matchers
120
- sqlite3 (~> 1.3.6)
119
+ sqlite3 (~> 1.4.0)
121
120
 
122
121
  BUNDLED WITH
123
- 1.17.2
122
+ 1.17.3
@@ -2,4 +2,8 @@ require 'rubygems' unless defined?(Gem)
2
2
  require 'active_record'
3
3
  require 'mappd/mappd'
4
4
 
5
- ActiveRecord::Base.send(:include, Mappd)
5
+ module ActiveRecord
6
+ class Base
7
+ include Mappd
8
+ end
9
+ end
@@ -1,3 +1,3 @@
1
1
  module Mappd
2
- VERSION = '5.2.2'.freeze
2
+ VERSION = '6.0.3'.freeze
3
3
  end
@@ -22,5 +22,5 @@ at you just know in others projects like DataMapper or MongoMapper.
22
22
  .split("\n").map { |f| File.basename(f) }
23
23
  s.require_paths = ['lib']
24
24
 
25
- s.add_dependency 'activerecord', '>=5.2.2'
25
+ s.add_dependency 'activerecord', '>=6.0.3'
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mappd
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.2
4
+ version: 6.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Watson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-07 00:00:00.000000000 Z
11
+ date: 2020-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 5.2.2
19
+ version: 6.0.3
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
- version: 5.2.2
26
+ version: 6.0.3
27
27
  description: "With it you can add the ability to create columns\noutside the default
28
28
  schema, directly in your model in a similar way t\nat you just know in others projects
29
29
  like DataMapper or MongoMapper.\n "
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  - !ruby/object:Gem::Version
72
72
  version: '0'
73
73
  requirements: []
74
- rubygems_version: 3.0.1
74
+ rubygems_version: 3.0.3
75
75
  signing_key:
76
76
  specification_version: 4
77
77
  summary: Mappd is a micro gem that allow you to write schema inside your model as