Skip to content

Commit 8dfcf62

Browse files
committed
build(dependencies): Adjust rails version
1 parent 75c606d commit 8dfcf62

File tree

5 files changed

+191
-5
lines changed

5 files changed

+191
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
ruby-version: ['2.3', '2.4', '2.7']
23+
ruby-version: ['2.3', '2.4']
2424

2525
steps:
2626
- uses: actions/checkout@v4

Gemfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ source 'https://rubygems.org'
22

33
gem 'bundler', '>= 1.8.4'
44

5+
gem 'bigdecimal', '1.3.5' # Rails 4
6+
gem 'nokogiri', '1.8.2' # Rails 4
7+
gem 'rails', '4.2.10'
8+
59
# Declare your gem's dependencies in jasperserver-rails.gemspec.
610
# Bundler will treat runtime dependencies like base dependencies, and
711
# development dependencies will be added by default to the :development group.
@@ -12,9 +16,9 @@ gem 'jquery-rails'
1216

1317
gem 'protected_attributes'
1418

15-
# group :development, :test do
16-
# gem 'thin'
17-
# end
19+
group :development, :test do
20+
# gem 'thin'
21+
end
1822

1923
group :test do
2024
gem 'sqlite3', '~> 1.3.9'

Gemfile.lock

Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,155 @@
1+
PATH
2+
remote: .
3+
specs:
4+
jasperserver-rails (1.0.1)
5+
rails (~> 4.0)
6+
rest-client (~> 2.0.2)
7+
8+
GEM
9+
remote: https://rubygems.org/
10+
specs:
11+
actionmailer (4.2.10)
12+
actionpack (= 4.2.10)
13+
actionview (= 4.2.10)
14+
activejob (= 4.2.10)
15+
mail (~> 2.5, >= 2.5.4)
16+
rails-dom-testing (~> 1.0, >= 1.0.5)
17+
actionpack (4.2.10)
18+
actionview (= 4.2.10)
19+
activesupport (= 4.2.10)
20+
rack (~> 1.6)
21+
rack-test (~> 0.6.2)
22+
rails-dom-testing (~> 1.0, >= 1.0.5)
23+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
24+
actionview (4.2.10)
25+
activesupport (= 4.2.10)
26+
builder (~> 3.1)
27+
erubis (~> 2.7.0)
28+
rails-dom-testing (~> 1.0, >= 1.0.5)
29+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
30+
activejob (4.2.10)
31+
activesupport (= 4.2.10)
32+
globalid (>= 0.3.0)
33+
activemodel (4.2.10)
34+
activesupport (= 4.2.10)
35+
builder (~> 3.1)
36+
activerecord (4.2.10)
37+
activemodel (= 4.2.10)
38+
activesupport (= 4.2.10)
39+
arel (~> 6.0)
40+
activesupport (4.2.10)
41+
i18n (~> 0.7)
42+
minitest (~> 5.1)
43+
thread_safe (~> 0.3, >= 0.3.4)
44+
tzinfo (~> 1.1)
45+
addressable (2.5.2)
46+
public_suffix (>= 2.0.2, < 4.0)
47+
arel (6.0.4)
48+
bigdecimal (1.3.5)
49+
builder (3.2.3)
50+
concurrent-ruby (1.0.5)
51+
crack (0.4.3)
52+
safe_yaml (~> 1.0.0)
53+
crass (1.0.4)
54+
domain_name (0.5.20190701)
55+
unf (>= 0.0.5, < 1.0.0)
56+
erubis (2.7.0)
57+
globalid (0.4.1)
58+
activesupport (>= 4.2.0)
59+
hashdiff (0.3.7)
60+
http-cookie (1.0.7)
61+
domain_name (~> 0.5)
62+
i18n (0.9.5)
63+
concurrent-ruby (~> 1.0)
64+
jquery-rails (4.3.3)
65+
rails-dom-testing (>= 1, < 3)
66+
railties (>= 4.2.0)
67+
thor (>= 0.14, < 2.0)
68+
logger (1.5.3)
69+
loofah (2.2.2)
70+
crass (~> 1.0.2)
71+
nokogiri (>= 1.5.9)
72+
mail (2.7.0)
73+
mini_mime (>= 0.1.1)
74+
mime-types (3.6.0)
75+
logger
76+
mime-types-data (~> 3.2015)
77+
mime-types-data (3.2024.1105)
78+
mini_mime (1.0.0)
79+
mini_portile2 (2.3.0)
80+
minitest (5.11.3)
81+
netrc (0.11.0)
82+
nokogiri (1.8.2)
83+
mini_portile2 (~> 2.3.0)
84+
protected_attributes (1.1.4)
85+
activemodel (>= 4.0.1, < 5.0)
86+
public_suffix (3.0.2)
87+
rack (1.6.10)
88+
rack-test (0.6.3)
89+
rack (>= 1.0)
90+
rails (4.2.10)
91+
actionmailer (= 4.2.10)
92+
actionpack (= 4.2.10)
93+
actionview (= 4.2.10)
94+
activejob (= 4.2.10)
95+
activemodel (= 4.2.10)
96+
activerecord (= 4.2.10)
97+
activesupport (= 4.2.10)
98+
bundler (>= 1.3.0, < 2.0)
99+
railties (= 4.2.10)
100+
sprockets-rails
101+
rails-deprecated_sanitizer (1.0.3)
102+
activesupport (>= 4.2.0.alpha)
103+
rails-dom-testing (1.0.9)
104+
activesupport (>= 4.2.0, < 5.0)
105+
nokogiri (~> 1.6)
106+
rails-deprecated_sanitizer (>= 1.0.1)
107+
rails-html-sanitizer (1.0.4)
108+
loofah (~> 2.2, >= 2.2.2)
109+
railties (4.2.10)
110+
actionpack (= 4.2.10)
111+
activesupport (= 4.2.10)
112+
rake (>= 0.8.7)
113+
thor (>= 0.18.1, < 2.0)
114+
rake (12.3.1)
115+
rest-client (2.0.2)
116+
http-cookie (>= 1.0.2, < 2.0)
117+
mime-types (>= 1.16, < 4.0)
118+
netrc (~> 0.8)
119+
safe_yaml (1.0.4)
120+
sprockets (3.7.1)
121+
concurrent-ruby (~> 1.0)
122+
rack (> 1, < 3)
123+
sprockets-rails (3.2.1)
124+
actionpack (>= 4.0)
125+
activesupport (>= 4.0)
126+
sprockets (>= 3.0.0)
127+
sqlite3 (1.3.13)
128+
thor (0.20.0)
129+
thread_safe (0.3.6)
130+
tzinfo (1.2.5)
131+
thread_safe (~> 0.1)
132+
unf (0.2.0)
133+
vcr (4.0.0)
134+
webmock (3.4.1)
135+
addressable (>= 2.3.6)
136+
crack (>= 0.3.2)
137+
hashdiff
138+
139+
PLATFORMS
140+
ruby
141+
142+
DEPENDENCIES
143+
bigdecimal (= 1.3.5)
144+
bundler (>= 1.8.4)
145+
jasperserver-rails!
146+
jquery-rails
147+
nokogiri (= 1.8.2)
148+
protected_attributes
149+
rails (= 4.2.10)
150+
sqlite3 (~> 1.3.9)
151+
vcr (~> 4.0)
152+
webmock (~> 3.4)
153+
154+
BUNDLED WITH
155+
1.17.3

jasperserver-rails.gemspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Gem::Specification.new do |s|
1414
s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md", "CHANGELOG.md"]
1515
s.test_files = Dir["test/**/*"]
1616

17-
s.add_dependency 'rails', '< 5.0'
17+
s.add_dependency 'rails', '~> 4.0'
18+
# s.add_dependency 'rails', '~> 3.2.22'
1819
s.add_dependency 'rest-client', '~> 2.0.2'
1920
end

rails4.gemfile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
source 'https://rubygems.org'
2+
3+
gem 'bundler', '>= 1.8.4'
4+
5+
gem 'bigdecimal', '1.3.5' # Rails 4
6+
gem 'rails', '~> 4.2'
7+
8+
# Declare your gem's dependencies in jasperserver-rails.gemspec.
9+
# Bundler will treat runtime dependencies like base dependencies, and
10+
# development dependencies will be added by default to the :development group.
11+
gemspec
12+
13+
# jquery-rails is used by the dummy application
14+
gem 'jquery-rails'
15+
16+
gem 'protected_attributes'
17+
18+
group :development, :test do
19+
# gem 'thin'
20+
end
21+
22+
group :test do
23+
gem 'sqlite3', '~> 1.3.9'
24+
gem 'vcr', '~> 4.0'
25+
gem 'webmock', '~> 3.4'
26+
end

0 commit comments

Comments
 (0)