paul_revere 2.0.0 → 2.1.0.rc1

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
  SHA1:
3
- metadata.gz: 4b100f2354a49122ecd4082d4b84b4599571ee5e
4
- data.tar.gz: 5325d817b43a06b3f72e6991ef259148a53aebd5
3
+ metadata.gz: 67bead16b259db44eecaee819e57d55dc798f66b
4
+ data.tar.gz: ea04b1fc9b5a8b35aeddfdfaf7c901569f378a4a
5
5
  SHA512:
6
- metadata.gz: c12367eb2d4cf6e17ed90bb6a4f4cbb771d71210171aed06ac4fe0463a0b583caefce76213402bafcd47745fcff9e697eced1daaa4148af90610f342dd1d991f
7
- data.tar.gz: 42d2f556c6e6dd471789bc01c6db199ebf1e9e1bb2192dde54401c5f14a2a9f92d228f778fee99256f2eaafc932efc220a195d1e45ba66256f63c64d4b997542
6
+ metadata.gz: 8581f3128f12d8ac5bcccb1dee805fe4f192911700276b29e8437fc311c60839706516d85499cb67bdaaaad00eb1ad2436cdd5a05fb0c6242947dffe051c06f7
7
+ data.tar.gz: 358c59de9d6ab6ec1a5aa008e5ea8344d9b84db50f05b643dc3c9a18504908a73035fd96c5e6de33900165494a801b99ac5a31c0995907ba2bec9c17ac8e7e15
data/.travis.yml CHANGED
@@ -1,12 +1,18 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.0.0
4
- - 2.1.5
5
- - 2.2.0
3
+ - 2.1.8
4
+ - 2.2.4
5
+ - 2.3.0
6
6
  gemfile:
7
- - gemfiles/rails_4.2.0.gemfile
8
- - gemfiles/rails_4.1.0.gemfile
9
- - gemfiles/rails_4.0.0.gemfile
7
+ - gemfiles/rails_5.0.gemfile
8
+ - gemfiles/rails_4.2.gemfile
9
+ - gemfiles/rails_4.1.gemfile
10
+ install:
11
+ - 'travis_retry bundle install'
10
12
  notifications:
11
13
  email: false
12
14
  sudo: false
15
+ matrix:
16
+ exclude:
17
+ - rvm: 2.1.8
18
+ gemfile: gemfiles/rails_5.0.gemfile
data/Appraisals CHANGED
@@ -1,5 +1,5 @@
1
- ["4.2.0", "4.1.0", "4.0.0"].each do |rails_version|
2
- appraise "rails_#{rails_version}" do
1
+ ["5.0.0.rc1", "4.2.0", "4.1.0"].each do |rails_version|
2
+ appraise "rails_#{rails_version[0..2]}" do
3
3
  gem "rails", "~> #{rails_version}"
4
4
  end
5
5
  end
data/Gemfile.lock CHANGED
@@ -1,142 +1,143 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- paul_revere (2.0.0)
5
- rails (~> 4.0)
4
+ paul_revere (2.1.0.rc1)
5
+ rails (>= 4.1, < 5.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionmailer (4.2.0)
11
- actionpack (= 4.2.0)
12
- actionview (= 4.2.0)
13
- activejob (= 4.2.0)
10
+ actionmailer (4.2.6)
11
+ actionpack (= 4.2.6)
12
+ actionview (= 4.2.6)
13
+ activejob (= 4.2.6)
14
14
  mail (~> 2.5, >= 2.5.4)
15
15
  rails-dom-testing (~> 1.0, >= 1.0.5)
16
- actionpack (4.2.0)
17
- actionview (= 4.2.0)
18
- activesupport (= 4.2.0)
19
- rack (~> 1.6.0)
16
+ actionpack (4.2.6)
17
+ actionview (= 4.2.6)
18
+ activesupport (= 4.2.6)
19
+ rack (~> 1.6)
20
20
  rack-test (~> 0.6.2)
21
21
  rails-dom-testing (~> 1.0, >= 1.0.5)
22
- rails-html-sanitizer (~> 1.0, >= 1.0.1)
23
- actionview (4.2.0)
24
- activesupport (= 4.2.0)
22
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
23
+ actionview (4.2.6)
24
+ activesupport (= 4.2.6)
25
25
  builder (~> 3.1)
26
26
  erubis (~> 2.7.0)
27
27
  rails-dom-testing (~> 1.0, >= 1.0.5)
28
- rails-html-sanitizer (~> 1.0, >= 1.0.1)
29
- activejob (4.2.0)
30
- activesupport (= 4.2.0)
28
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
29
+ activejob (4.2.6)
30
+ activesupport (= 4.2.6)
31
31
  globalid (>= 0.3.0)
32
- activemodel (4.2.0)
33
- activesupport (= 4.2.0)
32
+ activemodel (4.2.6)
33
+ activesupport (= 4.2.6)
34
34
  builder (~> 3.1)
35
- activerecord (4.2.0)
36
- activemodel (= 4.2.0)
37
- activesupport (= 4.2.0)
35
+ activerecord (4.2.6)
36
+ activemodel (= 4.2.6)
37
+ activesupport (= 4.2.6)
38
38
  arel (~> 6.0)
39
- activesupport (4.2.0)
39
+ activesupport (4.2.6)
40
40
  i18n (~> 0.7)
41
41
  json (~> 1.7, >= 1.7.7)
42
42
  minitest (~> 5.1)
43
43
  thread_safe (~> 0.3, >= 0.3.4)
44
44
  tzinfo (~> 1.1)
45
- appraisal (1.0.2)
45
+ appraisal (2.1.0)
46
46
  bundler
47
47
  rake
48
48
  thor (>= 0.14.0)
49
- arel (6.0.0)
49
+ arel (6.0.3)
50
50
  builder (3.2.2)
51
+ concurrent-ruby (1.0.2)
51
52
  diff-lcs (1.2.5)
52
53
  erubis (2.7.0)
53
- factory_girl (4.5.0)
54
+ factory_girl (4.7.0)
54
55
  activesupport (>= 3.0.0)
55
- factory_girl_rails (4.5.0)
56
- factory_girl (~> 4.5.0)
56
+ factory_girl_rails (4.7.0)
57
+ factory_girl (~> 4.7.0)
57
58
  railties (>= 3.0.0)
58
59
  generator_spec (0.9.3)
59
60
  activesupport (>= 3.0.0)
60
61
  railties (>= 3.0.0)
61
- globalid (0.3.3)
62
+ globalid (0.3.6)
62
63
  activesupport (>= 4.1.0)
63
- hike (1.2.3)
64
64
  i18n (0.7.0)
65
- jasmine (2.2.0)
66
- jasmine-core (~> 2.2)
65
+ jasmine (2.4.0)
66
+ jasmine-core (~> 2.4)
67
67
  phantomjs
68
68
  rack (>= 1.2.1)
69
69
  rake
70
- jasmine-core (2.2.0)
71
- json (1.8.2)
72
- loofah (2.0.1)
70
+ jasmine-core (2.4.1)
71
+ json (1.8.3)
72
+ loofah (2.0.3)
73
73
  nokogiri (>= 1.5.9)
74
- mail (2.6.3)
75
- mime-types (>= 1.16, < 3)
76
- mime-types (2.4.3)
77
- mini_portile (0.6.2)
78
- minitest (5.5.1)
79
- multi_json (1.10.1)
80
- nokogiri (1.6.6.2)
81
- mini_portile (~> 0.6.0)
82
- phantomjs (1.9.8.0)
83
- rack (1.6.0)
74
+ mail (2.6.4)
75
+ mime-types (>= 1.16, < 4)
76
+ mime-types (3.1)
77
+ mime-types-data (~> 3.2015)
78
+ mime-types-data (3.2016.0521)
79
+ mini_portile2 (2.1.0)
80
+ minitest (5.9.0)
81
+ nokogiri (1.6.8)
82
+ mini_portile2 (~> 2.1.0)
83
+ pkg-config (~> 1.1.7)
84
+ phantomjs (2.1.1.0)
85
+ pkg-config (1.1.7)
86
+ rack (1.6.4)
84
87
  rack-test (0.6.3)
85
88
  rack (>= 1.0)
86
- rails (4.2.0)
87
- actionmailer (= 4.2.0)
88
- actionpack (= 4.2.0)
89
- actionview (= 4.2.0)
90
- activejob (= 4.2.0)
91
- activemodel (= 4.2.0)
92
- activerecord (= 4.2.0)
93
- activesupport (= 4.2.0)
89
+ rails (4.2.6)
90
+ actionmailer (= 4.2.6)
91
+ actionpack (= 4.2.6)
92
+ actionview (= 4.2.6)
93
+ activejob (= 4.2.6)
94
+ activemodel (= 4.2.6)
95
+ activerecord (= 4.2.6)
96
+ activesupport (= 4.2.6)
94
97
  bundler (>= 1.3.0, < 2.0)
95
- railties (= 4.2.0)
98
+ railties (= 4.2.6)
96
99
  sprockets-rails
97
100
  rails-deprecated_sanitizer (1.0.3)
98
101
  activesupport (>= 4.2.0.alpha)
99
- rails-dom-testing (1.0.5)
102
+ rails-dom-testing (1.0.7)
100
103
  activesupport (>= 4.2.0.beta, < 5.0)
101
104
  nokogiri (~> 1.6.0)
102
105
  rails-deprecated_sanitizer (>= 1.0.1)
103
- rails-html-sanitizer (1.0.1)
106
+ rails-html-sanitizer (1.0.3)
104
107
  loofah (~> 2.0)
105
- railties (4.2.0)
106
- actionpack (= 4.2.0)
107
- activesupport (= 4.2.0)
108
+ railties (4.2.6)
109
+ actionpack (= 4.2.6)
110
+ activesupport (= 4.2.6)
108
111
  rake (>= 0.8.7)
109
112
  thor (>= 0.18.1, < 2.0)
110
- rake (10.4.2)
111
- rspec-core (3.1.7)
112
- rspec-support (~> 3.1.0)
113
- rspec-expectations (3.1.2)
113
+ rake (11.2.2)
114
+ rspec-core (3.5.0.beta4)
115
+ rspec-support (= 3.5.0.beta4)
116
+ rspec-expectations (3.5.0.beta4)
114
117
  diff-lcs (>= 1.2.0, < 2.0)
115
- rspec-support (~> 3.1.0)
116
- rspec-mocks (3.1.3)
117
- rspec-support (~> 3.1.0)
118
- rspec-rails (3.1.0)
118
+ rspec-support (= 3.5.0.beta4)
119
+ rspec-mocks (3.5.0.beta4)
120
+ diff-lcs (>= 1.2.0, < 2.0)
121
+ rspec-support (= 3.5.0.beta4)
122
+ rspec-rails (3.5.0.beta4)
119
123
  actionpack (>= 3.0)
120
124
  activesupport (>= 3.0)
121
125
  railties (>= 3.0)
122
- rspec-core (~> 3.1.0)
123
- rspec-expectations (~> 3.1.0)
124
- rspec-mocks (~> 3.1.0)
125
- rspec-support (~> 3.1.0)
126
- rspec-support (3.1.2)
127
- sprockets (2.12.3)
128
- hike (~> 1.2)
129
- multi_json (~> 1.0)
130
- rack (~> 1.0)
131
- tilt (~> 1.1, != 1.3.0)
132
- sprockets-rails (2.2.4)
133
- actionpack (>= 3.0)
134
- activesupport (>= 3.0)
135
- sprockets (>= 2.8, < 4.0)
136
- sqlite3 (1.3.10)
126
+ rspec-core (= 3.5.0.beta4)
127
+ rspec-expectations (= 3.5.0.beta4)
128
+ rspec-mocks (= 3.5.0.beta4)
129
+ rspec-support (= 3.5.0.beta4)
130
+ rspec-support (3.5.0.beta4)
131
+ sprockets (3.6.2)
132
+ concurrent-ruby (~> 1.0)
133
+ rack (> 1, < 3)
134
+ sprockets-rails (3.0.4)
135
+ actionpack (>= 4.0)
136
+ activesupport (>= 4.0)
137
+ sprockets (>= 3.0.0)
138
+ sqlite3 (1.3.11)
137
139
  thor (0.19.1)
138
- thread_safe (0.3.4)
139
- tilt (1.4.1)
140
+ thread_safe (0.3.5)
140
141
  tzinfo (1.2.2)
141
142
  thread_safe (~> 0.1)
142
143
 
@@ -144,10 +145,13 @@ PLATFORMS
144
145
  ruby
145
146
 
146
147
  DEPENDENCIES
147
- appraisal (~> 1.0)
148
- factory_girl_rails (~> 4.5)
148
+ appraisal (~> 2.1)
149
+ factory_girl_rails (~> 4.6)
149
150
  generator_spec (~> 0.9)
150
151
  jasmine (~> 2.2)
151
152
  paul_revere!
152
- rspec-rails (~> 3.1)
153
+ rspec-rails (= 3.5.0.beta4)
153
154
  sqlite3 (~> 1.3)
155
+
156
+ BUNDLED WITH
157
+ 1.12.5
data/NEWS.md CHANGED
@@ -1,3 +1,9 @@
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
+
1
7
  New in 2.0.0:
2
8
 
3
9
  * Remove deprecated should macros
File without changes
File without changes
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 4.0.0"
5
+ gem "rails", "~> 5.0.0.rc1"
6
6
 
7
7
  gemspec :path => "../"
@@ -1,3 +1,3 @@
1
1
  module PaulRevere
2
- VERSION = "2.0.0".freeze
2
+ VERSION = "2.1.0.rc1".freeze
3
3
  end
data/paul_revere.gemspec CHANGED
@@ -17,12 +17,12 @@ Gem::Specification.new do |s|
17
17
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
18
  s.require_paths = ["lib"]
19
19
 
20
- s.add_dependency("rails", "~> 4.0")
20
+ s.add_dependency("rails", ">= 4.1", "< 5.1")
21
21
 
22
- s.add_development_dependency("rspec-rails", "~> 3.1")
23
- s.add_development_dependency("sqlite3", "~> 1.3")
24
- s.add_development_dependency("appraisal", "~> 1.0")
22
+ s.add_development_dependency("appraisal", "~> 2.1")
23
+ s.add_development_dependency("factory_girl_rails", "~> 4.6")
25
24
  s.add_development_dependency("generator_spec", "~> 0.9")
26
- s.add_development_dependency("factory_girl_rails", "~> 4.5")
27
25
  s.add_development_dependency("jasmine", "~> 2.2")
26
+ s.add_development_dependency("rspec-rails", "3.5.0.beta4")
27
+ s.add_development_dependency("sqlite3", "~> 1.3")
28
28
  end
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: 2.0.0
4
+ version: 2.1.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Jankowski
@@ -21,106 +21,112 @@ authors:
21
21
  autorequire:
22
22
  bindir: bin
23
23
  cert_chain: []
24
- date: 2015-02-24 00:00:00.000000000 Z
24
+ date: 2016-06-22 00:00:00.000000000 Z
25
25
  dependencies:
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rails
28
28
  requirement: !ruby/object:Gem::Requirement
29
29
  requirements:
30
- - - "~>"
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '4.1'
33
+ - - "<"
31
34
  - !ruby/object:Gem::Version
32
- version: '4.0'
35
+ version: '5.1'
33
36
  type: :runtime
34
37
  prerelease: false
35
38
  version_requirements: !ruby/object:Gem::Requirement
36
39
  requirements:
37
- - - "~>"
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: '4.1'
43
+ - - "<"
38
44
  - !ruby/object:Gem::Version
39
- version: '4.0'
45
+ version: '5.1'
40
46
  - !ruby/object:Gem::Dependency
41
- name: rspec-rails
47
+ name: appraisal
42
48
  requirement: !ruby/object:Gem::Requirement
43
49
  requirements:
44
50
  - - "~>"
45
51
  - !ruby/object:Gem::Version
46
- version: '3.1'
52
+ version: '2.1'
47
53
  type: :development
48
54
  prerelease: false
49
55
  version_requirements: !ruby/object:Gem::Requirement
50
56
  requirements:
51
57
  - - "~>"
52
58
  - !ruby/object:Gem::Version
53
- version: '3.1'
59
+ version: '2.1'
54
60
  - !ruby/object:Gem::Dependency
55
- name: sqlite3
61
+ name: factory_girl_rails
56
62
  requirement: !ruby/object:Gem::Requirement
57
63
  requirements:
58
64
  - - "~>"
59
65
  - !ruby/object:Gem::Version
60
- version: '1.3'
66
+ version: '4.6'
61
67
  type: :development
62
68
  prerelease: false
63
69
  version_requirements: !ruby/object:Gem::Requirement
64
70
  requirements:
65
71
  - - "~>"
66
72
  - !ruby/object:Gem::Version
67
- version: '1.3'
73
+ version: '4.6'
68
74
  - !ruby/object:Gem::Dependency
69
- name: appraisal
75
+ name: generator_spec
70
76
  requirement: !ruby/object:Gem::Requirement
71
77
  requirements:
72
78
  - - "~>"
73
79
  - !ruby/object:Gem::Version
74
- version: '1.0'
80
+ version: '0.9'
75
81
  type: :development
76
82
  prerelease: false
77
83
  version_requirements: !ruby/object:Gem::Requirement
78
84
  requirements:
79
85
  - - "~>"
80
86
  - !ruby/object:Gem::Version
81
- version: '1.0'
87
+ version: '0.9'
82
88
  - !ruby/object:Gem::Dependency
83
- name: generator_spec
89
+ name: jasmine
84
90
  requirement: !ruby/object:Gem::Requirement
85
91
  requirements:
86
92
  - - "~>"
87
93
  - !ruby/object:Gem::Version
88
- version: '0.9'
94
+ version: '2.2'
89
95
  type: :development
90
96
  prerelease: false
91
97
  version_requirements: !ruby/object:Gem::Requirement
92
98
  requirements:
93
99
  - - "~>"
94
100
  - !ruby/object:Gem::Version
95
- version: '0.9'
101
+ version: '2.2'
96
102
  - !ruby/object:Gem::Dependency
97
- name: factory_girl_rails
103
+ name: rspec-rails
98
104
  requirement: !ruby/object:Gem::Requirement
99
105
  requirements:
100
- - - "~>"
106
+ - - '='
101
107
  - !ruby/object:Gem::Version
102
- version: '4.5'
108
+ version: 3.5.0.beta4
103
109
  type: :development
104
110
  prerelease: false
105
111
  version_requirements: !ruby/object:Gem::Requirement
106
112
  requirements:
107
- - - "~>"
113
+ - - '='
108
114
  - !ruby/object:Gem::Version
109
- version: '4.5'
115
+ version: 3.5.0.beta4
110
116
  - !ruby/object:Gem::Dependency
111
- name: jasmine
117
+ name: sqlite3
112
118
  requirement: !ruby/object:Gem::Requirement
113
119
  requirements:
114
120
  - - "~>"
115
121
  - !ruby/object:Gem::Version
116
- version: '2.2'
122
+ version: '1.3'
117
123
  type: :development
118
124
  prerelease: false
119
125
  version_requirements: !ruby/object:Gem::Requirement
120
126
  requirements:
121
127
  - - "~>"
122
128
  - !ruby/object:Gem::Version
123
- version: '2.2'
129
+ version: '1.3'
124
130
  description: Paul Revere provides a model and helper methods to do one-off style announcements.
125
131
  email: support@thoughtbot.com
126
132
  executables: []
@@ -143,9 +149,9 @@ files:
143
149
  - app/views/announcements/_email_announcement.erb
144
150
  - app/views/announcements/_private_announcement.html.erb
145
151
  - app/views/announcements/_public_announcement.html.erb
146
- - gemfiles/rails_4.0.0.gemfile
147
- - gemfiles/rails_4.1.0.gemfile
148
- - gemfiles/rails_4.2.0.gemfile
152
+ - gemfiles/rails_4.1.gemfile
153
+ - gemfiles/rails_4.2.gemfile
154
+ - gemfiles/rails_5.0.gemfile
149
155
  - lib/generators/paul_revere/paul_revere_generator.rb
150
156
  - lib/generators/paul_revere/templates/migration.rb
151
157
  - lib/paul_revere.rb
@@ -182,12 +188,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
182
188
  version: '0'
183
189
  required_rubygems_version: !ruby/object:Gem::Requirement
184
190
  requirements:
185
- - - ">="
191
+ - - ">"
186
192
  - !ruby/object:Gem::Version
187
- version: '0'
193
+ version: 1.3.1
188
194
  requirements: []
189
195
  rubyforge_project:
190
- rubygems_version: 2.4.5
196
+ rubygems_version: 2.6.3
191
197
  signing_key:
192
198
  specification_version: 4
193
199
  summary: Simple announcement plugin to include `one off` style announcements in Rails
@@ -209,3 +215,4 @@ test_files:
209
215
  - spec/views/announcements/_email_announcement.erb_spec.rb
210
216
  - spec/views/announcements/_private_announcement.html.erb_spec.rb
211
217
  - spec/views/announcements/_public_announcement.html.erb_spec.rb
218
+ has_rdoc: