paul_revere 1.3 → 1.4

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: e0ab658fb765586c440e09c6d2d77eb6fc79e4ae
4
- data.tar.gz: e63e7621bd2fde8575a80a0db3c88f604b72d491
3
+ metadata.gz: 355afacefa6cf9309f77b784430797fa11dcf8d3
4
+ data.tar.gz: 0b6bf869f4f2004f70dea0e5a708ae2f5878848f
5
5
  SHA512:
6
- metadata.gz: 7bfb60ac4a86dc3d538770e0319fb338eb937337198b57391f3a262568cf74a080c8d60acc0b4c3c9f594f53ea02c78b4545df2217ca0d4c4d2f92981b83832b
7
- data.tar.gz: 8bd4721f70e180cf48c24e2ff49ba8c4bb8707299d0d9c5a457e4ca0c92583201643af0367bbc5ea35ad51e4e478238c58634a11ee37da2a896ffc658017f26f
6
+ metadata.gz: 6801cbf8cecdb895ff0364d6bd82eb9a97a4c3dec237f4c6eaf8a102768c67e7f3dac968933a42c3480bceba8d757ab2aafc895f40349cff0647dff065852119
7
+ data.tar.gz: 71100c4a13c779ad10c0a6bffdf022a12ed6d7be502483f26857077cd7b6de1ea289f4b03d3c5ac168f1af9fe09292d17c17d4921449e394236608f506a09ef7
@@ -1,11 +1,12 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.3
4
3
  - 2.0.0
5
4
  - 2.1.5
5
+ - 2.2.0
6
6
  gemfile:
7
- - gemfiles/rails_4.1.gemfile
8
- - gemfiles/rails_4.0.gemfile
9
- - gemfiles/rails_3.2.gemfile
10
- - gemfiles/rails_3.1.gemfile
11
- - gemfiles/rails_3.0.gemfile
7
+ - gemfiles/rails_4.2.0.gemfile
8
+ - gemfiles/rails_4.1.0.gemfile
9
+ - gemfiles/rails_4.0.0.gemfile
10
+ notifications:
11
+ email: false
12
+ sudo: false
data/Appraisals CHANGED
@@ -1,4 +1,4 @@
1
- ['4.1', '4.0', '3.2', '3.1', '3.0'].each do |rails_version|
1
+ ['4.2.0', '4.1.0', '4.0.0'].each do |rails_version|
2
2
  appraise "rails_#{rails_version}" do
3
3
  gem "rails", "~> #{rails_version}"
4
4
  end
@@ -1,80 +1,101 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- paul_revere (1.3)
5
- rails (>= 3.0)
4
+ paul_revere (1.4)
5
+ rails (~> 4.0)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
- actionmailer (4.1.8)
11
- actionpack (= 4.1.8)
12
- actionview (= 4.1.8)
10
+ actionmailer (4.2.0)
11
+ actionpack (= 4.2.0)
12
+ actionview (= 4.2.0)
13
+ activejob (= 4.2.0)
13
14
  mail (~> 2.5, >= 2.5.4)
14
- actionpack (4.1.8)
15
- actionview (= 4.1.8)
16
- activesupport (= 4.1.8)
17
- rack (~> 1.5.2)
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)
18
20
  rack-test (~> 0.6.2)
19
- actionview (4.1.8)
20
- activesupport (= 4.1.8)
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)
21
25
  builder (~> 3.1)
22
26
  erubis (~> 2.7.0)
23
- activemodel (4.1.8)
24
- activesupport (= 4.1.8)
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)
31
+ globalid (>= 0.3.0)
32
+ activemodel (4.2.0)
33
+ activesupport (= 4.2.0)
25
34
  builder (~> 3.1)
26
- activerecord (4.1.8)
27
- activemodel (= 4.1.8)
28
- activesupport (= 4.1.8)
29
- arel (~> 5.0.0)
30
- activesupport (4.1.8)
31
- i18n (~> 0.6, >= 0.6.9)
35
+ activerecord (4.2.0)
36
+ activemodel (= 4.2.0)
37
+ activesupport (= 4.2.0)
38
+ arel (~> 6.0)
39
+ activesupport (4.2.0)
40
+ i18n (~> 0.7)
32
41
  json (~> 1.7, >= 1.7.7)
33
42
  minitest (~> 5.1)
34
- thread_safe (~> 0.1)
43
+ thread_safe (~> 0.3, >= 0.3.4)
35
44
  tzinfo (~> 1.1)
36
45
  appraisal (1.0.2)
37
46
  bundler
38
47
  rake
39
48
  thor (>= 0.14.0)
40
- arel (5.0.1.20140414130214)
49
+ arel (6.0.0)
41
50
  builder (3.2.2)
42
51
  diff-lcs (1.2.5)
43
52
  erubis (2.7.0)
44
53
  generator_spec (0.9.3)
45
54
  activesupport (>= 3.0.0)
46
55
  railties (>= 3.0.0)
56
+ globalid (0.3.3)
57
+ activesupport (>= 4.1.0)
47
58
  hike (1.2.3)
48
- i18n (0.6.11)
49
- json (1.8.1)
59
+ i18n (0.7.0)
60
+ json (1.8.2)
61
+ loofah (2.0.1)
62
+ nokogiri (>= 1.5.9)
50
63
  mail (2.6.3)
51
64
  mime-types (>= 1.16, < 3)
52
65
  mime-types (2.4.3)
53
- minitest (5.5.0)
66
+ mini_portile (0.6.2)
67
+ minitest (5.5.1)
54
68
  multi_json (1.10.1)
55
- rack (1.5.2)
56
- rack-test (0.6.2)
69
+ nokogiri (1.6.6.2)
70
+ mini_portile (~> 0.6.0)
71
+ rack (1.6.0)
72
+ rack-test (0.6.3)
57
73
  rack (>= 1.0)
58
- rails (4.1.8)
59
- actionmailer (= 4.1.8)
60
- actionpack (= 4.1.8)
61
- actionview (= 4.1.8)
62
- activemodel (= 4.1.8)
63
- activerecord (= 4.1.8)
64
- activesupport (= 4.1.8)
74
+ rails (4.2.0)
75
+ actionmailer (= 4.2.0)
76
+ actionpack (= 4.2.0)
77
+ actionview (= 4.2.0)
78
+ activejob (= 4.2.0)
79
+ activemodel (= 4.2.0)
80
+ activerecord (= 4.2.0)
81
+ activesupport (= 4.2.0)
65
82
  bundler (>= 1.3.0, < 2.0)
66
- railties (= 4.1.8)
67
- sprockets-rails (~> 2.0)
68
- railties (4.1.8)
69
- actionpack (= 4.1.8)
70
- activesupport (= 4.1.8)
83
+ railties (= 4.2.0)
84
+ sprockets-rails
85
+ rails-deprecated_sanitizer (1.0.3)
86
+ activesupport (>= 4.2.0.alpha)
87
+ rails-dom-testing (1.0.5)
88
+ activesupport (>= 4.2.0.beta, < 5.0)
89
+ nokogiri (~> 1.6.0)
90
+ rails-deprecated_sanitizer (>= 1.0.1)
91
+ rails-html-sanitizer (1.0.1)
92
+ loofah (~> 2.0)
93
+ railties (4.2.0)
94
+ actionpack (= 4.2.0)
95
+ activesupport (= 4.2.0)
71
96
  rake (>= 0.8.7)
72
97
  thor (>= 0.18.1, < 2.0)
73
98
  rake (10.4.2)
74
- rspec (3.1.0)
75
- rspec-core (~> 3.1.0)
76
- rspec-expectations (~> 3.1.0)
77
- rspec-mocks (~> 3.1.0)
78
99
  rspec-core (3.1.7)
79
100
  rspec-support (~> 3.1.0)
80
101
  rspec-expectations (3.1.2)
@@ -96,7 +117,7 @@ GEM
96
117
  multi_json (~> 1.0)
97
118
  rack (~> 1.0)
98
119
  tilt (~> 1.1, != 1.3.0)
99
- sprockets-rails (2.2.2)
120
+ sprockets-rails (2.2.4)
100
121
  actionpack (>= 3.0)
101
122
  activesupport (>= 3.0)
102
123
  sprockets (>= 2.8, < 4.0)
@@ -111,9 +132,8 @@ PLATFORMS
111
132
  ruby
112
133
 
113
134
  DEPENDENCIES
114
- appraisal
115
- generator_spec
135
+ appraisal (~> 1.0)
136
+ generator_spec (~> 0.9)
116
137
  paul_revere!
117
- rspec
118
- rspec-rails
119
- sqlite3
138
+ rspec-rails (~> 3.1)
139
+ sqlite3 (~> 1.3)
data/NEWS.md CHANGED
@@ -1,3 +1,11 @@
1
+ New in 1.4:
2
+
3
+ * Reference the MIT license from the gemspec
4
+ * Update migration to avoid Rails deprecation warning about timestamps `null :false`
5
+ * Drop support for ruby 1.9.3
6
+ * Remove deprecated Rails method `link_to_function`
7
+ * Use ISO 8601 format when creating the Announcement cookie name
8
+
1
9
  New in 1.3:
2
10
 
3
11
  * Fix for ActiveRecord migration/generator error on Rails 4+.
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  Paul Revere
2
2
  ===========
3
3
 
4
- [![Build Status](https://secure.travis-ci.org/thoughtbot/paul_revere.png?branch=master)](http://travis-ci.org/thoughtbot/paul_revere)
4
+ [![Build Status](https://travis-ci.org/thoughtbot/paul_revere.svg?branch=master)](https://travis-ci.org/thoughtbot/paul_revere)
5
5
 
6
6
  Simple announcement plugin to include "one off" style announcements in Rails web apps.
7
7
 
@@ -1,8 +1,4 @@
1
1
  class Announcement < ActiveRecord::Base
2
- if Rails::VERSION::MAJOR < 4
3
- attr_accessible(:body)
4
- end
5
-
6
2
  def self.current
7
3
  order('created_at desc').first || new
8
4
  end
@@ -2,7 +2,7 @@
2
2
  <div id="announcement">
3
3
  <span><%= current_announcement.body.html_safe %></span>
4
4
  <span class="hide">
5
- <%= link_to_function "hide", "hideAnnouncement('announcement_#{current_announcement.created_at}')" %>
5
+ <%= link_to "hide", "#", onclick: "hideAnnouncement('announcement_#{current_announcement.created_at.iso8601}')" %>
6
6
  </span>
7
7
  </div>
8
8
  <% end %>
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "http://rubygems.org"
4
4
 
5
- gem "rails", "~> 3.0"
5
+ gem "rails", "~> 4.0.0"
6
6
 
7
7
  gemspec :path => "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "http://rubygems.org"
4
4
 
5
- gem "rails", "~> 3.1"
5
+ gem "rails", "~> 4.1.0"
6
6
 
7
7
  gemspec :path => "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "http://rubygems.org"
4
4
 
5
- gem "rails", "~> 3.2"
5
+ gem "rails", "~> 4.2.0"
6
6
 
7
7
  gemspec :path => "../"
@@ -22,7 +22,7 @@ class PaulRevereGenerator < Rails::Generators::Base
22
22
  end
23
23
 
24
24
  def needs_js_copied?
25
- ::Rails.version < '3.1' || !::Rails.application.config.assets.enabled
25
+ !::Rails.application.config.assets.enabled
26
26
  end
27
27
 
28
28
  def js_destination
@@ -2,7 +2,7 @@ class CreateAnnouncements < ActiveRecord::Migration
2
2
  def self.up
3
3
  create_table :announcements do |t|
4
4
  t.text :body
5
- t.timestamps
5
+ t.timestamps :null => false
6
6
  end
7
7
  end
8
8
 
@@ -1,3 +1,3 @@
1
1
  module PaulRevere
2
- VERSION = '1.3'.freeze
2
+ VERSION = '1.4'.freeze
3
3
  end
@@ -4,6 +4,7 @@ require 'paul_revere/version'
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'paul_revere'
6
6
  s.version = PaulRevere::VERSION.dup
7
+ s.licenses = ['MIT']
7
8
  s.platform = Gem::Platform::RUBY
8
9
  s.authors = ['Nick Quaranto', 'Matt Jankowski', 'Joe Ferris', 'Christopher Meiklejohn', 'Tammer Saleh', 'Jason Morrison', 'Gabe Berke-Williams']
9
10
  s.email = 'support@thoughtbot.com'
@@ -16,11 +17,10 @@ Gem::Specification.new do |s|
16
17
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
18
  s.require_paths = ['lib']
18
19
 
19
- s.add_dependency('rails', '>= 3.0')
20
+ s.add_dependency('rails', '~> 4.0')
20
21
 
21
- s.add_development_dependency('rspec')
22
- s.add_development_dependency('rspec-rails')
23
- s.add_development_dependency('sqlite3')
24
- s.add_development_dependency('appraisal')
25
- s.add_development_dependency('generator_spec')
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')
25
+ s.add_development_dependency('generator_spec', '~> 0.9')
26
26
  end
@@ -1,23 +1,13 @@
1
1
  # Create a rails app
2
2
  module PaulRevere
3
3
  class Application < Rails::Application
4
- config.secret_key_base = 'test'
4
+ config.secret_key_base = "test"
5
+ config.paths["config/database"] = ["spec/support/database.yml"]
6
+ config.eager_load = false
5
7
  end
6
8
  end
9
+ PaulRevere::Application.initialize!
7
10
 
8
11
  # Run migrations
9
- project_root = File.expand_path(File.join(File.dirname(__FILE__), '..'))
10
- require File.join project_root, 'lib', 'generators', 'paul_revere', 'templates', 'migration'
11
-
12
- ActiveRecord::Base.establish_connection(
13
- :adapter => "sqlite3",
14
- :database => ":memory:"
15
- )
16
-
17
- if Rails::VERSION::MAJOR < 4
18
- ActiveSupport.on_load(:active_record) do
19
- attr_accessible(nil)
20
- end
21
- end
22
-
12
+ require_relative "../lib/generators/paul_revere/templates/migration"
23
13
  CreateAnnouncements.suppress_messages { CreateAnnouncements.up }
@@ -1,8 +1,5 @@
1
1
  require 'rails_helper'
2
2
 
3
- require File.join(File.dirname(__FILE__), '..', '..', 'app', 'helpers', 'announcements_helper')
4
- require File.join(File.dirname(__FILE__), '..', '..', 'app', 'models', 'announcement')
5
-
6
3
  describe AnnouncementsHelper do
7
4
 
8
5
  it "should return the current announcement when sent current_announcement and cache doesn't exist" do
@@ -22,15 +22,6 @@ describe PaulRevereGenerator, type: :generator do
22
22
  end
23
23
  end
24
24
  end
25
- if ::Rails.version < '3.1'
26
- directory "public" do
27
- directory "javascripts" do
28
- file "announcements.js" do
29
- contains "hideAnnouncement"
30
- end
31
- end
32
- end
33
- end
34
25
  }
35
26
  end
36
27
 
@@ -1,7 +1,5 @@
1
1
  require 'rails_helper'
2
2
 
3
- require File.join(File.dirname(__FILE__), '..', '..', 'app', 'models', 'announcement')
4
-
5
3
  describe Announcement do
6
4
  it "should return the latest announcement when there are several" do
7
5
  old = create_announcement(:body => 'no fun', :created_at => 2.days.ago)
@@ -12,6 +12,7 @@ require "fake_app"
12
12
  Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
13
13
 
14
14
  RSpec.configure do |config|
15
+ config.include Rails.application.routes.url_helpers
15
16
  config.infer_spec_type_from_file_location!
16
17
  config.before(:each) do
17
18
  Announcement.delete_all
@@ -0,0 +1,3 @@
1
+ test:
2
+ adapter: sqlite3
3
+ database: ":memory:"
@@ -0,0 +1,29 @@
1
+ require "rails_helper"
2
+
3
+ class User; end
4
+
5
+ module ApplicationHelper
6
+ def current_user
7
+ raise
8
+ end
9
+ end
10
+
11
+ describe "announcements/_announcement" do
12
+ before(:example) do
13
+ stub_template "announcements/_announcement_for_all.html.erb" => "Partial"
14
+ end
15
+
16
+ it "renders the all partial when there is a user" do
17
+ allow(view).to receive(:current_user).and_return(User.new)
18
+ render
19
+
20
+ expect(rendered).to match /Partial/
21
+ end
22
+
23
+ it "does not render the all partial when there is not a user" do
24
+ allow(view).to receive(:current_user).and_return(nil)
25
+ render
26
+
27
+ expect(rendered).to eq "\n"
28
+ end
29
+ end
@@ -0,0 +1,26 @@
1
+ require "rails_helper"
2
+
3
+ describe "announcements/_announcement_for_all" do
4
+ it "renders nothing when announcement does not exist" do
5
+ expect(Announcement.count).to eq 0
6
+ render
7
+
8
+ expect(rendered).to eq ""
9
+ end
10
+
11
+ it "renders nothing when an Announcement exists but is hidden" do
12
+ Announcement.create!(body: "Test")
13
+ allow(view).to receive(:announcement_hidden?).and_return(true)
14
+ render
15
+
16
+ expect(rendered).to eq ""
17
+ end
18
+
19
+ it "renders the announcement when an Announcement exists and is not hidden" do
20
+ announcement = Announcement.create!(body: "Test")
21
+ render
22
+
23
+ expect(rendered).to match /Test/
24
+ expect(rendered).to match /announcement_#{announcement.created_at.iso8601}/
25
+ end
26
+ end
@@ -0,0 +1,10 @@
1
+ require "rails_helper"
2
+
3
+ describe "announcements/_email_announcement" do
4
+ it "renders without error" do
5
+ Announcement.create!(body: "Test")
6
+ render
7
+
8
+ expect(rendered).to match /Test/
9
+ end
10
+ 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: '1.3'
4
+ version: '1.4'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Quaranto
@@ -14,92 +14,78 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2014-12-17 00:00:00.000000000 Z
17
+ date: 2015-02-23 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: rails
21
21
  requirement: !ruby/object:Gem::Requirement
22
22
  requirements:
23
- - - ">="
23
+ - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '3.0'
25
+ version: '4.0'
26
26
  type: :runtime
27
27
  prerelease: false
28
28
  version_requirements: !ruby/object:Gem::Requirement
29
29
  requirements:
30
- - - ">="
30
+ - - "~>"
31
31
  - !ruby/object:Gem::Version
32
- version: '3.0'
33
- - !ruby/object:Gem::Dependency
34
- name: rspec
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- version: '0'
40
- type: :development
41
- prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: '0'
32
+ version: '4.0'
47
33
  - !ruby/object:Gem::Dependency
48
34
  name: rspec-rails
49
35
  requirement: !ruby/object:Gem::Requirement
50
36
  requirements:
51
- - - ">="
37
+ - - "~>"
52
38
  - !ruby/object:Gem::Version
53
- version: '0'
39
+ version: '3.1'
54
40
  type: :development
55
41
  prerelease: false
56
42
  version_requirements: !ruby/object:Gem::Requirement
57
43
  requirements:
58
- - - ">="
44
+ - - "~>"
59
45
  - !ruby/object:Gem::Version
60
- version: '0'
46
+ version: '3.1'
61
47
  - !ruby/object:Gem::Dependency
62
48
  name: sqlite3
63
49
  requirement: !ruby/object:Gem::Requirement
64
50
  requirements:
65
- - - ">="
51
+ - - "~>"
66
52
  - !ruby/object:Gem::Version
67
- version: '0'
53
+ version: '1.3'
68
54
  type: :development
69
55
  prerelease: false
70
56
  version_requirements: !ruby/object:Gem::Requirement
71
57
  requirements:
72
- - - ">="
58
+ - - "~>"
73
59
  - !ruby/object:Gem::Version
74
- version: '0'
60
+ version: '1.3'
75
61
  - !ruby/object:Gem::Dependency
76
62
  name: appraisal
77
63
  requirement: !ruby/object:Gem::Requirement
78
64
  requirements:
79
- - - ">="
65
+ - - "~>"
80
66
  - !ruby/object:Gem::Version
81
- version: '0'
67
+ version: '1.0'
82
68
  type: :development
83
69
  prerelease: false
84
70
  version_requirements: !ruby/object:Gem::Requirement
85
71
  requirements:
86
- - - ">="
72
+ - - "~>"
87
73
  - !ruby/object:Gem::Version
88
- version: '0'
74
+ version: '1.0'
89
75
  - !ruby/object:Gem::Dependency
90
76
  name: generator_spec
91
77
  requirement: !ruby/object:Gem::Requirement
92
78
  requirements:
93
- - - ">="
79
+ - - "~>"
94
80
  - !ruby/object:Gem::Version
95
- version: '0'
81
+ version: '0.9'
96
82
  type: :development
97
83
  prerelease: false
98
84
  version_requirements: !ruby/object:Gem::Requirement
99
85
  requirements:
100
- - - ">="
86
+ - - "~>"
101
87
  - !ruby/object:Gem::Version
102
- version: '0'
88
+ version: '0.9'
103
89
  description: Paul Revere provides a model and helper methods to do one-off style announcements.
104
90
  email: support@thoughtbot.com
105
91
  executables: []
@@ -122,11 +108,9 @@ files:
122
108
  - app/views/announcements/_announcement.html.erb
123
109
  - app/views/announcements/_announcement_for_all.html.erb
124
110
  - app/views/announcements/_email_announcement.erb
125
- - gemfiles/rails_3.0.gemfile
126
- - gemfiles/rails_3.1.gemfile
127
- - gemfiles/rails_3.2.gemfile
128
- - gemfiles/rails_4.0.gemfile
129
- - gemfiles/rails_4.1.gemfile
111
+ - gemfiles/rails_4.0.0.gemfile
112
+ - gemfiles/rails_4.1.0.gemfile
113
+ - gemfiles/rails_4.2.0.gemfile
130
114
  - lib/generators/paul_revere/USAGE
131
115
  - lib/generators/paul_revere/paul_revere_generator.rb
132
116
  - lib/generators/paul_revere/templates/migration.rb
@@ -141,8 +125,13 @@ files:
141
125
  - spec/paul_revere_spec.rb
142
126
  - spec/rails_helper.rb
143
127
  - spec/spec_helper.rb
128
+ - spec/support/database.yml
129
+ - spec/views/announcements/_announcement.html.erb_spec.rb
130
+ - spec/views/announcements/_announcement_for_all.html.erb_spec.rb
131
+ - spec/views/announcements/_email_announcement.erb_spec.rb
144
132
  homepage: https://github.com/thoughtbot/paul_revere
145
- licenses: []
133
+ licenses:
134
+ - MIT
146
135
  metadata: {}
147
136
  post_install_message:
148
137
  rdoc_options: []
@@ -160,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
149
  version: '0'
161
150
  requirements: []
162
151
  rubyforge_project:
163
- rubygems_version: 2.2.2
152
+ rubygems_version: 2.4.5
164
153
  signing_key:
165
154
  specification_version: 4
166
155
  summary: Simple announcement plugin to include `one off` style announcements in Rails
@@ -173,3 +162,7 @@ test_files:
173
162
  - spec/paul_revere_spec.rb
174
163
  - spec/rails_helper.rb
175
164
  - spec/spec_helper.rb
165
+ - spec/support/database.yml
166
+ - spec/views/announcements/_announcement.html.erb_spec.rb
167
+ - spec/views/announcements/_announcement_for_all.html.erb_spec.rb
168
+ - spec/views/announcements/_email_announcement.erb_spec.rb
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "rails", "~> 4.0"
6
-
7
- gemspec :path => "../"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "rails", "~> 4.1"
6
-
7
- gemspec :path => "../"