paul_revere 2.1.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +4 -3
- data/Appraisals +1 -1
- data/CHANGELOG.md +82 -0
- data/Gemfile.lock +101 -92
- data/README.md +5 -1
- data/gemfiles/rails_5.0.gemfile +1 -1
- data/gemfiles/rails_5.1.gemfile +1 -1
- data/gemfiles/rails_5.2.gemfile +7 -0
- data/lib/generators/paul_revere/views_generator.rb +18 -0
- data/lib/paul_revere/version.rb +1 -1
- data/paul_revere.gemspec +4 -4
- data/spec/factories.rb +1 -1
- data/spec/fake_app.rb +3 -0
- data/spec/rails_helper.rb +2 -2
- metadata +13 -11
- data/NEWS.md +0 -41
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9ee6e1c3fa88318afd174f7504c4acdd1b0ad77e4791f372d1829d447dbd4b06
|
4
|
+
data.tar.gz: 6e5867d327c9c08020b28ceca4472ce2d8f39c5e9355453dd5e60c4ae72eceb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59d02e488c028616dfa774d167405aeff70ee2007f9ea283444c7d9a4578094a96f106c868c09941591d52be548feca09edbfd2d7532b8fae2aa345ec4a56c40
|
7
|
+
data.tar.gz: cfa49adf66573873aa83e518818691958792a516635f78e58af81ffc061d0d8b143821f152419d805a6649fb02058fe30a7e063b7858c1553236a8280b11c619
|
data/.travis.yml
CHANGED
data/Appraisals
CHANGED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,82 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## Unreleased:
|
4
|
+
|
5
|
+
## 3.0.0:
|
6
|
+
|
7
|
+
### Added
|
8
|
+
|
9
|
+
- Add support for Rails version 5.2.x
|
10
|
+
|
11
|
+
### Removed
|
12
|
+
|
13
|
+
- Drop explicit support for ruby versions under 2.3.x
|
14
|
+
- Drop support for Rails versions under 5.0.x
|
15
|
+
|
16
|
+
## 2.1.0
|
17
|
+
|
18
|
+
### Added
|
19
|
+
|
20
|
+
- Relax version requirements to support Rails version 5.0.x
|
21
|
+
|
22
|
+
### Removed
|
23
|
+
|
24
|
+
- Drop explicit support for ruby versions under 2.1.0
|
25
|
+
- Drop support for Rails versions prior to 4.1.0
|
26
|
+
|
27
|
+
## 2.0.0
|
28
|
+
|
29
|
+
### Added
|
30
|
+
|
31
|
+
- Install the javascripts into vendor/assets
|
32
|
+
|
33
|
+
### Changed
|
34
|
+
|
35
|
+
- Remove deprecated should macros
|
36
|
+
- Switch to using `change` in generated Rails migrations
|
37
|
+
- Clean up the README and installation instructions
|
38
|
+
- Rename helper methods and view partials
|
39
|
+
|
40
|
+
## 1.4
|
41
|
+
|
42
|
+
### Removed
|
43
|
+
|
44
|
+
- Drop support for ruby 1.9.3
|
45
|
+
- Remove deprecated Rails method `link_to_function`
|
46
|
+
|
47
|
+
### Changed
|
48
|
+
|
49
|
+
- Reference the MIT license from the gemspec
|
50
|
+
- Update migration to avoid Rails deprecation warning about timestamps `null :false`
|
51
|
+
- Use ISO 8601 format when creating the Announcement cookie name
|
52
|
+
|
53
|
+
## 1.3
|
54
|
+
|
55
|
+
### Fixed
|
56
|
+
|
57
|
+
- Fix for ActiveRecord migration/generator error on Rails 4+.
|
58
|
+
|
59
|
+
## 1.2
|
60
|
+
|
61
|
+
### Added
|
62
|
+
|
63
|
+
- Rails 4 support.
|
64
|
+
|
65
|
+
## 1.1
|
66
|
+
|
67
|
+
### Added
|
68
|
+
|
69
|
+
- Support for the Rails asset pipeline.
|
70
|
+
- More clear installation instructions for both newer and older Rails.
|
71
|
+
- The Announcement body is attr_accessible.
|
72
|
+
|
73
|
+
## 1.0
|
74
|
+
|
75
|
+
### Added
|
76
|
+
|
77
|
+
- Support for Rails 3.2.3, 3.1.4, and 3.0.12.
|
78
|
+
- The announcement hiding cookie expires after a year.
|
79
|
+
|
80
|
+
### Fixed
|
81
|
+
|
82
|
+
- Fix the JavaScript that hides the announcements to work out of the box.
|
data/Gemfile.lock
CHANGED
@@ -1,160 +1,169 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
paul_revere (
|
5
|
-
rails (>= 5.0, <
|
4
|
+
paul_revere (3.0.0)
|
5
|
+
rails (>= 5.0, < 6.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actioncable (5.
|
11
|
-
actionpack (= 5.
|
10
|
+
actioncable (5.2.0)
|
11
|
+
actionpack (= 5.2.0)
|
12
12
|
nio4r (~> 2.0)
|
13
|
-
websocket-driver (
|
14
|
-
actionmailer (5.
|
15
|
-
actionpack (= 5.
|
16
|
-
actionview (= 5.
|
17
|
-
activejob (= 5.
|
13
|
+
websocket-driver (>= 0.6.1)
|
14
|
+
actionmailer (5.2.0)
|
15
|
+
actionpack (= 5.2.0)
|
16
|
+
actionview (= 5.2.0)
|
17
|
+
activejob (= 5.2.0)
|
18
18
|
mail (~> 2.5, >= 2.5.4)
|
19
19
|
rails-dom-testing (~> 2.0)
|
20
|
-
actionpack (5.
|
21
|
-
actionview (= 5.
|
22
|
-
activesupport (= 5.
|
20
|
+
actionpack (5.2.0)
|
21
|
+
actionview (= 5.2.0)
|
22
|
+
activesupport (= 5.2.0)
|
23
23
|
rack (~> 2.0)
|
24
|
-
rack-test (
|
24
|
+
rack-test (>= 0.6.3)
|
25
25
|
rails-dom-testing (~> 2.0)
|
26
26
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
27
|
-
actionview (5.
|
28
|
-
activesupport (= 5.
|
27
|
+
actionview (5.2.0)
|
28
|
+
activesupport (= 5.2.0)
|
29
29
|
builder (~> 3.1)
|
30
30
|
erubi (~> 1.4)
|
31
31
|
rails-dom-testing (~> 2.0)
|
32
32
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
33
|
-
activejob (5.
|
34
|
-
activesupport (= 5.
|
33
|
+
activejob (5.2.0)
|
34
|
+
activesupport (= 5.2.0)
|
35
35
|
globalid (>= 0.3.6)
|
36
|
-
activemodel (5.
|
37
|
-
activesupport (= 5.
|
38
|
-
activerecord (5.
|
39
|
-
activemodel (= 5.
|
40
|
-
activesupport (= 5.
|
41
|
-
arel (
|
42
|
-
|
36
|
+
activemodel (5.2.0)
|
37
|
+
activesupport (= 5.2.0)
|
38
|
+
activerecord (5.2.0)
|
39
|
+
activemodel (= 5.2.0)
|
40
|
+
activesupport (= 5.2.0)
|
41
|
+
arel (>= 9.0)
|
42
|
+
activestorage (5.2.0)
|
43
|
+
actionpack (= 5.2.0)
|
44
|
+
activerecord (= 5.2.0)
|
45
|
+
marcel (~> 0.3.1)
|
46
|
+
activesupport (5.2.0)
|
43
47
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
44
|
-
i18n (
|
48
|
+
i18n (>= 0.7, < 2)
|
45
49
|
minitest (~> 5.1)
|
46
50
|
tzinfo (~> 1.1)
|
47
51
|
appraisal (2.2.0)
|
48
52
|
bundler
|
49
53
|
rake
|
50
54
|
thor (>= 0.14.0)
|
51
|
-
arel (
|
55
|
+
arel (9.0.0)
|
52
56
|
builder (3.2.3)
|
53
57
|
concurrent-ruby (1.0.5)
|
58
|
+
crass (1.0.4)
|
54
59
|
diff-lcs (1.3)
|
55
|
-
erubi (1.
|
56
|
-
|
60
|
+
erubi (1.7.1)
|
61
|
+
factory_bot (4.8.2)
|
57
62
|
activesupport (>= 3.0.0)
|
58
|
-
|
59
|
-
|
63
|
+
factory_bot_rails (4.8.2)
|
64
|
+
factory_bot (~> 4.8.2)
|
60
65
|
railties (>= 3.0.0)
|
61
|
-
generator_spec (0.9.
|
66
|
+
generator_spec (0.9.4)
|
62
67
|
activesupport (>= 3.0.0)
|
63
68
|
railties (>= 3.0.0)
|
64
|
-
globalid (0.4.
|
69
|
+
globalid (0.4.1)
|
65
70
|
activesupport (>= 4.2.0)
|
66
|
-
i18n (0.
|
67
|
-
|
68
|
-
|
71
|
+
i18n (1.0.1)
|
72
|
+
concurrent-ruby (~> 1.0)
|
73
|
+
jasmine (3.1.0)
|
74
|
+
jasmine-core (= 3.1.0)
|
69
75
|
phantomjs
|
70
76
|
rack (>= 1.2.1)
|
71
77
|
rake
|
72
|
-
jasmine-core (
|
73
|
-
loofah (2.
|
78
|
+
jasmine-core (3.1.0)
|
79
|
+
loofah (2.2.2)
|
80
|
+
crass (~> 1.0.2)
|
74
81
|
nokogiri (>= 1.5.9)
|
75
|
-
mail (2.
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
82
|
+
mail (2.7.0)
|
83
|
+
mini_mime (>= 0.1.1)
|
84
|
+
marcel (0.3.2)
|
85
|
+
mimemagic (~> 0.3.2)
|
86
|
+
method_source (0.9.0)
|
87
|
+
mimemagic (0.3.2)
|
88
|
+
mini_mime (1.0.0)
|
89
|
+
mini_portile2 (2.3.0)
|
90
|
+
minitest (5.11.3)
|
91
|
+
nio4r (2.3.0)
|
92
|
+
nokogiri (1.8.2)
|
93
|
+
mini_portile2 (~> 2.3.0)
|
86
94
|
phantomjs (2.1.1.0)
|
87
|
-
rack (2.0.
|
88
|
-
rack-test (0.
|
89
|
-
rack (>= 1.0)
|
90
|
-
rails (5.
|
91
|
-
actioncable (= 5.
|
92
|
-
actionmailer (= 5.
|
93
|
-
actionpack (= 5.
|
94
|
-
actionview (= 5.
|
95
|
-
activejob (= 5.
|
96
|
-
activemodel (= 5.
|
97
|
-
activerecord (= 5.
|
98
|
-
|
99
|
-
|
100
|
-
|
95
|
+
rack (2.0.5)
|
96
|
+
rack-test (1.0.0)
|
97
|
+
rack (>= 1.0, < 3)
|
98
|
+
rails (5.2.0)
|
99
|
+
actioncable (= 5.2.0)
|
100
|
+
actionmailer (= 5.2.0)
|
101
|
+
actionpack (= 5.2.0)
|
102
|
+
actionview (= 5.2.0)
|
103
|
+
activejob (= 5.2.0)
|
104
|
+
activemodel (= 5.2.0)
|
105
|
+
activerecord (= 5.2.0)
|
106
|
+
activestorage (= 5.2.0)
|
107
|
+
activesupport (= 5.2.0)
|
108
|
+
bundler (>= 1.3.0)
|
109
|
+
railties (= 5.2.0)
|
101
110
|
sprockets-rails (>= 2.0.0)
|
102
|
-
rails-dom-testing (2.0.
|
103
|
-
activesupport (>= 4.2.0
|
104
|
-
nokogiri (
|
105
|
-
rails-html-sanitizer (1.0.
|
106
|
-
loofah (~> 2.
|
107
|
-
railties (5.
|
108
|
-
actionpack (= 5.
|
109
|
-
activesupport (= 5.
|
111
|
+
rails-dom-testing (2.0.3)
|
112
|
+
activesupport (>= 4.2.0)
|
113
|
+
nokogiri (>= 1.6)
|
114
|
+
rails-html-sanitizer (1.0.4)
|
115
|
+
loofah (~> 2.2, >= 2.2.2)
|
116
|
+
railties (5.2.0)
|
117
|
+
actionpack (= 5.2.0)
|
118
|
+
activesupport (= 5.2.0)
|
110
119
|
method_source
|
111
120
|
rake (>= 0.8.7)
|
112
121
|
thor (>= 0.18.1, < 2.0)
|
113
|
-
rake (12.
|
114
|
-
rspec-core (3.
|
115
|
-
rspec-support (~> 3.
|
116
|
-
rspec-expectations (3.
|
122
|
+
rake (12.3.1)
|
123
|
+
rspec-core (3.7.1)
|
124
|
+
rspec-support (~> 3.7.0)
|
125
|
+
rspec-expectations (3.7.0)
|
117
126
|
diff-lcs (>= 1.2.0, < 2.0)
|
118
|
-
rspec-support (~> 3.
|
119
|
-
rspec-mocks (3.
|
127
|
+
rspec-support (~> 3.7.0)
|
128
|
+
rspec-mocks (3.7.0)
|
120
129
|
diff-lcs (>= 1.2.0, < 2.0)
|
121
|
-
rspec-support (~> 3.
|
122
|
-
rspec-rails (3.
|
130
|
+
rspec-support (~> 3.7.0)
|
131
|
+
rspec-rails (3.7.2)
|
123
132
|
actionpack (>= 3.0)
|
124
133
|
activesupport (>= 3.0)
|
125
134
|
railties (>= 3.0)
|
126
|
-
rspec-core (~> 3.
|
127
|
-
rspec-expectations (~> 3.
|
128
|
-
rspec-mocks (~> 3.
|
129
|
-
rspec-support (~> 3.
|
130
|
-
rspec-support (3.
|
135
|
+
rspec-core (~> 3.7.0)
|
136
|
+
rspec-expectations (~> 3.7.0)
|
137
|
+
rspec-mocks (~> 3.7.0)
|
138
|
+
rspec-support (~> 3.7.0)
|
139
|
+
rspec-support (3.7.1)
|
131
140
|
sprockets (3.7.1)
|
132
141
|
concurrent-ruby (~> 1.0)
|
133
142
|
rack (> 1, < 3)
|
134
|
-
sprockets-rails (3.2.
|
143
|
+
sprockets-rails (3.2.1)
|
135
144
|
actionpack (>= 4.0)
|
136
145
|
activesupport (>= 4.0)
|
137
146
|
sprockets (>= 3.0.0)
|
138
147
|
sqlite3 (1.3.13)
|
139
|
-
thor (0.
|
148
|
+
thor (0.20.0)
|
140
149
|
thread_safe (0.3.6)
|
141
|
-
tzinfo (1.2.
|
150
|
+
tzinfo (1.2.5)
|
142
151
|
thread_safe (~> 0.1)
|
143
|
-
websocket-driver (0.
|
152
|
+
websocket-driver (0.7.0)
|
144
153
|
websocket-extensions (>= 0.1.0)
|
145
|
-
websocket-extensions (0.1.
|
154
|
+
websocket-extensions (0.1.3)
|
146
155
|
|
147
156
|
PLATFORMS
|
148
157
|
ruby
|
149
158
|
|
150
159
|
DEPENDENCIES
|
151
160
|
appraisal (~> 2.1)
|
152
|
-
|
161
|
+
factory_bot_rails (~> 4.8)
|
153
162
|
generator_spec (~> 0.9)
|
154
|
-
jasmine (~>
|
163
|
+
jasmine (~> 3.1)
|
155
164
|
paul_revere!
|
156
|
-
rspec-rails (~> 3.
|
165
|
+
rspec-rails (~> 3.7)
|
157
166
|
sqlite3 (~> 1.3)
|
158
167
|
|
159
168
|
BUNDLED WITH
|
160
|
-
1.
|
169
|
+
1.16.1
|
data/README.md
CHANGED
@@ -25,6 +25,10 @@ Finally, create the announcements table by running the migration:
|
|
25
25
|
|
26
26
|
rake db:migrate
|
27
27
|
|
28
|
+
Copy built-in partials into your Rails application by running:
|
29
|
+
|
30
|
+
rails generate paul_revere:views
|
31
|
+
|
28
32
|
## Background
|
29
33
|
|
30
34
|
Paul Revere provides...
|
@@ -79,5 +83,5 @@ The names and logos for thoughtbot are trademarks of thoughtbot, inc.
|
|
79
83
|
|
80
84
|
## License
|
81
85
|
|
82
|
-
Paul Revere is Copyright © 2009 thoughtbot, inc. It is free software, and may be
|
86
|
+
Paul Revere is Copyright © 2009-2018 thoughtbot, inc. It is free software, and may be
|
83
87
|
redistributed under the terms specified in the MIT-LICENSE file.
|
data/gemfiles/rails_5.0.gemfile
CHANGED
data/gemfiles/rails_5.1.gemfile
CHANGED
@@ -0,0 +1,18 @@
|
|
1
|
+
module PaulRevere
|
2
|
+
module Generators
|
3
|
+
class ViewsGenerator < Rails::Generators::Base
|
4
|
+
source_root File.expand_path(
|
5
|
+
"../../../../app/views/announcements",
|
6
|
+
__FILE__,
|
7
|
+
)
|
8
|
+
|
9
|
+
desc "Copy built-in partials to Rails application"
|
10
|
+
def copy_partials
|
11
|
+
filename_pattern = File.join self.class.source_root, "*.erb"
|
12
|
+
Dir.glob(filename_pattern).map { |f| File.basename f }.each do |f|
|
13
|
+
copy_file f, "app/views/announcements/#{f}"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
data/lib/paul_revere/version.rb
CHANGED
data/paul_revere.gemspec
CHANGED
@@ -32,12 +32,12 @@ Gem::Specification.new do |s|
|
|
32
32
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
33
33
|
s.require_paths = ["lib"]
|
34
34
|
|
35
|
-
s.add_dependency("rails", ">= 5.0", "<
|
35
|
+
s.add_dependency("rails", ">= 5.0", "< 6.0")
|
36
36
|
|
37
37
|
s.add_development_dependency("appraisal", "~> 2.1")
|
38
|
-
s.add_development_dependency("
|
38
|
+
s.add_development_dependency("factory_bot_rails", "~> 4.8")
|
39
39
|
s.add_development_dependency("generator_spec", "~> 0.9")
|
40
|
-
s.add_development_dependency("jasmine", "~>
|
41
|
-
s.add_development_dependency("rspec-rails", "~> 3.
|
40
|
+
s.add_development_dependency("jasmine", "~> 3.1")
|
41
|
+
s.add_development_dependency("rspec-rails", "~> 3.7")
|
42
42
|
s.add_development_dependency("sqlite3", "~> 1.3")
|
43
43
|
end
|
data/spec/factories.rb
CHANGED
data/spec/fake_app.rb
CHANGED
@@ -8,6 +8,9 @@ module PaulRevere
|
|
8
8
|
config.secret_key_base = "test"
|
9
9
|
config.paths["config/database"] = ["spec/support/database.yml"]
|
10
10
|
config.eager_load = false
|
11
|
+
if Rails.gem_version >= Gem::Version.new("5.2")
|
12
|
+
config.active_record.sqlite3.represent_boolean_as_integer = true
|
13
|
+
end
|
11
14
|
end
|
12
15
|
end
|
13
16
|
PaulRevere::Application.initialize!
|
data/spec/rails_helper.rb
CHANGED
@@ -11,11 +11,11 @@ require "fake_app"
|
|
11
11
|
# Load support files
|
12
12
|
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
13
13
|
|
14
|
-
require "
|
14
|
+
require "factory_bot"
|
15
15
|
require "factories"
|
16
16
|
|
17
17
|
RSpec.configure do |config|
|
18
|
-
config.include
|
18
|
+
config.include FactoryBot::Syntax::Methods
|
19
19
|
config.include Rails.application.routes.url_helpers
|
20
20
|
config.infer_spec_type_from_file_location!
|
21
21
|
config.before(:each) do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paul_revere
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Jankowski
|
@@ -21,7 +21,7 @@ authors:
|
|
21
21
|
autorequire:
|
22
22
|
bindir: bin
|
23
23
|
cert_chain: []
|
24
|
-
date:
|
24
|
+
date: 2018-04-30 00:00:00.000000000 Z
|
25
25
|
dependencies:
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: rails
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '5.0'
|
33
33
|
- - "<"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: '
|
35
|
+
version: '6.0'
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
version: '5.0'
|
43
43
|
- - "<"
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: '
|
45
|
+
version: '6.0'
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: appraisal
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,7 +58,7 @@ dependencies:
|
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: '2.1'
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
|
-
name:
|
61
|
+
name: factory_bot_rails
|
62
62
|
requirement: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
64
|
- - "~>"
|
@@ -91,28 +91,28 @@ dependencies:
|
|
91
91
|
requirements:
|
92
92
|
- - "~>"
|
93
93
|
- !ruby/object:Gem::Version
|
94
|
-
version: '
|
94
|
+
version: '3.1'
|
95
95
|
type: :development
|
96
96
|
prerelease: false
|
97
97
|
version_requirements: !ruby/object:Gem::Requirement
|
98
98
|
requirements:
|
99
99
|
- - "~>"
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version: '
|
101
|
+
version: '3.1'
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: rspec-rails
|
104
104
|
requirement: !ruby/object:Gem::Requirement
|
105
105
|
requirements:
|
106
106
|
- - "~>"
|
107
107
|
- !ruby/object:Gem::Version
|
108
|
-
version: '3.
|
108
|
+
version: '3.7'
|
109
109
|
type: :development
|
110
110
|
prerelease: false
|
111
111
|
version_requirements: !ruby/object:Gem::Requirement
|
112
112
|
requirements:
|
113
113
|
- - "~>"
|
114
114
|
- !ruby/object:Gem::Version
|
115
|
-
version: '3.
|
115
|
+
version: '3.7'
|
116
116
|
- !ruby/object:Gem::Dependency
|
117
117
|
name: sqlite3
|
118
118
|
requirement: !ruby/object:Gem::Requirement
|
@@ -137,10 +137,10 @@ files:
|
|
137
137
|
- ".rspec"
|
138
138
|
- ".travis.yml"
|
139
139
|
- Appraisals
|
140
|
+
- CHANGELOG.md
|
140
141
|
- Gemfile
|
141
142
|
- Gemfile.lock
|
142
143
|
- MIT-LICENSE
|
143
|
-
- NEWS.md
|
144
144
|
- README.md
|
145
145
|
- Rakefile
|
146
146
|
- app/assets/javascripts/announcements.js
|
@@ -151,8 +151,10 @@ files:
|
|
151
151
|
- app/views/announcements/_public_announcement.html.erb
|
152
152
|
- gemfiles/rails_5.0.gemfile
|
153
153
|
- gemfiles/rails_5.1.gemfile
|
154
|
+
- gemfiles/rails_5.2.gemfile
|
154
155
|
- lib/generators/paul_revere/paul_revere_generator.rb
|
155
156
|
- lib/generators/paul_revere/templates/migration.rb
|
157
|
+
- lib/generators/paul_revere/views_generator.rb
|
156
158
|
- lib/paul_revere.rb
|
157
159
|
- lib/paul_revere/version.rb
|
158
160
|
- paul_revere.gemspec
|
@@ -192,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
194
|
version: '0'
|
193
195
|
requirements: []
|
194
196
|
rubyforge_project:
|
195
|
-
rubygems_version: 2.6
|
197
|
+
rubygems_version: 2.7.6
|
196
198
|
signing_key:
|
197
199
|
specification_version: 4
|
198
200
|
summary: Simple announcement plugin to include `one off` style announcements in Rails
|
data/NEWS.md
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
New in 2.1.0:
|
2
|
-
|
3
|
-
* Drop explicit support for ruby versions under 2.1.0
|
4
|
-
* Drop support for Rails versions prior to 4.1.0
|
5
|
-
* Relax version requirements to support Rails version 5.0.x
|
6
|
-
|
7
|
-
New in 2.0.0:
|
8
|
-
|
9
|
-
* Remove deprecated should macros
|
10
|
-
* Switch to using `change` in generated Rails migrations
|
11
|
-
* Clean up the README and installation instructions
|
12
|
-
* Install the javascripts into vendor/assets
|
13
|
-
* Rename helper methods and view partials
|
14
|
-
|
15
|
-
New in 1.4:
|
16
|
-
|
17
|
-
* Reference the MIT license from the gemspec
|
18
|
-
* Update migration to avoid Rails deprecation warning about timestamps `null :false`
|
19
|
-
* Drop support for ruby 1.9.3
|
20
|
-
* Remove deprecated Rails method `link_to_function`
|
21
|
-
* Use ISO 8601 format when creating the Announcement cookie name
|
22
|
-
|
23
|
-
New in 1.3:
|
24
|
-
|
25
|
-
* Fix for ActiveRecord migration/generator error on Rails 4+.
|
26
|
-
|
27
|
-
New in 1.2:
|
28
|
-
|
29
|
-
* Rails 4 support.
|
30
|
-
|
31
|
-
New in 1.1:
|
32
|
-
|
33
|
-
* Support for the asset pipeline.
|
34
|
-
* More clear installation instructions for both newer and older Rails.
|
35
|
-
* The Announcement body is attr_accessible.
|
36
|
-
|
37
|
-
New in 1.0:
|
38
|
-
|
39
|
-
* Support for Rails 3.2.3, 3.1.4, and 3.0.12.
|
40
|
-
* Fix the JavaScript that hides the announcements to work out of the box.
|
41
|
-
* The announcement hiding cookie expires after a year.
|