krant 0.1.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 16fca9a5203f41e933e1708ca649373a256c10e4d2f0ac45759a4555a956a408
4
- data.tar.gz: 935126c44cc0a3fd0c5de5a360016ae66e20b0faa41733ebe04c639d2775c41b
3
+ metadata.gz: ba0f34faf0b16e61df910db4c83718b1e25504984d8de226203ab2e50f762956
4
+ data.tar.gz: 2132ba279ce47cde88e3956b007b758d7a76c17543d18e55ad41c0cc11e7a2ce
5
5
  SHA512:
6
- metadata.gz: ede4f46671bf12e023594dc0822db6c3e653d38481d76bc943f0df97e991d924cb5ef78f4930828e1c5501a1f4311464effb394168677f42e2609b85a048446d
7
- data.tar.gz: 1e668b5be312e32b4be57f54a1fe5ed301761a66852086dd51b1a56d907b2ac9104a33d20f1fa70441abe836f4c94c5de7c59b2b2c247b0ef6e70c489ac2b425
6
+ metadata.gz: d8e239a5b45e1d973439139b7ff004dc030d41e8997c590fc542a50b548a3872939dba3becb20c1885e828fce9f21270139cd15f3fd94c04e4d4216c6a072f4e
7
+ data.tar.gz: 2d71a30ef434e5d1868797c1fbe92ff57439cb182996a349ab6f649b4d266bf0af089508662da00739ad59fbb4595073a659f9bd0e7d525956128d254e18bfc1
@@ -9,8 +9,8 @@ cache:
9
9
  bundler: true
10
10
 
11
11
  gemfile:
12
- - gemfiles/rails_4.2_active_admin_1.0.0.pre4.gemfile
13
- - gemfiles/rails_4.2_active_admin_1.0.gemfile
14
- - gemfiles/rails_4.2_active_admin_1.1.gemfile
12
+ - gemfiles/rails_5.1_active_admin_1.0.gemfile
13
+ - gemfiles/rails_5.1_active_admin_1.2.gemfile
14
+ - gemfiles/rails_5.x_active_admin_1.3.gemfile
15
15
 
16
- script: bundle exec rspec
16
+ script: bundle exec rspec
data/Appraisals CHANGED
@@ -1,14 +1,14 @@
1
- appraise 'rails-4.2-active-admin-1.0.0.pre4' do
2
- gem 'rails', '~> 4.2'
3
- gem 'activeadmin', '1.0.0.pre4'
1
+ appraise 'rails-5.1-active-admin-1.0' do
2
+ gem 'rails', '~> 5.1.0'
3
+ gem 'activeadmin', '~> 1.0.0'
4
4
  end
5
5
 
6
- appraise 'rails-4.2-active-admin-1.0' do
7
- gem 'rails', '~> 4.2'
8
- gem 'activeadmin', '~> 1.0'
6
+ appraise 'rails-5.1-active-admin-1.2' do
7
+ gem 'rails', '~> 5.1.0'
8
+ gem 'activeadmin', '~> 1.2.0'
9
9
  end
10
10
 
11
- appraise 'rails-4.2-active-admin-1.1' do
12
- gem 'rails', '~> 4.2'
13
- gem 'activeadmin', '~> 1.1'
11
+ appraise 'rails-5.x-active-admin-1.3' do
12
+ gem 'rails', '~> 5.2'
13
+ gem 'activeadmin', '~> 1.3.0'
14
14
  end
@@ -1,7 +1,14 @@
1
1
  # CHANGELOG
2
2
 
3
- ### Version 0.1.0
3
+ ### Version 1.0.0
4
4
 
5
- 2017-12-15
5
+ 2019-02-26
6
6
 
7
- - Initial release.
7
+ [Compare changes](https://github.com/codevise/krant/compare/0-1-stable...v1.0.0)
8
+
9
+ - Upgrade to Rails 5.2
10
+ ([#1](https://github.com/codevise/krant/pull/1))
11
+
12
+ See
13
+ [0-1-stable branch](https://github.com/codevise/krant/blob/0-1-stable/CHANGELOG.md)
14
+ for previous changes.
@@ -1,4 +1,4 @@
1
- class CreateKrantBroadcastMessages < ActiveRecord::Migration
1
+ class CreateKrantBroadcastMessages < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :krant_broadcast_messages do |t|
4
4
  t.boolean :active
@@ -1,4 +1,4 @@
1
- class CreateKrantBroadcastMessageTranslations < ActiveRecord::Migration
1
+ class CreateKrantBroadcastMessageTranslations < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :krant_broadcast_message_translations do |t|
4
4
  t.belongs_to(:broadcast_message,
@@ -1,4 +1,4 @@
1
- class CreateKrantNewsItems < ActiveRecord::Migration
1
+ class CreateKrantNewsItems < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :krant_news_items do |t|
4
4
  t.string :scope
@@ -1,4 +1,4 @@
1
- class CreateKrantLastSeenStates < ActiveRecord::Migration
1
+ class CreateKrantLastSeenStates < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :krant_last_seen_states do |t|
4
4
  t.string :scope
@@ -2,7 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 4.2"
6
- gem "activeadmin", "1.0.0.pre4"
5
+ gem "rails", "~> 5.1.0"
6
+ gem "activeadmin", "~> 1.0.0"
7
7
 
8
8
  gemspec path: "../"
@@ -2,7 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 4.2"
6
- gem "activeadmin", "~> 1.1"
5
+ gem "rails", "~> 5.1.0"
6
+ gem "activeadmin", "~> 1.2.0"
7
7
 
8
8
  gemspec path: "../"
@@ -2,7 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 4.2"
6
- gem "activeadmin", "~> 1.0"
5
+ gem "rails", "~> 5.2"
6
+ gem "activeadmin", "~> 1.3.0"
7
7
 
8
8
  gemspec path: "../"
@@ -22,17 +22,17 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.add_development_dependency 'appraisal', '~> 2.2'
24
24
  spec.add_development_dependency 'bundler', '~> 1.14'
25
- spec.add_development_dependency 'rake', '~> 10.0'
26
- spec.add_development_dependency 'rspec-rails', '~> 3.6'
27
- spec.add_development_dependency 'combustion', '~> 0.7.0'
28
- spec.add_development_dependency 'sqlite3', '~> 1.3'
29
- spec.add_development_dependency 'capybara', '~> 2.15'
25
+ spec.add_development_dependency 'rake', '~> 12.3'
26
+ spec.add_development_dependency 'rspec-rails', '~> 3.8'
27
+ spec.add_development_dependency 'combustion', '~> 0.9.1'
28
+ spec.add_development_dependency 'sqlite3', '~> 1.3.6'
29
+ spec.add_development_dependency 'capybara', '~> 3.0'
30
30
  spec.add_development_dependency 'factory_bot_rails', '~> 4.8'
31
- spec.add_development_dependency 'domino', '~> 0.7.0'
31
+ spec.add_development_dependency 'domino', '~> 0.11.0'
32
32
  spec.add_development_dependency 'semmy', '~> 1.0'
33
- spec.add_development_dependency 'timecop', '~> 0.7.1'
33
+ spec.add_development_dependency 'timecop', '~> 0.9.1'
34
34
 
35
- spec.add_runtime_dependency 'activeadmin', '~> 1.x'
36
- spec.add_runtime_dependency 'rails', '~> 4.2'
35
+ spec.add_runtime_dependency 'activeadmin', ['>= 1.0', '< 1.4']
36
+ spec.add_runtime_dependency 'rails', '~> 5.1'
37
37
  spec.add_runtime_dependency 'kramdown', '~> 1.5'
38
38
  end
@@ -51,7 +51,7 @@ module Krant
51
51
 
52
52
  page.page_action(:seen, method: [:post]) do
53
53
  news.call.seen_by!(current_active_admin_user)
54
- render text: ''
54
+ render plain: ''
55
55
  end
56
56
  end
57
57
  end
@@ -1,3 +1,3 @@
1
1
  module Krant
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '1.0.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: krant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Fischbach
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-15 00:00:00.000000000 Z
11
+ date: 2019-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: appraisal
@@ -44,70 +44,70 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '10.0'
47
+ version: '12.3'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '10.0'
54
+ version: '12.3'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec-rails
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '3.6'
61
+ version: '3.8'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '3.6'
68
+ version: '3.8'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: combustion
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.7.0
75
+ version: 0.9.1
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.7.0
82
+ version: 0.9.1
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: sqlite3
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '1.3'
89
+ version: 1.3.6
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '1.3'
96
+ version: 1.3.6
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: capybara
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '2.15'
103
+ version: '3.0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '2.15'
110
+ version: '3.0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: factory_bot_rails
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 0.7.0
131
+ version: 0.11.0
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 0.7.0
138
+ version: 0.11.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: semmy
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -156,42 +156,48 @@ dependencies:
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 0.7.1
159
+ version: 0.9.1
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: 0.7.1
166
+ version: 0.9.1
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: activeadmin
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - "~>"
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '1.0'
174
+ - - "<"
172
175
  - !ruby/object:Gem::Version
173
- version: 1.x
176
+ version: '1.4'
174
177
  type: :runtime
175
178
  prerelease: false
176
179
  version_requirements: !ruby/object:Gem::Requirement
177
180
  requirements:
178
- - - "~>"
181
+ - - ">="
182
+ - !ruby/object:Gem::Version
183
+ version: '1.0'
184
+ - - "<"
179
185
  - !ruby/object:Gem::Version
180
- version: 1.x
186
+ version: '1.4'
181
187
  - !ruby/object:Gem::Dependency
182
188
  name: rails
183
189
  requirement: !ruby/object:Gem::Requirement
184
190
  requirements:
185
191
  - - "~>"
186
192
  - !ruby/object:Gem::Version
187
- version: '4.2'
193
+ version: '5.1'
188
194
  type: :runtime
189
195
  prerelease: false
190
196
  version_requirements: !ruby/object:Gem::Requirement
191
197
  requirements:
192
198
  - - "~>"
193
199
  - !ruby/object:Gem::Version
194
- version: '4.2'
200
+ version: '5.1'
195
201
  - !ruby/object:Gem::Dependency
196
202
  name: kramdown
197
203
  requirement: !ruby/object:Gem::Requirement
@@ -243,9 +249,9 @@ files:
243
249
  - db/migrate/20171214095622_create_krant_broadcast_message_translations.rb
244
250
  - db/migrate/20171214175840_create_krant_news_items.rb
245
251
  - db/migrate/20171215080737_create_krant_last_seen_states.rb
246
- - gemfiles/rails_4.2_active_admin_1.0.0.pre4.gemfile
247
- - gemfiles/rails_4.2_active_admin_1.0.gemfile
248
- - gemfiles/rails_4.2_active_admin_1.1.gemfile
252
+ - gemfiles/rails_5.1_active_admin_1.0.gemfile
253
+ - gemfiles/rails_5.1_active_admin_1.2.gemfile
254
+ - gemfiles/rails_5.x_active_admin_1.3.gemfile
249
255
  - krant.gemspec
250
256
  - lib/krant.rb
251
257
  - lib/krant/engine.rb
@@ -274,7 +280,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
274
280
  version: '0'
275
281
  requirements: []
276
282
  rubyforge_project:
277
- rubygems_version: 2.7.0
283
+ rubygems_version: 2.7.8
278
284
  signing_key:
279
285
  specification_version: 4
280
286
  summary: Display app news and broadcast messages in Active Admin.