Skip to content

Commit 57b5a96

Browse files
committed
Remove support for ActiveModel 6 or later.
1 parent e0afcbd commit 57b5a96

File tree

4 files changed

+22
-24
lines changed

4 files changed

+22
-24
lines changed

Gemfile.lock

+19-21
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
PATH
22
remote: .
33
specs:
4-
parse-stack (1.8.0)
4+
parse-stack (1.8.1)
55
active_model_serializers (>= 0.9, < 1)
6-
activemodel (>= 4.2.1, < 7)
6+
activemodel (>= 4.2.1, < 6)
77
activesupport (>= 4.2.1, < 7)
88
faraday (>= 0.8, < 1)
99
faraday_middleware (>= 0.9, < 1)
@@ -14,39 +14,38 @@ PATH
1414
GEM
1515
remote: https://rubygems.org/
1616
specs:
17-
actionpack (6.0.2.1)
18-
actionview (= 6.0.2.1)
19-
activesupport (= 6.0.2.1)
17+
actionpack (5.2.4.2)
18+
actionview (= 5.2.4.2)
19+
activesupport (= 5.2.4.2)
2020
rack (~> 2.0, >= 2.0.8)
2121
rack-test (>= 0.6.3)
2222
rails-dom-testing (~> 2.0)
23-
rails-html-sanitizer (~> 1.0, >= 1.2.0)
24-
actionview (6.0.2.1)
25-
activesupport (= 6.0.2.1)
23+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
24+
actionview (5.2.4.2)
25+
activesupport (= 5.2.4.2)
2626
builder (~> 3.1)
2727
erubi (~> 1.4)
2828
rails-dom-testing (~> 2.0)
29-
rails-html-sanitizer (~> 1.1, >= 1.2.0)
29+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
3030
active_model_serializers (0.10.10)
3131
actionpack (>= 4.1, < 6.1)
3232
activemodel (>= 4.1, < 6.1)
3333
case_transform (>= 0.2)
3434
jsonapi-renderer (>= 0.1.1.beta1, < 0.3)
35-
activemodel (6.0.2.1)
36-
activesupport (= 6.0.2.1)
37-
activesupport (6.0.2.1)
35+
activemodel (5.2.4.2)
36+
activesupport (= 5.2.4.2)
37+
activesupport (5.2.4.2)
3838
concurrent-ruby (~> 1.0, >= 1.0.2)
3939
i18n (>= 0.7, < 2)
4040
minitest (~> 5.1)
4141
tzinfo (~> 1.1)
42-
zeitwerk (~> 2.2)
4342
ast (2.4.0)
4443
backport (1.1.2)
4544
benchmark (0.1.0)
4645
binding_of_caller (0.8.0)
4746
debug_inspector (>= 0.0.1)
4847
builder (3.2.4)
49-
byebug (11.1.1)
48+
byebug (11.1.3)
5049
case_transform (0.2)
5150
activesupport
5251
coderay (1.1.2)
@@ -66,16 +65,16 @@ GEM
6665
concurrent-ruby (~> 1.0)
6766
jaro_winkler (1.5.4)
6867
jsonapi-renderer (0.2.2)
69-
loofah (2.4.0)
68+
loofah (2.5.0)
7069
crass (~> 1.0.2)
7170
nokogiri (>= 1.5.9)
7271
maruku (0.7.3)
7372
method_source (0.9.2)
7473
mini_portile2 (2.4.0)
7574
minitest (5.14.0)
76-
moneta (1.2.1)
75+
moneta (1.3.0)
7776
multipart-post (2.1.1)
78-
nokogiri (1.10.8)
77+
nokogiri (1.10.9)
7978
mini_portile2 (~> 2.4.0)
8079
parallel (1.19.1)
8180
parser (2.7.1.2)
@@ -99,7 +98,7 @@ GEM
9998
rainbow (3.0.0)
10099
rake (13.0.1)
101100
redcarpet (3.5.0)
102-
redis (4.1.3)
101+
redis (4.1.4)
103102
reverse_markdown (1.4.0)
104103
nokogiri
105104
rexml (3.2.4)
@@ -133,11 +132,10 @@ GEM
133132
thor (1.0.1)
134133
thread_safe (0.3.6)
135134
tilt (2.0.10)
136-
tzinfo (1.2.6)
135+
tzinfo (1.2.7)
137136
thread_safe (~> 0.1)
138137
unicode-display_width (1.7.0)
139-
yard (0.9.24)
140-
zeitwerk (2.2.2)
138+
yard (0.9.25)
141139

142140
PLATFORMS
143141
ruby

lib/parse/stack/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ module Parse
66
# The Parse Server SDK for Ruby
77
module Stack
88
# The current version.
9-
VERSION = "1.8.0"
9+
VERSION = "1.8.1"
1010
end
1111
end

parse-stack.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
2727
spec.require_paths = ["lib"]
2828
spec.required_ruby_version = ">= 2.2.2"
2929

30-
spec.add_runtime_dependency "activemodel", [">= 4.2.1", "< 7"]
30+
spec.add_runtime_dependency "activemodel", [">= 4.2.1", "< 6"]
3131
spec.add_runtime_dependency "active_model_serializers", [">= 0.9", "< 1"]
3232
spec.add_runtime_dependency "activesupport", [">= 4.2.1", "< 7"]
3333
spec.add_runtime_dependency "parallel", [">= 1.6", "< 2"]

test/lib/parse/version_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
describe Parse::Stack do
44
it "must be defined" do
5-
Parse::Stack::VERSION.wont_be_nil
5+
_(Parse::Stack::VERSION).wont_be_nil
66
end
77
end

0 commit comments

Comments
 (0)