weeler 1.5.4 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -10
- data/CHANGELOG.md +16 -0
- data/Gemfile +10 -0
- data/README.md +22 -17
- data/app/controllers/concerns/weeler/section_seo.rb +1 -1
- data/app/controllers/weeler/base_controller.rb +2 -2
- data/app/models/settings.rb +1 -1
- data/lib/generators/weeler/templates/controllers/weeler/application_controller.rb +1 -1
- data/lib/weeler/action_controller/acts/restful.rb +3 -3
- data/lib/weeler/engine.rb +0 -1
- data/lib/weeler/version.rb +2 -2
- data/spec/controllers/translations_controller_spec.rb +8 -8
- data/spec/dummy/config/database.yml +1 -0
- data/spec/dummy/config/environments/production.rb +1 -1
- data/spec/dummy/config/environments/test.rb +2 -2
- data/spec/spec_helper.rb +1 -1
- data/spec/weeler/action_controller/acts/restful_spec.rb +10 -12
- data/weeler.gemspec +3 -2
- metadata +25 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fea4149ae99f131b04cd70cd590aa35ac208faa4
|
4
|
+
data.tar.gz: 3b2531ec56b936aaf6bdee72f6527feb551a2500
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1550cb9a66e8ac1a3ba2db906ec69a08110e8147c4133beebfe604fc0617f83b49ecd915fa9a733f42147057e0598fda485ac0d5e994568697d812d4f8faa553
|
7
|
+
data.tar.gz: da420f6968da1ea6749ca05df0649244938c1f8f7bbb83f8e9b78634efaaf23d6dcd0b84e95718170e4fab6da1c9edd6be8d996ce3c1415ccb0a3d2e2d4f579d
|
data/.travis.yml
CHANGED
@@ -7,20 +7,16 @@ sudo: false
|
|
7
7
|
before_script:
|
8
8
|
- psql -c 'create database travis_ci_test;' -U postgres
|
9
9
|
rvm:
|
10
|
-
- "2.0.0"
|
11
|
-
- "2.1.0"
|
12
|
-
- "2.1.1"
|
13
|
-
- "2.1.2"
|
14
|
-
- "2.1.3"
|
15
|
-
- "2.1.4"
|
16
|
-
- "2.1.5"
|
17
|
-
- "2.1.6"
|
18
|
-
- "2.2.0"
|
19
|
-
- "2.2.1"
|
20
10
|
- "2.2.2"
|
21
11
|
- "2.2.3"
|
22
12
|
- "2.2.4"
|
13
|
+
- "2.2.5"
|
14
|
+
- "2.2.6"
|
23
15
|
- "2.3.0"
|
16
|
+
- "2.3.1"
|
17
|
+
- "2.3.2"
|
18
|
+
- "2.3.3"
|
19
|
+
- "2.4.0"
|
24
20
|
# uncomment this line if your project needs to run something other than `rake`:
|
25
21
|
script:
|
26
22
|
- RAILS_ENV=test bundle exec rake db:migrate --trace
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,19 @@
|
|
1
|
+
## 1.6.0
|
2
|
+
|
3
|
+
### Features & Enhancements
|
4
|
+
|
5
|
+
* Add Rails 5.0 support
|
6
|
+
* Add Ruby 2.4.0 support
|
7
|
+
* Drop ruby's < 2.2.2 support
|
8
|
+
|
9
|
+
### Bug Fixes
|
10
|
+
|
11
|
+
* Fixed RailsSettings::CachedSettings deprication warning
|
12
|
+
|
13
|
+
### Contributors
|
14
|
+
|
15
|
+
* Arturs Braucs
|
16
|
+
|
1
17
|
## 1.5.4
|
2
18
|
|
3
19
|
* Using RailsSettings::CachedSettings instead of RailsSettings::Base
|
data/Gemfile
CHANGED
@@ -1,4 +1,14 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
+
gem 'globalize', github: 'globalize/globalize'
|
4
|
+
gem 'rails-controller-testing'
|
5
|
+
|
6
|
+
# platform :jruby do
|
7
|
+
# github 'jruby/activerecord-jdbc-adapter', branch: 'rails-5' do
|
8
|
+
# gem 'activerecord-jdbc-adapter'
|
9
|
+
# gem 'activerecord-jdbcpostgresql-adapter'
|
10
|
+
# end
|
11
|
+
# end
|
12
|
+
|
3
13
|
# Specify your gem's dependencies in weeler.gemspec
|
4
14
|
gemspec
|
data/README.md
CHANGED
@@ -1,26 +1,31 @@
|
|
1
1
|
# Weeler
|
2
2
|
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/weeler.
|
4
|
-
[![Build Status](https://travis-ci.org/weby-lv/weeler.
|
5
|
-
[![Coverage Status](https://coveralls.io/repos/weby-lv/weeler/badge.
|
6
|
-
[![Code Climate](https://codeclimate.com/github/weby-lv/weeler.
|
7
|
-
|
8
|
-
CMS for weby.lv projects.
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/weeler.svg)](https://badge.fury.io/rb/weeler)
|
4
|
+
[![Build Status](https://travis-ci.org/weby-lv/weeler.svg?branch=master)](https://travis-ci.org/weby-lv/weeler)
|
5
|
+
[![Coverage Status](https://coveralls.io/repos/weby-lv/weeler/badge.svg)](https://coveralls.io/r/weby-lv/weeler)
|
6
|
+
[![Code Climate](https://codeclimate.com/github/weby-lv/weeler/badges/gpa.svg)](https://codeclimate.com/github/weby-lv/weeler)
|
9
7
|
|
10
8
|
## Installation
|
11
9
|
|
12
|
-
|
10
|
+
### Rails 5.0
|
13
11
|
|
14
|
-
|
12
|
+
1.6.0 version only supports Rails 5.0 and ruby 2.2.2 and higher version. In Gemfile include:
|
15
13
|
|
16
|
-
|
14
|
+
```ruby
|
15
|
+
gem 'weeler'
|
16
|
+
```
|
17
17
|
|
18
|
-
|
18
|
+
### Rails 4.2
|
19
19
|
|
20
|
-
|
20
|
+
```ruby
|
21
|
+
gem 'weeler', '~> 1.5'
|
22
|
+
```
|
21
23
|
|
22
|
-
|
24
|
+
After specifying necessary gems in Gemfile run
|
23
25
|
|
26
|
+
```bash
|
27
|
+
bundle install
|
28
|
+
```
|
24
29
|
|
25
30
|
## Setup
|
26
31
|
|
@@ -41,9 +46,9 @@ This will generate follwing files:
|
|
41
46
|
|
42
47
|
Following will be appended to your route file:
|
43
48
|
|
44
|
-
mount_weeler_at "weeler" do
|
45
|
-
# weeler_resources :example, include_in_weeler_menu: true
|
46
|
-
# Also you orderable and imageable concerns
|
49
|
+
mount_weeler_at "weeler" do
|
50
|
+
# weeler_resources :example, include_in_weeler_menu: true
|
51
|
+
# Also you orderable and imageable concerns
|
47
52
|
end
|
48
53
|
|
49
54
|
And then migrate database:
|
@@ -111,7 +116,7 @@ you must add block <tt>permit_params: -> (params) { params.require(:post).permit
|
|
111
116
|
|
112
117
|
You can override redirect path after <tt>:create</tt>, <tt>:update</tt>, <tt>:destroy</tt> actions.
|
113
118
|
You can do this by overriding private methods in your controller.
|
114
|
-
|
119
|
+
|
115
120
|
def after_create_path
|
116
121
|
{ action: :edit, id: @item.id }
|
117
122
|
end
|
@@ -126,7 +131,7 @@ You can do this by overriding private methods in your controller.
|
|
126
131
|
|
127
132
|
Or you can override what happens after successful <tt>:create</tt>, <tt>:update</tt>, <tt>:destroy</tt> actions.
|
128
133
|
You can do this by overriding private methods in your controller.
|
129
|
-
|
134
|
+
|
130
135
|
def after_create_action
|
131
136
|
redirect_to( after_create_path, {:notice => "Successfully created item"} )
|
132
137
|
end
|
data/app/models/settings.rb
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
class Settings < RailsSettings::
|
1
|
+
class Settings < RailsSettings::Base
|
2
2
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Weeler
|
2
2
|
class ApplicationController < ::ApplicationController
|
3
3
|
# Here you can define controller methods for using in weeler.
|
4
|
-
# Also you can set
|
4
|
+
# Also you can set before_action 's and define those methods.
|
5
5
|
end
|
6
6
|
end
|
@@ -30,7 +30,7 @@ module Weeler
|
|
30
30
|
# <tt>_filter.html.haml</tt>
|
31
31
|
#
|
32
32
|
def acts_as_restful(active_record_model, options = {})
|
33
|
-
|
33
|
+
before_action(:load_record, only: [:show, :edit, :update, :destroy, :remove_image])
|
34
34
|
|
35
35
|
include InstanceMethodsOnActivation
|
36
36
|
helper_method :item_humanized_name
|
@@ -118,7 +118,7 @@ module Weeler
|
|
118
118
|
permited_params.call(params)
|
119
119
|
elsif permited_params.blank?
|
120
120
|
warning_suggestion = params[parameterized_name.to_sym].is_a?(Hash) ? params[parameterized_name.to_sym].keys.map{ |k| k.to_sym } : "permit_params:"
|
121
|
-
warn "[UNPERMITED PARAMS] To permit #{params[parameterized_name.to_sym].inspect} params, add 'permit_params: #{warning_suggestion}' option to 'acts_as_restful'"
|
121
|
+
warn "[UNPERMITED PARAMS] To permit #{params[parameterized_name.to_sym].to_unsafe_h.inspect} params, add 'permit_params: #{warning_suggestion}' option to 'acts_as_restful'"
|
122
122
|
else
|
123
123
|
params.require(parameterized_name.to_sym).permit(permited_params)
|
124
124
|
end
|
@@ -199,7 +199,7 @@ module Weeler
|
|
199
199
|
item.sequence = index
|
200
200
|
item.save!
|
201
201
|
end
|
202
|
-
render :
|
202
|
+
render plain: 'all ok'
|
203
203
|
end
|
204
204
|
|
205
205
|
end # Instance methods
|
data/lib/weeler/engine.rb
CHANGED
@@ -10,7 +10,6 @@ module Weeler
|
|
10
10
|
config.weeler = Weeler
|
11
11
|
|
12
12
|
config.i18n.available_locales = [:en] unless config.i18n.available_locales.present?
|
13
|
-
config.active_record.raise_in_transactional_callbacks = true
|
14
13
|
config.assets.precompile += ["weeler/init.js", "weeler/init.css"]
|
15
14
|
|
16
15
|
# Load extend Rails classes
|
data/lib/weeler/version.rb
CHANGED
@@ -25,7 +25,7 @@ describe Weeler::TranslationsController, type: :controller do
|
|
25
25
|
expect(I18n.t("title", locale: :en)).to eq("Title")
|
26
26
|
I18n::Backend::Weeler::Translation.delete_all
|
27
27
|
|
28
|
-
post :create, i18n_backend_weeler_translation: FactoryGirl.attributes_for(:translation)
|
28
|
+
post :create, params: { i18n_backend_weeler_translation: FactoryGirl.attributes_for(:translation) }
|
29
29
|
|
30
30
|
expect(I18n.t("title", locale: :en)).to eq("This is weeler")
|
31
31
|
end
|
@@ -33,10 +33,10 @@ describe Weeler::TranslationsController, type: :controller do
|
|
33
33
|
it "doesnt create a duplicate key" do
|
34
34
|
I18n::Backend::Weeler::Translation.delete_all
|
35
35
|
|
36
|
-
post :create, i18n_backend_weeler_translation: {locale: "en", key: "no.dup.title", value: "This is weeler"}
|
36
|
+
post :create, params: { i18n_backend_weeler_translation: {locale: "en", key: "no.dup.title", value: "This is weeler"} }
|
37
37
|
expect(I18n.t("no.dup.title", locale: :en)).to eq("This is weeler")
|
38
38
|
|
39
|
-
post :create, i18n_backend_weeler_translation: {locale: "en", key: "no.dup.title", value: "This is weeler"}
|
39
|
+
post :create, params: { i18n_backend_weeler_translation: {locale: "en", key: "no.dup.title", value: "This is weeler"} }
|
40
40
|
expect(response).to render_template(:edit)
|
41
41
|
end
|
42
42
|
end
|
@@ -46,7 +46,7 @@ describe Weeler::TranslationsController, type: :controller do
|
|
46
46
|
I18n::Backend::Weeler::Translation.delete_all
|
47
47
|
translation = FactoryGirl.create(:translation, key: 'foo.updated', value: nil)
|
48
48
|
|
49
|
-
put "update", id: translation.id, i18n_backend_weeler_translation: {value: "Updated weeler!"}
|
49
|
+
put "update", params: { id: translation.id, i18n_backend_weeler_translation: {value: "Updated weeler!"} }
|
50
50
|
expect(I18n.t("foo.updated", locale: :en)).to eq("Updated weeler!")
|
51
51
|
end
|
52
52
|
|
@@ -54,7 +54,7 @@ describe Weeler::TranslationsController, type: :controller do
|
|
54
54
|
I18n::Backend::Weeler::Translation.delete_all
|
55
55
|
translation = FactoryGirl.create(:translation, key: 'foo.updated', value: nil)
|
56
56
|
|
57
|
-
put "update", id: translation.id, i18n_backend_weeler_translation: {value: "Updated weeler!", key: nil}
|
57
|
+
put "update", params: { id: translation.id, i18n_backend_weeler_translation: {value: "Updated weeler!", key: nil} }
|
58
58
|
expect(response).to render_template(:edit)
|
59
59
|
end
|
60
60
|
end
|
@@ -69,7 +69,7 @@ describe Weeler::TranslationsController, type: :controller do
|
|
69
69
|
describe "GET #edit" do
|
70
70
|
it "retern edit translation form" do
|
71
71
|
translation = FactoryGirl.create(:translation, key: 'foo.updated', value: nil)
|
72
|
-
get "edit", id: translation.id
|
72
|
+
get "edit", params: { id: translation.id }
|
73
73
|
expect(response).to render_template(:edit)
|
74
74
|
end
|
75
75
|
end
|
@@ -77,7 +77,7 @@ describe Weeler::TranslationsController, type: :controller do
|
|
77
77
|
describe "DELETE #destroy" do
|
78
78
|
it "destroys translation" do
|
79
79
|
translation = FactoryGirl.create(:translation, key: 'foo.removing', value: "Bla bla")
|
80
|
-
delete "destroy", id: translation.id
|
80
|
+
delete "destroy", params: { id: translation.id }
|
81
81
|
|
82
82
|
expect(I18n.t("foo.removing", locale: :en)).to eq("Removing") # Returns empty key
|
83
83
|
end
|
@@ -90,7 +90,7 @@ describe Weeler::TranslationsController, type: :controller do
|
|
90
90
|
Settings.i18n_updated_at = Time.now
|
91
91
|
|
92
92
|
expect(I18n.t("welcome.title", locale: :en)).to eq("Title") # Missing translation
|
93
|
-
post "import", file: fixture_file_upload(File.dirname(__FILE__) + '/../fixtures/test.xlsx', 'application/xlsx')
|
93
|
+
post "import", params: { file: fixture_file_upload(File.dirname(__FILE__) + '/../fixtures/test.xlsx', 'application/xlsx') }
|
94
94
|
expect(I18n.t("welcome.title", locale: :en)).to eq("EN welcome")
|
95
95
|
end
|
96
96
|
end
|
@@ -20,7 +20,7 @@ Dummy::Application.configure do
|
|
20
20
|
# config.action_dispatch.rack_cache = true
|
21
21
|
|
22
22
|
# Disable Rails's static asset server (Apache or nginx will already do this).
|
23
|
-
config.
|
23
|
+
config.public_file_server.enabled = true
|
24
24
|
|
25
25
|
# Compress JavaScripts and CSS.
|
26
26
|
config.assets.js_compressor = :uglifier
|
@@ -13,8 +13,8 @@ Dummy::Application.configure do
|
|
13
13
|
config.eager_load = false
|
14
14
|
|
15
15
|
# Configure static asset server for tests with Cache-Control for performance.
|
16
|
-
config.
|
17
|
-
config.
|
16
|
+
config.public_file_server.enabled = true
|
17
|
+
config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }
|
18
18
|
|
19
19
|
# Show full error reports and disable caching.
|
20
20
|
config.consider_all_requests_local = true
|
data/spec/spec_helper.rb
CHANGED
@@ -54,13 +54,13 @@ describe Weeler::ActionController::Acts::Restful, type: :controller do
|
|
54
54
|
# end
|
55
55
|
# end
|
56
56
|
|
57
|
-
post "create", post: attributes_for(:dummy_post)
|
57
|
+
post "create", params: { post: attributes_for(:dummy_post) }
|
58
58
|
post = Post.last
|
59
59
|
expect(response).to redirect_to("http://test.host/weeler-admin/foos/#{post.id}/edit")
|
60
60
|
end
|
61
61
|
|
62
62
|
it "sets only permited params" do
|
63
|
-
post "create", post: attributes_for(:dummy_post, body: "Heila")
|
63
|
+
post "create", params: { post: attributes_for(:dummy_post, body: "Heila") }
|
64
64
|
post = Post.last
|
65
65
|
expect(post.title).to eq("Foo bar")
|
66
66
|
expect(post.body).to eq(nil)
|
@@ -69,7 +69,7 @@ describe Weeler::ActionController::Acts::Restful, type: :controller do
|
|
69
69
|
|
70
70
|
describe "GET #edit" do
|
71
71
|
it "returns success status" do
|
72
|
-
get "edit", id: Post.last.id
|
72
|
+
get "edit", params: { id: Post.last.id }
|
73
73
|
expect(response).to be_success
|
74
74
|
end
|
75
75
|
end
|
@@ -84,7 +84,7 @@ describe Weeler::ActionController::Acts::Restful, type: :controller do
|
|
84
84
|
describe "PUT #update" do
|
85
85
|
it "sets only permited params" do
|
86
86
|
post = Post.last
|
87
|
-
put "update", id: post.id, post: {title: "Shivauva", body: "Another world!"}
|
87
|
+
put "update", params: { id: post.id, post: {title: "Shivauva", body: "Another world!"} }
|
88
88
|
post.reload
|
89
89
|
expect(post.title).to eq("Shivauva")
|
90
90
|
expect(post.body).to eq("Foo baar bazaar")
|
@@ -94,7 +94,7 @@ describe Weeler::ActionController::Acts::Restful, type: :controller do
|
|
94
94
|
describe "DELETE #destroy" do
|
95
95
|
it "destroys item" do
|
96
96
|
post = Post.last
|
97
|
-
delete "destroy", id: post.id
|
97
|
+
delete "destroy", params: { id: post.id }
|
98
98
|
expect { post.reload }.to raise_error(ActiveRecord::RecordNotFound)
|
99
99
|
end
|
100
100
|
end
|
@@ -102,7 +102,7 @@ describe Weeler::ActionController::Acts::Restful, type: :controller do
|
|
102
102
|
specify "POST #order" do
|
103
103
|
routes.draw { post "order" => "weeler/foos#order" }
|
104
104
|
|
105
|
-
post "order", orders: "order[]=2&order[]=1"
|
105
|
+
post "order", params: { orders: "order[]=2&order[]=1" }
|
106
106
|
post1 = Post.order(sequence: :asc).first
|
107
107
|
post2 = Post.order(sequence: :asc).last
|
108
108
|
expect(post1.sequence).to eq(0)
|
@@ -120,15 +120,15 @@ describe Weeler::ActionController::Acts::Restful, type: :controller do
|
|
120
120
|
describe "actions" do
|
121
121
|
describe "POST #create" do
|
122
122
|
it "sets only permited params" do
|
123
|
-
post "create", post: attributes_for(:dummy_post, title: "Foo lala", body: "Heila")
|
123
|
+
post "create", params: { post: attributes_for(:dummy_post, title: "Foo lala", body: "Heila") }
|
124
124
|
post = Post.last
|
125
125
|
expect(post.title).to eq(nil)
|
126
126
|
expect(post.body).to eq(nil)
|
127
127
|
end
|
128
128
|
|
129
129
|
it "warns developer" do
|
130
|
-
warning_message = "[UNPERMITED PARAMS] To permit {\"
|
131
|
-
expect { post("create", post: attributes_for(:dummy_post, title: "Foo lala", body: "Heila")) }.to output(warning_message).to_stderr
|
130
|
+
warning_message = "[UNPERMITED PARAMS] To permit {\"body\"=>\"Heila\", \"title\"=>\"Foo lala\"} params, add 'permit_params: permit_params:' option to 'acts_as_restful'\n"
|
131
|
+
expect { post("create", params: { post: attributes_for(:dummy_post, title: "Foo lala", body: "Heila") }) }.to output(warning_message).to_stderr
|
132
132
|
end
|
133
133
|
end
|
134
134
|
end
|
@@ -142,7 +142,7 @@ describe Weeler::ActionController::Acts::Restful, type: :controller do
|
|
142
142
|
describe "actions" do
|
143
143
|
describe "POST #create" do
|
144
144
|
it "sets only permited params" do
|
145
|
-
post "create", post: attributes_for(:dummy_post, title: "Foo lala", body: "Heila")
|
145
|
+
post "create", params: { post: attributes_for(:dummy_post, title: "Foo lala", body: "Heila") }
|
146
146
|
post = Post.last
|
147
147
|
expect(post.title).to eq("Foo lala")
|
148
148
|
expect(post.body).to eq("Heila")
|
@@ -165,7 +165,5 @@ describe Weeler::ActionController::Acts::Restful, type: :controller do
|
|
165
165
|
end
|
166
166
|
end
|
167
167
|
end
|
168
|
-
|
169
|
-
|
170
168
|
end
|
171
169
|
end
|
data/weeler.gemspec
CHANGED
@@ -18,9 +18,9 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
|
21
|
-
spec.add_dependency 'rails', '
|
21
|
+
spec.add_dependency 'rails', '~> 5.0'
|
22
22
|
spec.add_dependency 'i18n'
|
23
|
-
spec.add_dependency 'rails-settings-cached'
|
23
|
+
spec.add_dependency 'rails-settings-cached'
|
24
24
|
spec.add_dependency 'globalize'
|
25
25
|
|
26
26
|
spec.add_dependency 'kaminari'
|
@@ -45,6 +45,7 @@ Gem::Specification.new do |spec|
|
|
45
45
|
end
|
46
46
|
spec.add_development_dependency 'database_cleaner'
|
47
47
|
spec.add_development_dependency 'shoulda-matchers'
|
48
|
+
spec.add_development_dependency 'rails-controller-testing'
|
48
49
|
spec.add_development_dependency 'coveralls'
|
49
50
|
|
50
51
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: weeler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Artūrs Braučs
|
@@ -9,22 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-02-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
20
|
+
version: '5.0'
|
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: '5.0'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: i18n
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -43,16 +43,16 @@ dependencies:
|
|
43
43
|
name: rails-settings-cached
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - "
|
46
|
+
- - ">="
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 0
|
48
|
+
version: '0'
|
49
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: 0
|
55
|
+
version: '0'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: globalize
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -291,6 +291,20 @@ dependencies:
|
|
291
291
|
- - ">="
|
292
292
|
- !ruby/object:Gem::Version
|
293
293
|
version: '0'
|
294
|
+
- !ruby/object:Gem::Dependency
|
295
|
+
name: rails-controller-testing
|
296
|
+
requirement: !ruby/object:Gem::Requirement
|
297
|
+
requirements:
|
298
|
+
- - ">="
|
299
|
+
- !ruby/object:Gem::Version
|
300
|
+
version: '0'
|
301
|
+
type: :development
|
302
|
+
prerelease: false
|
303
|
+
version_requirements: !ruby/object:Gem::Requirement
|
304
|
+
requirements:
|
305
|
+
- - ">="
|
306
|
+
- !ruby/object:Gem::Version
|
307
|
+
version: '0'
|
294
308
|
- !ruby/object:Gem::Dependency
|
295
309
|
name: coveralls
|
296
310
|
requirement: !ruby/object:Gem::Requirement
|
@@ -543,7 +557,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
543
557
|
version: '0'
|
544
558
|
requirements: []
|
545
559
|
rubyforge_project:
|
546
|
-
rubygems_version: 2.
|
560
|
+
rubygems_version: 2.6.10
|
547
561
|
signing_key:
|
548
562
|
specification_version: 4
|
549
563
|
summary: CMS for weby.lv projects.
|