first_after_created_at 0.0.4 → 1.0.0
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/.travis.yml +5 -1
- data/CHANGELOG.md +3 -0
- data/Gemfile +3 -7
- data/Gemfile.lock +122 -101
- data/Rakefile +4 -3
- data/TODO +0 -0
- data/VERSION +1 -1
- data/first_after_created_at.gemspec +21 -19
- data/lib/first_after_created_at/version.rb +1 -1
- data/test/dummy/config/application.rb +0 -4
- data/test/dummy/db/migrate/20170802143942_create_has_timestamps.rb +1 -1
- data/test/dummy/db/schema.rb +1 -2
- data/test/test_helper.rb +9 -9
- metadata +22 -21
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 9de6c9ba939bfcb527e07501ad1d8a7cfe68f6c8c5c6be6d5913d58d656e75e9
|
|
4
|
+
data.tar.gz: 71fea9e3fec471d6546da1dbc6f7ddd6d047a7121bb69cba13dd3c26269ffaad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2bc71de47de806d95fb28b28a604dc4d6b16ca8c72a2616fc39fcea58f98bd6c36870624bb89bad28121f710aa984417538a8c713cf0a5ae0e73dd39ad0b3ba2
|
|
7
|
+
data.tar.gz: 87f8b1a6a085c532deeed4aad37f9f831d5f16633d7118f6b5d1eccdb7705a1978f8dcc061c2db017ce3d7886addc275144ed49fff1a1b433f86b05f0f0377b9
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,144 +1,165 @@
|
|
|
1
1
|
GEM
|
|
2
2
|
remote: https://rubygems.org/
|
|
3
3
|
specs:
|
|
4
|
-
|
|
5
|
-
actionpack (=
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
actioncable (5.2.2)
|
|
5
|
+
actionpack (= 5.2.2)
|
|
6
|
+
nio4r (~> 2.0)
|
|
7
|
+
websocket-driver (>= 0.6.1)
|
|
8
|
+
actionmailer (5.2.2)
|
|
9
|
+
actionpack (= 5.2.2)
|
|
10
|
+
actionview (= 5.2.2)
|
|
11
|
+
activejob (= 5.2.2)
|
|
8
12
|
mail (~> 2.5, >= 2.5.4)
|
|
9
|
-
rails-dom-testing (~>
|
|
10
|
-
actionpack (
|
|
11
|
-
actionview (=
|
|
12
|
-
activesupport (=
|
|
13
|
-
rack (~>
|
|
14
|
-
rack-test (
|
|
15
|
-
rails-dom-testing (~>
|
|
13
|
+
rails-dom-testing (~> 2.0)
|
|
14
|
+
actionpack (5.2.2)
|
|
15
|
+
actionview (= 5.2.2)
|
|
16
|
+
activesupport (= 5.2.2)
|
|
17
|
+
rack (~> 2.0)
|
|
18
|
+
rack-test (>= 0.6.3)
|
|
19
|
+
rails-dom-testing (~> 2.0)
|
|
16
20
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
17
|
-
actionview (
|
|
18
|
-
activesupport (=
|
|
21
|
+
actionview (5.2.2)
|
|
22
|
+
activesupport (= 5.2.2)
|
|
19
23
|
builder (~> 3.1)
|
|
20
|
-
|
|
21
|
-
rails-dom-testing (~>
|
|
24
|
+
erubi (~> 1.4)
|
|
25
|
+
rails-dom-testing (~> 2.0)
|
|
22
26
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
|
23
|
-
activejob (
|
|
24
|
-
activesupport (=
|
|
25
|
-
globalid (>= 0.3.
|
|
26
|
-
activemodel (
|
|
27
|
-
activesupport (=
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
27
|
+
activejob (5.2.2)
|
|
28
|
+
activesupport (= 5.2.2)
|
|
29
|
+
globalid (>= 0.3.6)
|
|
30
|
+
activemodel (5.2.2)
|
|
31
|
+
activesupport (= 5.2.2)
|
|
32
|
+
activerecord (5.2.2)
|
|
33
|
+
activemodel (= 5.2.2)
|
|
34
|
+
activesupport (= 5.2.2)
|
|
35
|
+
arel (>= 9.0)
|
|
36
|
+
activestorage (5.2.2)
|
|
37
|
+
actionpack (= 5.2.2)
|
|
38
|
+
activerecord (= 5.2.2)
|
|
39
|
+
marcel (~> 0.3.1)
|
|
40
|
+
activesupport (5.2.2)
|
|
41
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
42
|
+
i18n (>= 0.7, < 2)
|
|
35
43
|
minitest (~> 5.1)
|
|
36
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
|
37
44
|
tzinfo (~> 1.1)
|
|
38
|
-
addressable (2.
|
|
39
|
-
|
|
45
|
+
addressable (2.6.0)
|
|
46
|
+
public_suffix (>= 2.0.2, < 4.0)
|
|
47
|
+
arel (9.0.0)
|
|
40
48
|
builder (3.2.3)
|
|
41
|
-
concurrent-ruby (1.
|
|
49
|
+
concurrent-ruby (1.1.4)
|
|
50
|
+
crass (1.0.4)
|
|
42
51
|
descendants_tracker (0.0.4)
|
|
43
52
|
thread_safe (~> 0.3, >= 0.3.1)
|
|
44
|
-
|
|
45
|
-
faraday (0.
|
|
53
|
+
erubi (1.8.0)
|
|
54
|
+
faraday (0.15.4)
|
|
46
55
|
multipart-post (>= 1.2, < 3)
|
|
47
|
-
git (1.
|
|
48
|
-
github_api (0.
|
|
49
|
-
addressable (~> 2.4
|
|
56
|
+
git (1.5.0)
|
|
57
|
+
github_api (0.18.2)
|
|
58
|
+
addressable (~> 2.4)
|
|
50
59
|
descendants_tracker (~> 0.0.4)
|
|
51
|
-
faraday (~> 0.8
|
|
52
|
-
hashie (>= 3.
|
|
53
|
-
mime-types (>= 1.16, < 3.0)
|
|
60
|
+
faraday (~> 0.8)
|
|
61
|
+
hashie (~> 3.5, >= 3.5.2)
|
|
54
62
|
oauth2 (~> 1.0)
|
|
55
|
-
globalid (0.4.
|
|
63
|
+
globalid (0.4.2)
|
|
56
64
|
activesupport (>= 4.2.0)
|
|
57
|
-
hashie (3.
|
|
58
|
-
highline (
|
|
59
|
-
i18n (
|
|
60
|
-
|
|
65
|
+
hashie (3.6.0)
|
|
66
|
+
highline (2.0.1)
|
|
67
|
+
i18n (1.5.3)
|
|
68
|
+
concurrent-ruby (~> 1.0)
|
|
69
|
+
juwelier (2.4.9)
|
|
61
70
|
builder
|
|
62
|
-
bundler
|
|
63
|
-
git
|
|
64
|
-
github_api
|
|
65
|
-
highline
|
|
66
|
-
|
|
67
|
-
|
|
71
|
+
bundler
|
|
72
|
+
git
|
|
73
|
+
github_api
|
|
74
|
+
highline
|
|
75
|
+
kamelcase (~> 0)
|
|
76
|
+
nokogiri
|
|
77
|
+
psych
|
|
68
78
|
rake
|
|
69
79
|
rdoc
|
|
70
80
|
semver2
|
|
71
|
-
jwt (1.
|
|
72
|
-
|
|
81
|
+
jwt (2.1.0)
|
|
82
|
+
kamelcase (0.0.2)
|
|
83
|
+
semver2 (~> 3)
|
|
84
|
+
loofah (2.2.3)
|
|
85
|
+
crass (~> 1.0.2)
|
|
73
86
|
nokogiri (>= 1.5.9)
|
|
74
|
-
mail (2.
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
87
|
+
mail (2.7.1)
|
|
88
|
+
mini_mime (>= 0.1.1)
|
|
89
|
+
marcel (0.3.3)
|
|
90
|
+
mimemagic (~> 0.3.2)
|
|
91
|
+
method_source (0.9.2)
|
|
92
|
+
mimemagic (0.3.3)
|
|
93
|
+
mini_mime (1.0.1)
|
|
94
|
+
mini_portile2 (2.4.0)
|
|
95
|
+
minitest (5.11.3)
|
|
96
|
+
multi_json (1.13.1)
|
|
80
97
|
multi_xml (0.6.0)
|
|
81
98
|
multipart-post (2.0.0)
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
99
|
+
nio4r (2.3.1)
|
|
100
|
+
nokogiri (1.10.1)
|
|
101
|
+
mini_portile2 (~> 2.4.0)
|
|
102
|
+
oauth2 (1.4.1)
|
|
103
|
+
faraday (>= 0.8, < 0.16.0)
|
|
104
|
+
jwt (>= 1.0, < 3.0)
|
|
87
105
|
multi_json (~> 1.3)
|
|
88
106
|
multi_xml (~> 0.5)
|
|
89
107
|
rack (>= 1.2, < 3)
|
|
90
|
-
psych (
|
|
91
|
-
|
|
92
|
-
rack
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
rails-html-sanitizer (1.0.
|
|
112
|
-
loofah (~> 2.
|
|
113
|
-
railties (
|
|
114
|
-
actionpack (=
|
|
115
|
-
activesupport (=
|
|
108
|
+
psych (3.1.0)
|
|
109
|
+
public_suffix (3.0.3)
|
|
110
|
+
rack (2.0.6)
|
|
111
|
+
rack-test (1.1.0)
|
|
112
|
+
rack (>= 1.0, < 3)
|
|
113
|
+
rails (5.2.2)
|
|
114
|
+
actioncable (= 5.2.2)
|
|
115
|
+
actionmailer (= 5.2.2)
|
|
116
|
+
actionpack (= 5.2.2)
|
|
117
|
+
actionview (= 5.2.2)
|
|
118
|
+
activejob (= 5.2.2)
|
|
119
|
+
activemodel (= 5.2.2)
|
|
120
|
+
activerecord (= 5.2.2)
|
|
121
|
+
activestorage (= 5.2.2)
|
|
122
|
+
activesupport (= 5.2.2)
|
|
123
|
+
bundler (>= 1.3.0)
|
|
124
|
+
railties (= 5.2.2)
|
|
125
|
+
sprockets-rails (>= 2.0.0)
|
|
126
|
+
rails-dom-testing (2.0.3)
|
|
127
|
+
activesupport (>= 4.2.0)
|
|
128
|
+
nokogiri (>= 1.6)
|
|
129
|
+
rails-html-sanitizer (1.0.4)
|
|
130
|
+
loofah (~> 2.2, >= 2.2.2)
|
|
131
|
+
railties (5.2.2)
|
|
132
|
+
actionpack (= 5.2.2)
|
|
133
|
+
activesupport (= 5.2.2)
|
|
134
|
+
method_source
|
|
116
135
|
rake (>= 0.8.7)
|
|
117
|
-
thor (>= 0.
|
|
118
|
-
rake (12.
|
|
119
|
-
rdoc (
|
|
136
|
+
thor (>= 0.19.0, < 2.0)
|
|
137
|
+
rake (12.3.2)
|
|
138
|
+
rdoc (6.1.1)
|
|
120
139
|
semver2 (3.4.2)
|
|
121
|
-
sprockets (3.7.
|
|
140
|
+
sprockets (3.7.2)
|
|
122
141
|
concurrent-ruby (~> 1.0)
|
|
123
142
|
rack (> 1, < 3)
|
|
124
|
-
sprockets-rails (3.2.
|
|
143
|
+
sprockets-rails (3.2.1)
|
|
125
144
|
actionpack (>= 4.0)
|
|
126
145
|
activesupport (>= 4.0)
|
|
127
146
|
sprockets (>= 3.0.0)
|
|
128
147
|
sqlite3 (1.3.13)
|
|
129
|
-
thor (0.
|
|
148
|
+
thor (0.20.3)
|
|
130
149
|
thread_safe (0.3.6)
|
|
131
|
-
tzinfo (1.2.
|
|
150
|
+
tzinfo (1.2.5)
|
|
132
151
|
thread_safe (~> 0.1)
|
|
152
|
+
websocket-driver (0.7.0)
|
|
153
|
+
websocket-extensions (>= 0.1.0)
|
|
154
|
+
websocket-extensions (0.1.3)
|
|
133
155
|
|
|
134
156
|
PLATFORMS
|
|
135
157
|
ruby
|
|
136
158
|
|
|
137
159
|
DEPENDENCIES
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
sqlite3
|
|
160
|
+
juwelier (>= 2.3.9)
|
|
161
|
+
rails (~> 5.2.2)
|
|
162
|
+
sqlite3 (~> 1.3.6)
|
|
142
163
|
|
|
143
164
|
BUNDLED WITH
|
|
144
|
-
|
|
165
|
+
2.0.1
|
data/Rakefile
CHANGED
|
@@ -11,8 +11,8 @@ rescue Bundler::BundlerError => e
|
|
|
11
11
|
end
|
|
12
12
|
require 'rake'
|
|
13
13
|
|
|
14
|
-
require '
|
|
15
|
-
|
|
14
|
+
require 'juwelier'
|
|
15
|
+
Juwelier::Tasks.new do |gem|
|
|
16
16
|
# gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
|
|
17
17
|
gem.name = "first_after_created_at"
|
|
18
18
|
gem.homepage = "http://github.com/NoRedInk/first_after_created_at"
|
|
@@ -21,8 +21,9 @@ Jeweler::Tasks.new do |gem|
|
|
|
21
21
|
gem.description = gem.summary
|
|
22
22
|
gem.email = "me@mike.is"
|
|
23
23
|
gem.authors = ["Michael Glass", "quelledanielle"]
|
|
24
|
+
gem.add_dependency 'activerecord', '~> 5.2.2'
|
|
24
25
|
end
|
|
25
|
-
|
|
26
|
+
Juwelier::RubygemsDotOrgTasks.new
|
|
26
27
|
|
|
27
28
|
require 'rake/testtask'
|
|
28
29
|
Rake::TestTask.new(:test) do |test|
|
data/TODO
ADDED
|
File without changes
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0
|
|
1
|
+
1.0.0
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
# Generated by
|
|
1
|
+
# Generated by juwelier
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
-
# Instead, edit
|
|
3
|
+
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: first_after_created_at 0.0
|
|
5
|
+
# stub: first_after_created_at 1.0.0 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "first_after_created_at".freeze
|
|
9
|
-
s.version = "0.0
|
|
9
|
+
s.version = "1.0.0"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib".freeze]
|
|
13
13
|
s.authors = ["Michael Glass".freeze, "quelledanielle".freeze]
|
|
14
|
-
s.date = "
|
|
14
|
+
s.date = "2019-02-15"
|
|
15
15
|
s.description = "adds a first_by_created_at class method to active record models that search by binary search through auto-ascending primary key ids".freeze
|
|
16
16
|
s.email = "me@mike.is".freeze
|
|
17
17
|
s.extra_rdoc_files = [
|
|
18
|
-
"README.md"
|
|
18
|
+
"README.md",
|
|
19
|
+
"TODO"
|
|
19
20
|
]
|
|
20
21
|
s.files = [
|
|
21
22
|
".travis.yml",
|
|
@@ -25,6 +26,7 @@ Gem::Specification.new do |s|
|
|
|
25
26
|
"MIT-LICENSE",
|
|
26
27
|
"README.md",
|
|
27
28
|
"Rakefile",
|
|
29
|
+
"TODO",
|
|
28
30
|
"VERSION",
|
|
29
31
|
"first_after_created_at.gemspec",
|
|
30
32
|
"lib/first_after_created_at.rb",
|
|
@@ -82,28 +84,28 @@ Gem::Specification.new do |s|
|
|
|
82
84
|
]
|
|
83
85
|
s.homepage = "http://github.com/NoRedInk/first_after_created_at".freeze
|
|
84
86
|
s.licenses = ["MIT".freeze]
|
|
85
|
-
s.rubygems_version = "
|
|
87
|
+
s.rubygems_version = "3.0.2".freeze
|
|
86
88
|
s.summary = "adds a first_by_created_at class method to active record models that search by binary search through auto-ascending primary key ids".freeze
|
|
87
89
|
|
|
88
90
|
if s.respond_to? :specification_version then
|
|
89
91
|
s.specification_version = 4
|
|
90
92
|
|
|
91
93
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
92
|
-
s.add_runtime_dependency(%q<
|
|
93
|
-
s.
|
|
94
|
-
s.
|
|
95
|
-
s.
|
|
94
|
+
s.add_runtime_dependency(%q<sqlite3>.freeze, ["~> 1.3.6"])
|
|
95
|
+
s.add_runtime_dependency(%q<juwelier>.freeze, [">= 2.3.9"])
|
|
96
|
+
s.add_runtime_dependency(%q<rails>.freeze, ["~> 5.2.2"])
|
|
97
|
+
s.add_runtime_dependency(%q<activerecord>.freeze, ["~> 5.2.2"])
|
|
96
98
|
else
|
|
97
|
-
s.add_dependency(%q<
|
|
98
|
-
s.add_dependency(%q<
|
|
99
|
-
s.add_dependency(%q<
|
|
100
|
-
s.add_dependency(%q<
|
|
99
|
+
s.add_dependency(%q<sqlite3>.freeze, ["~> 1.3.6"])
|
|
100
|
+
s.add_dependency(%q<juwelier>.freeze, [">= 2.3.9"])
|
|
101
|
+
s.add_dependency(%q<rails>.freeze, ["~> 5.2.2"])
|
|
102
|
+
s.add_dependency(%q<activerecord>.freeze, ["~> 5.2.2"])
|
|
101
103
|
end
|
|
102
104
|
else
|
|
103
|
-
s.add_dependency(%q<
|
|
104
|
-
s.add_dependency(%q<
|
|
105
|
-
s.add_dependency(%q<
|
|
106
|
-
s.add_dependency(%q<
|
|
105
|
+
s.add_dependency(%q<sqlite3>.freeze, ["~> 1.3.6"])
|
|
106
|
+
s.add_dependency(%q<juwelier>.freeze, [">= 2.3.9"])
|
|
107
|
+
s.add_dependency(%q<rails>.freeze, ["~> 5.2.2"])
|
|
108
|
+
s.add_dependency(%q<activerecord>.freeze, ["~> 5.2.2"])
|
|
107
109
|
end
|
|
108
110
|
end
|
|
109
111
|
|
|
@@ -18,9 +18,5 @@ module Dummy
|
|
|
18
18
|
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
|
19
19
|
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
|
20
20
|
# config.i18n.default_locale = :de
|
|
21
|
-
|
|
22
|
-
# Do not swallow errors in after_commit/after_rollback callbacks.
|
|
23
|
-
config.active_record.raise_in_transactional_callbacks = true
|
|
24
21
|
end
|
|
25
22
|
end
|
|
26
|
-
|
data/test/dummy/db/schema.rb
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
# encoding: UTF-8
|
|
2
1
|
# This file is auto-generated from the current state of the database. Instead
|
|
3
2
|
# of editing this file, please use the migrations feature of Active Record to
|
|
4
3
|
# incrementally modify your database, and then regenerate this schema definition.
|
|
@@ -11,7 +10,7 @@
|
|
|
11
10
|
#
|
|
12
11
|
# It's strongly recommended that you check this file into your version control system.
|
|
13
12
|
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
|
13
|
+
ActiveRecord::Schema.define(version: 2017_08_02_143942) do
|
|
15
14
|
|
|
16
15
|
create_table "has_timestamps", force: :cascade do |t|
|
|
17
16
|
t.datetime "created_at", null: false
|
data/test/test_helper.rb
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
# Configure Rails Environment
|
|
2
2
|
ENV["RAILS_ENV"] = "test"
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)]
|
|
6
|
-
ActiveRecord::Migrator.up File.expand_path("../../test/dummy/db/migrate", __FILE__)
|
|
7
|
-
ActiveRecord::Migration.maintain_test_schema!
|
|
4
|
+
require_relative "../test/dummy/config/environment"
|
|
8
5
|
|
|
9
6
|
require "rails/test_help"
|
|
7
|
+
ActiveRecord::MigrationContext.new(File.expand_path("../test/dummy/db/migrate", __dir__)).migrate
|
|
10
8
|
|
|
11
|
-
# Filter out
|
|
12
|
-
# to be shown.
|
|
9
|
+
# Filter out the backtrace from minitest while preserving the one from other libraries.
|
|
13
10
|
Minitest.backtrace_filter = Minitest::BacktraceFilter.new
|
|
14
11
|
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
require "rails/test_unit/reporter"
|
|
13
|
+
|
|
14
|
+
Rails::TestUnitReporter.executable = 'bin/test'
|
|
15
|
+
|
|
17
16
|
|
|
18
17
|
# Load fixtures from the engine
|
|
19
18
|
if ActiveSupport::TestCase.respond_to?(:fixture_path=)
|
|
20
|
-
ActiveSupport::TestCase.fixture_path = File.expand_path("
|
|
19
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path("fixtures", __dir__)
|
|
21
20
|
ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
|
|
21
|
+
ActiveSupport::TestCase.file_fixture_path = ActiveSupport::TestCase.fixture_path + "/files"
|
|
22
22
|
ActiveSupport::TestCase.fixtures :all
|
|
23
23
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: first_after_created_at
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Glass
|
|
@@ -9,64 +9,64 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2019-02-15 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
|
-
name:
|
|
15
|
+
name: sqlite3
|
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
|
17
17
|
requirements:
|
|
18
18
|
- - "~>"
|
|
19
19
|
- !ruby/object:Gem::Version
|
|
20
|
-
version:
|
|
20
|
+
version: 1.3.6
|
|
21
21
|
type: :runtime
|
|
22
22
|
prerelease: false
|
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
|
24
24
|
requirements:
|
|
25
25
|
- - "~>"
|
|
26
26
|
- !ruby/object:Gem::Version
|
|
27
|
-
version:
|
|
27
|
+
version: 1.3.6
|
|
28
28
|
- !ruby/object:Gem::Dependency
|
|
29
|
-
name:
|
|
29
|
+
name: juwelier
|
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
|
31
31
|
requirements:
|
|
32
32
|
- - ">="
|
|
33
33
|
- !ruby/object:Gem::Version
|
|
34
|
-
version:
|
|
35
|
-
type: :
|
|
34
|
+
version: 2.3.9
|
|
35
|
+
type: :runtime
|
|
36
36
|
prerelease: false
|
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
|
38
38
|
requirements:
|
|
39
39
|
- - ">="
|
|
40
40
|
- !ruby/object:Gem::Version
|
|
41
|
-
version:
|
|
41
|
+
version: 2.3.9
|
|
42
42
|
- !ruby/object:Gem::Dependency
|
|
43
|
-
name:
|
|
43
|
+
name: rails
|
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
|
45
45
|
requirements:
|
|
46
|
-
- - "
|
|
46
|
+
- - "~>"
|
|
47
47
|
- !ruby/object:Gem::Version
|
|
48
|
-
version:
|
|
49
|
-
type: :
|
|
48
|
+
version: 5.2.2
|
|
49
|
+
type: :runtime
|
|
50
50
|
prerelease: false
|
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
|
52
52
|
requirements:
|
|
53
|
-
- - "
|
|
53
|
+
- - "~>"
|
|
54
54
|
- !ruby/object:Gem::Version
|
|
55
|
-
version:
|
|
55
|
+
version: 5.2.2
|
|
56
56
|
- !ruby/object:Gem::Dependency
|
|
57
|
-
name:
|
|
57
|
+
name: activerecord
|
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
|
59
59
|
requirements:
|
|
60
60
|
- - "~>"
|
|
61
61
|
- !ruby/object:Gem::Version
|
|
62
|
-
version:
|
|
63
|
-
type: :
|
|
62
|
+
version: 5.2.2
|
|
63
|
+
type: :runtime
|
|
64
64
|
prerelease: false
|
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
|
67
67
|
- - "~>"
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version:
|
|
69
|
+
version: 5.2.2
|
|
70
70
|
description: adds a first_by_created_at class method to active record models that
|
|
71
71
|
search by binary search through auto-ascending primary key ids
|
|
72
72
|
email: me@mike.is
|
|
@@ -74,6 +74,7 @@ executables: []
|
|
|
74
74
|
extensions: []
|
|
75
75
|
extra_rdoc_files:
|
|
76
76
|
- README.md
|
|
77
|
+
- TODO
|
|
77
78
|
files:
|
|
78
79
|
- ".travis.yml"
|
|
79
80
|
- CHANGELOG.md
|
|
@@ -82,6 +83,7 @@ files:
|
|
|
82
83
|
- MIT-LICENSE
|
|
83
84
|
- README.md
|
|
84
85
|
- Rakefile
|
|
86
|
+
- TODO
|
|
85
87
|
- VERSION
|
|
86
88
|
- first_after_created_at.gemspec
|
|
87
89
|
- lib/first_after_created_at.rb
|
|
@@ -155,8 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
155
157
|
- !ruby/object:Gem::Version
|
|
156
158
|
version: '0'
|
|
157
159
|
requirements: []
|
|
158
|
-
|
|
159
|
-
rubygems_version: 2.6.11
|
|
160
|
+
rubygems_version: 3.0.2
|
|
160
161
|
signing_key:
|
|
161
162
|
specification_version: 4
|
|
162
163
|
summary: adds a first_by_created_at class method to active record models that search
|