ar-uuid 0.2.0 → 0.2.1
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 +5 -5
- data/.gitignore +1 -0
- data/.rubocop.yml +6 -0
- data/.travis.yml +19 -12
- data/Gemfile +2 -0
- data/README.md +21 -2
- data/Rakefile +2 -0
- data/ar-uuid.gemspec +8 -5
- data/gemfiles/4_2.gemfile +3 -0
- data/gemfiles/5_0.gemfile +2 -0
- data/gemfiles/5_1.gemfile +2 -0
- data/gemfiles/5_2.gemfile +5 -0
- data/gemfiles/6_0.gemfile +5 -0
- data/lib/active_record/uuid.rb +2 -0
- data/lib/active_record/uuid/ext.rb +2 -0
- data/lib/active_record/uuid/schema.rb +2 -0
- data/lib/active_record/uuid/table_definition.rb +3 -2
- data/lib/active_record/uuid/utils.rb +4 -1
- data/lib/active_record/uuid/version.rb +3 -1
- data/lib/ar-uuid.rb +2 -0
- metadata +14 -15
- data/gemfiles/4_2.gemfile.lock +0 -81
- data/gemfiles/5_0.gemfile.lock +0 -80
- data/gemfiles/5_1.gemfile.lock +0 -80
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 93c91508bd70a5268617866a07b0c751a8e5bb104760178326edbf49b97bb021
|
4
|
+
data.tar.gz: 6f7782551f5ea603207376818069c9a4ec498dddd048487d625d6835153b91bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c103167396247576c837b779c972654eabc5d22fc0947a136c19e2fc2907256e20ffdde27c87a908e651acb3e13247679cf84e8c792b43f33aac0f732952fae8
|
7
|
+
data.tar.gz: 4314317acb833839a947730fbd008ff702588d8ca33d9cabd8a7e118c382db9278fc456359e9fe721dbc16acc41f504294454ec905e84a8dde8ce32f8383026c
|
data/.gitignore
CHANGED
data/.rubocop.yml
ADDED
data/.travis.yml
CHANGED
@@ -1,22 +1,29 @@
|
|
1
|
+
---
|
1
2
|
language: ruby
|
2
3
|
sudo: false
|
3
4
|
cache: bundler
|
4
5
|
before_install:
|
5
|
-
- gem install bundler
|
6
|
+
- gem install bundler
|
6
7
|
before_script:
|
7
|
-
- createdb test
|
8
|
+
- createdb test
|
9
|
+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
10
|
+
- chmod +x ./cc-test-reporter
|
11
|
+
- "./cc-test-reporter before-build"
|
8
12
|
addons:
|
9
|
-
postgresql:
|
13
|
+
postgresql: '9.4'
|
10
14
|
rvm:
|
11
|
-
- 2.
|
15
|
+
- 2.6.5
|
16
|
+
- 2.5.7
|
12
17
|
gemfile:
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
secure: jx2vy7MRmkFfs2DUx4+Yh7sxMw8yYlPyZuGt4f3S1Myb3voOrsht/9mJ5QENhKX/Rx+u5BBHCPS/YgKZKb12xYCQZwH3NLTk0etQZCykFfgtOmKYEJmIro/61Ctqdz/lo9LUQ3PRxs0bfvlOeygGTc6+XmK2KpyYF1RSIPJ+A2s=
|
18
|
+
- gemfiles/6_0.gemfile
|
19
|
+
- gemfiles/5_2.gemfile
|
20
|
+
- gemfiles/5_1.gemfile
|
21
|
+
- gemfiles/5_0.gemfile
|
22
|
+
- gemfiles/4_2.gemfile
|
19
23
|
notifications:
|
20
24
|
email: false
|
21
|
-
|
22
|
-
-
|
25
|
+
after_script:
|
26
|
+
- "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"
|
27
|
+
env:
|
28
|
+
global:
|
29
|
+
secure: e3q9FNNyflF3TXteIJ/GAMHiMBpDgwNX5CbnogE+n60GulXI1TgoWHyXQwlSKQWHHm5yKTQ+Gn4oPQndocG4dfD0EEb56XMCvwgyuUFRkVQDqaycEBvSN/QDAV1SOTH0aZLv0G+BC6PtDvEmjbC3FLtJzp2t1SXaZvDUBUEp7dU=
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# ActiveRecord::UUID
|
2
2
|
|
3
|
-
[](https://travis-ci.org/fnando/ar-uuid)
|
4
4
|
[](https://codeclimate.com/github/fnando/ar-uuid)
|
5
5
|
[](https://codeclimate.com/github/fnando/ar-uuid/coverage)
|
6
6
|
[](https://rubygems.org/gems/ar-uuid)
|
@@ -56,7 +56,26 @@ end
|
|
56
56
|
|
57
57
|
There is one big disadvantage on using uuid identifiers: you can't use methods like `ActiveRecord::FinderMethods::InstanceMethods#first` and `ActiveRecord::FinderMethods::InstanceMethods#last`, since they are scoped to the sequential id.
|
58
58
|
|
59
|
-
|
59
|
+
The easiest alternative is ordering results and calling `first`/`last`. You can either create a sequence, or use the `created_at`/`updated_at` columns:
|
60
|
+
|
61
|
+
```ruby
|
62
|
+
# Get first record
|
63
|
+
User.order(created_at: :asc).first
|
64
|
+
|
65
|
+
# Get last record
|
66
|
+
User.order(created_at: :desc).first
|
67
|
+
|
68
|
+
# Use scopes
|
69
|
+
class User < ApplicationRecord
|
70
|
+
scope :newer, -> { order(created_at: :desc) }
|
71
|
+
scope :older, -> { order(created_at: :asc) }
|
72
|
+
end
|
73
|
+
|
74
|
+
User.older.first
|
75
|
+
User.newer.first
|
76
|
+
```
|
77
|
+
|
78
|
+
You can also replace `.first` with [ActiveRecord::FinderMethods::InstanceMethods#take](https://github.com/rails/rails/blob/f52354ad1d15120dcc5284714bee7ee3f052986c/activerecord/lib/active_record/relation/finder_methods.rb#L104), which will use the order implemented by the database.
|
60
79
|
|
61
80
|
There's no alternative to `.last`.
|
62
81
|
|
data/Rakefile
CHANGED
data/ar-uuid.gemspec
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require "./lib/active_record/uuid/version"
|
2
4
|
|
3
5
|
Gem::Specification.new do |spec|
|
@@ -5,22 +7,23 @@ Gem::Specification.new do |spec|
|
|
5
7
|
spec.version = ActiveRecord::UUID::VERSION
|
6
8
|
spec.authors = ["Nando Vieira"]
|
7
9
|
spec.email = ["fnando.vieira@gmail.com"]
|
8
|
-
spec.summary = %[Add UUID support for ActiveRecord. It enforces uuid primary keys, fixes ActiveRecord
|
10
|
+
spec.summary = %[Add UUID support for ActiveRecord. It enforces uuid primary keys, fixes ActiveRecord's first/last methods and more.]
|
9
11
|
spec.description = spec.summary
|
10
12
|
spec.homepage = "http://rubygems.org/gems/ar-uuid"
|
11
13
|
spec.license = "MIT"
|
12
14
|
|
13
|
-
spec.files = `git ls-files -z`.split("\x0").reject {
|
15
|
+
spec.files = `git ls-files -z`.split("\x0").reject {|f| f.match(%r{^(test|spec|features)/}) }
|
14
16
|
spec.bindir = "exe"
|
15
|
-
spec.executables = spec.files.grep(%r{^exe/}) {
|
17
|
+
spec.executables = spec.files.grep(%r{^exe/}) {|f| File.basename(f) }
|
16
18
|
spec.require_paths = ["lib"]
|
17
19
|
|
18
20
|
spec.add_dependency "activerecord"
|
21
|
+
|
19
22
|
spec.add_development_dependency "bundler"
|
20
|
-
spec.add_development_dependency "rake"
|
21
23
|
spec.add_development_dependency "minitest-utils"
|
22
24
|
spec.add_development_dependency "mocha"
|
23
25
|
spec.add_development_dependency "pg"
|
24
26
|
spec.add_development_dependency "pry-meta"
|
25
|
-
spec.add_development_dependency "
|
27
|
+
spec.add_development_dependency "rake"
|
28
|
+
spec.add_development_dependency "simplecov"
|
26
29
|
end
|
data/gemfiles/4_2.gemfile
CHANGED
data/gemfiles/5_0.gemfile
CHANGED
data/gemfiles/5_1.gemfile
CHANGED
data/lib/active_record/uuid.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module ActiveRecord
|
2
4
|
module UUID
|
3
5
|
module TableDefinition
|
@@ -9,8 +11,7 @@ module ActiveRecord
|
|
9
11
|
|
10
12
|
super(*args)
|
11
13
|
end
|
12
|
-
|
13
|
-
alias_method :belongs_to, :references
|
14
|
+
alias belongs_to references
|
14
15
|
|
15
16
|
def primary_key(name, type = :primary_key, **options)
|
16
17
|
options[:default] = ::ActiveRecord::UUID::Utils.uuid_default_function
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module ActiveRecord
|
2
4
|
module UUID
|
3
5
|
MissingExtensionError = Class.new(StandardError) do
|
@@ -7,7 +9,7 @@ module ActiveRecord
|
|
7
9
|
end
|
8
10
|
|
9
11
|
module Utils
|
10
|
-
EXTENSIONS_SQL = <<-SQL
|
12
|
+
EXTENSIONS_SQL = <<-SQL
|
11
13
|
select
|
12
14
|
extname
|
13
15
|
from pg_extension
|
@@ -26,6 +28,7 @@ module ActiveRecord
|
|
26
28
|
connection = ::ActiveRecord::Base.connection
|
27
29
|
result = connection.execute(EXTENSIONS_SQL).first
|
28
30
|
raise MissingExtensionError unless result
|
31
|
+
|
29
32
|
result.fetch("extname")
|
30
33
|
end
|
31
34
|
|
data/lib/ar-uuid.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ar-uuid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nando Vieira
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: minitest-utils
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: mocha
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: pg
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: pry-meta
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
@@ -95,7 +95,7 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: rake
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - ">="
|
@@ -109,7 +109,7 @@ dependencies:
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: simplecov
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
@@ -123,7 +123,7 @@ dependencies:
|
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
description: Add UUID support for ActiveRecord. It enforces uuid primary keys, fixes
|
126
|
-
ActiveRecord
|
126
|
+
ActiveRecord's first/last methods and more.
|
127
127
|
email:
|
128
128
|
- fnando.vieira@gmail.com
|
129
129
|
executables: []
|
@@ -131,6 +131,7 @@ extensions: []
|
|
131
131
|
extra_rdoc_files: []
|
132
132
|
files:
|
133
133
|
- ".gitignore"
|
134
|
+
- ".rubocop.yml"
|
134
135
|
- ".travis.yml"
|
135
136
|
- Gemfile
|
136
137
|
- LICENSE.txt
|
@@ -138,11 +139,10 @@ files:
|
|
138
139
|
- Rakefile
|
139
140
|
- ar-uuid.gemspec
|
140
141
|
- gemfiles/4_2.gemfile
|
141
|
-
- gemfiles/4_2.gemfile.lock
|
142
142
|
- gemfiles/5_0.gemfile
|
143
|
-
- gemfiles/5_0.gemfile.lock
|
144
143
|
- gemfiles/5_1.gemfile
|
145
|
-
- gemfiles/
|
144
|
+
- gemfiles/5_2.gemfile
|
145
|
+
- gemfiles/6_0.gemfile
|
146
146
|
- lib/active_record/uuid.rb
|
147
147
|
- lib/active_record/uuid/ext.rb
|
148
148
|
- lib/active_record/uuid/schema.rb
|
@@ -169,10 +169,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
169
169
|
- !ruby/object:Gem::Version
|
170
170
|
version: '0'
|
171
171
|
requirements: []
|
172
|
-
|
173
|
-
rubygems_version: 2.6.11
|
172
|
+
rubygems_version: 3.0.3
|
174
173
|
signing_key:
|
175
174
|
specification_version: 4
|
176
|
-
summary: Add UUID support for ActiveRecord. It enforces uuid primary keys, fixes ActiveRecord
|
175
|
+
summary: Add UUID support for ActiveRecord. It enforces uuid primary keys, fixes ActiveRecord's
|
177
176
|
first/last methods and more.
|
178
177
|
test_files: []
|
data/gemfiles/4_2.gemfile.lock
DELETED
@@ -1,81 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
ar-uuid (0.1.2)
|
5
|
-
activerecord
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
activemodel (4.2.8)
|
11
|
-
activesupport (= 4.2.8)
|
12
|
-
builder (~> 3.1)
|
13
|
-
activerecord (4.2.8)
|
14
|
-
activemodel (= 4.2.8)
|
15
|
-
activesupport (= 4.2.8)
|
16
|
-
arel (~> 6.0)
|
17
|
-
activesupport (4.2.8)
|
18
|
-
i18n (~> 0.7)
|
19
|
-
minitest (~> 5.1)
|
20
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
21
|
-
tzinfo (~> 1.1)
|
22
|
-
arel (6.0.4)
|
23
|
-
awesome_print (1.8.0)
|
24
|
-
builder (3.2.3)
|
25
|
-
byebug (9.0.6)
|
26
|
-
codeclimate-test-reporter (1.0.8)
|
27
|
-
simplecov (<= 0.13)
|
28
|
-
coderay (1.1.1)
|
29
|
-
docile (1.1.5)
|
30
|
-
i18n (0.8.4)
|
31
|
-
json (2.1.0)
|
32
|
-
metaclass (0.0.4)
|
33
|
-
method_source (0.8.2)
|
34
|
-
minitest (5.10.2)
|
35
|
-
minitest-utils (0.3.1)
|
36
|
-
minitest
|
37
|
-
mocha (1.2.1)
|
38
|
-
metaclass (~> 0.0.1)
|
39
|
-
pg (0.21.0)
|
40
|
-
pry (0.10.4)
|
41
|
-
coderay (~> 1.1.0)
|
42
|
-
method_source (~> 0.8.1)
|
43
|
-
slop (~> 3.4)
|
44
|
-
pry-byebug (3.4.2)
|
45
|
-
byebug (~> 9.0)
|
46
|
-
pry (~> 0.10)
|
47
|
-
pry-meta (0.0.10)
|
48
|
-
awesome_print
|
49
|
-
pry
|
50
|
-
pry-byebug
|
51
|
-
pry-remote
|
52
|
-
pry-remote (0.1.8)
|
53
|
-
pry (~> 0.9)
|
54
|
-
slop (~> 3.0)
|
55
|
-
rake (12.0.0)
|
56
|
-
simplecov (0.13.0)
|
57
|
-
docile (~> 1.1.0)
|
58
|
-
json (>= 1.8, < 3)
|
59
|
-
simplecov-html (~> 0.10.0)
|
60
|
-
simplecov-html (0.10.1)
|
61
|
-
slop (3.6.0)
|
62
|
-
thread_safe (0.3.6)
|
63
|
-
tzinfo (1.2.3)
|
64
|
-
thread_safe (~> 0.1)
|
65
|
-
|
66
|
-
PLATFORMS
|
67
|
-
ruby
|
68
|
-
|
69
|
-
DEPENDENCIES
|
70
|
-
activerecord (~> 4.2.0)
|
71
|
-
ar-uuid!
|
72
|
-
bundler
|
73
|
-
codeclimate-test-reporter
|
74
|
-
minitest-utils
|
75
|
-
mocha
|
76
|
-
pg
|
77
|
-
pry-meta
|
78
|
-
rake
|
79
|
-
|
80
|
-
BUNDLED WITH
|
81
|
-
1.15.1
|
data/gemfiles/5_0.gemfile.lock
DELETED
@@ -1,80 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
ar-uuid (0.1.2)
|
5
|
-
activerecord
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
activemodel (5.0.3)
|
11
|
-
activesupport (= 5.0.3)
|
12
|
-
activerecord (5.0.3)
|
13
|
-
activemodel (= 5.0.3)
|
14
|
-
activesupport (= 5.0.3)
|
15
|
-
arel (~> 7.0)
|
16
|
-
activesupport (5.0.3)
|
17
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
18
|
-
i18n (~> 0.7)
|
19
|
-
minitest (~> 5.1)
|
20
|
-
tzinfo (~> 1.1)
|
21
|
-
arel (7.1.4)
|
22
|
-
awesome_print (1.8.0)
|
23
|
-
byebug (9.0.6)
|
24
|
-
codeclimate-test-reporter (1.0.8)
|
25
|
-
simplecov (<= 0.13)
|
26
|
-
coderay (1.1.1)
|
27
|
-
concurrent-ruby (1.0.5)
|
28
|
-
docile (1.1.5)
|
29
|
-
i18n (0.8.4)
|
30
|
-
json (2.1.0)
|
31
|
-
metaclass (0.0.4)
|
32
|
-
method_source (0.8.2)
|
33
|
-
minitest (5.10.2)
|
34
|
-
minitest-utils (0.3.1)
|
35
|
-
minitest
|
36
|
-
mocha (1.2.1)
|
37
|
-
metaclass (~> 0.0.1)
|
38
|
-
pg (0.21.0)
|
39
|
-
pry (0.10.4)
|
40
|
-
coderay (~> 1.1.0)
|
41
|
-
method_source (~> 0.8.1)
|
42
|
-
slop (~> 3.4)
|
43
|
-
pry-byebug (3.4.2)
|
44
|
-
byebug (~> 9.0)
|
45
|
-
pry (~> 0.10)
|
46
|
-
pry-meta (0.0.10)
|
47
|
-
awesome_print
|
48
|
-
pry
|
49
|
-
pry-byebug
|
50
|
-
pry-remote
|
51
|
-
pry-remote (0.1.8)
|
52
|
-
pry (~> 0.9)
|
53
|
-
slop (~> 3.0)
|
54
|
-
rake (12.0.0)
|
55
|
-
simplecov (0.13.0)
|
56
|
-
docile (~> 1.1.0)
|
57
|
-
json (>= 1.8, < 3)
|
58
|
-
simplecov-html (~> 0.10.0)
|
59
|
-
simplecov-html (0.10.1)
|
60
|
-
slop (3.6.0)
|
61
|
-
thread_safe (0.3.6)
|
62
|
-
tzinfo (1.2.3)
|
63
|
-
thread_safe (~> 0.1)
|
64
|
-
|
65
|
-
PLATFORMS
|
66
|
-
ruby
|
67
|
-
|
68
|
-
DEPENDENCIES
|
69
|
-
activerecord (~> 5.0.0)
|
70
|
-
ar-uuid!
|
71
|
-
bundler
|
72
|
-
codeclimate-test-reporter
|
73
|
-
minitest-utils
|
74
|
-
mocha
|
75
|
-
pg
|
76
|
-
pry-meta
|
77
|
-
rake
|
78
|
-
|
79
|
-
BUNDLED WITH
|
80
|
-
1.15.1
|
data/gemfiles/5_1.gemfile.lock
DELETED
@@ -1,80 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
ar-uuid (0.1.2)
|
5
|
-
activerecord
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
activemodel (5.1.1)
|
11
|
-
activesupport (= 5.1.1)
|
12
|
-
activerecord (5.1.1)
|
13
|
-
activemodel (= 5.1.1)
|
14
|
-
activesupport (= 5.1.1)
|
15
|
-
arel (~> 8.0)
|
16
|
-
activesupport (5.1.1)
|
17
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
18
|
-
i18n (~> 0.7)
|
19
|
-
minitest (~> 5.1)
|
20
|
-
tzinfo (~> 1.1)
|
21
|
-
arel (8.0.0)
|
22
|
-
awesome_print (1.8.0)
|
23
|
-
byebug (9.0.6)
|
24
|
-
codeclimate-test-reporter (1.0.8)
|
25
|
-
simplecov (<= 0.13)
|
26
|
-
coderay (1.1.1)
|
27
|
-
concurrent-ruby (1.0.5)
|
28
|
-
docile (1.1.5)
|
29
|
-
i18n (0.8.4)
|
30
|
-
json (2.1.0)
|
31
|
-
metaclass (0.0.4)
|
32
|
-
method_source (0.8.2)
|
33
|
-
minitest (5.10.2)
|
34
|
-
minitest-utils (0.3.1)
|
35
|
-
minitest
|
36
|
-
mocha (1.2.1)
|
37
|
-
metaclass (~> 0.0.1)
|
38
|
-
pg (0.21.0)
|
39
|
-
pry (0.10.4)
|
40
|
-
coderay (~> 1.1.0)
|
41
|
-
method_source (~> 0.8.1)
|
42
|
-
slop (~> 3.4)
|
43
|
-
pry-byebug (3.4.2)
|
44
|
-
byebug (~> 9.0)
|
45
|
-
pry (~> 0.10)
|
46
|
-
pry-meta (0.0.10)
|
47
|
-
awesome_print
|
48
|
-
pry
|
49
|
-
pry-byebug
|
50
|
-
pry-remote
|
51
|
-
pry-remote (0.1.8)
|
52
|
-
pry (~> 0.9)
|
53
|
-
slop (~> 3.0)
|
54
|
-
rake (12.0.0)
|
55
|
-
simplecov (0.13.0)
|
56
|
-
docile (~> 1.1.0)
|
57
|
-
json (>= 1.8, < 3)
|
58
|
-
simplecov-html (~> 0.10.0)
|
59
|
-
simplecov-html (0.10.1)
|
60
|
-
slop (3.6.0)
|
61
|
-
thread_safe (0.3.6)
|
62
|
-
tzinfo (1.2.3)
|
63
|
-
thread_safe (~> 0.1)
|
64
|
-
|
65
|
-
PLATFORMS
|
66
|
-
ruby
|
67
|
-
|
68
|
-
DEPENDENCIES
|
69
|
-
activerecord (~> 5.1.0)
|
70
|
-
ar-uuid!
|
71
|
-
bundler
|
72
|
-
codeclimate-test-reporter
|
73
|
-
minitest-utils
|
74
|
-
mocha
|
75
|
-
pg
|
76
|
-
pry-meta
|
77
|
-
rake
|
78
|
-
|
79
|
-
BUNDLED WITH
|
80
|
-
1.15.1
|