paul_revere 1.1 → 1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ccb650bb3689c68f6f1664d8af2be56c690fc230
4
+ data.tar.gz: 0d7fe08285e3de68a69787e5e46f98879674d89d
5
+ SHA512:
6
+ metadata.gz: 242aad6b462a814c978466c9edc9db8eb255585582a6c3478c56f1de9185e57bb0a7b63ee0f2cde8fbec113ad7217f821e4777c90408c83e93e1e93aade5ce04
7
+ data.tar.gz: d27bcb46ce6909c673672815fda559bd009f8e4f88d6fb1ee22da2131c6cd4cd95c52311bce2f4b2013e554e69c37e31eb005d619e7b632f9cbe3e517ff26740
data/.travis.yml CHANGED
@@ -1,8 +1,9 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.2
4
3
  - 1.9.3
4
+ - 2.0.0
5
5
  gemfile:
6
- - gemfiles/3.0.12.gemfile
7
- - gemfiles/3.1.4.gemfile
8
- - gemfiles/3.2.3.gemfile
6
+ - gemfiles/rails_4.0.0.gemfile
7
+ - gemfiles/rails_3.2.14.gemfile
8
+ - gemfiles/rails_3.1.12.gemfile
9
+ - gemfiles/rails_3.0.20.gemfile
data/Appraisals CHANGED
@@ -1,5 +1,5 @@
1
- ['3.2.6', '3.1.6', '3.0.15'].each do |rails_version|
2
- appraise "rails-#{rails_version}" do
1
+ ['4.0.0', '3.2.14', '3.1.12', '3.0.20'].each do |rails_version|
2
+ appraise "rails_#{rails_version}" do
3
3
  gem "rails", rails_version
4
4
  end
5
5
  end
data/Gemfile.lock CHANGED
@@ -1,109 +1,106 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- paul_revere (1.1)
5
- rails (~> 3.0)
4
+ paul_revere (1.2)
5
+ rails (>= 3.0)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
- actionmailer (3.1.0)
11
- actionpack (= 3.1.0)
12
- mail (~> 2.3.0)
13
- actionpack (3.1.0)
14
- activemodel (= 3.1.0)
15
- activesupport (= 3.1.0)
16
- builder (~> 3.0.0)
10
+ actionmailer (4.0.0)
11
+ actionpack (= 4.0.0)
12
+ mail (~> 2.5.3)
13
+ actionpack (4.0.0)
14
+ activesupport (= 4.0.0)
15
+ builder (~> 3.1.0)
17
16
  erubis (~> 2.7.0)
18
- i18n (~> 0.6)
19
- rack (~> 1.3.2)
20
- rack-cache (~> 1.0.3)
21
- rack-mount (~> 0.8.2)
22
- rack-test (~> 0.6.1)
23
- sprockets (~> 2.0.0)
24
- activemodel (3.1.0)
25
- activesupport (= 3.1.0)
26
- bcrypt-ruby (~> 3.0.0)
27
- builder (~> 3.0.0)
28
- i18n (~> 0.6)
29
- activerecord (3.1.0)
30
- activemodel (= 3.1.0)
31
- activesupport (= 3.1.0)
32
- arel (~> 2.2.1)
33
- tzinfo (~> 0.3.29)
34
- activeresource (3.1.0)
35
- activemodel (= 3.1.0)
36
- activesupport (= 3.1.0)
37
- activesupport (3.1.0)
38
- multi_json (~> 1.0)
39
- appraisal (0.3.8)
17
+ rack (~> 1.5.2)
18
+ rack-test (~> 0.6.2)
19
+ activemodel (4.0.0)
20
+ activesupport (= 4.0.0)
21
+ builder (~> 3.1.0)
22
+ activerecord (4.0.0)
23
+ activemodel (= 4.0.0)
24
+ activerecord-deprecated_finders (~> 1.0.2)
25
+ activesupport (= 4.0.0)
26
+ arel (~> 4.0.0)
27
+ activerecord-deprecated_finders (1.0.3)
28
+ activesupport (4.0.0)
29
+ i18n (~> 0.6, >= 0.6.4)
30
+ minitest (~> 4.2)
31
+ multi_json (~> 1.3)
32
+ thread_safe (~> 0.1)
33
+ tzinfo (~> 0.3.37)
34
+ appraisal (0.5.2)
40
35
  bundler
41
36
  rake
42
- arel (2.2.3)
43
- bcrypt-ruby (3.0.0)
44
- builder (3.0.0)
45
- diff-lcs (1.1.3)
37
+ arel (4.0.0)
38
+ atomic (1.1.10)
39
+ builder (3.1.4)
40
+ diff-lcs (1.2.4)
46
41
  erubis (2.7.0)
47
- hike (1.2.1)
48
- i18n (0.6.0)
49
- mail (2.3.3)
50
- i18n (>= 0.4.0)
42
+ hike (1.2.3)
43
+ i18n (0.6.4)
44
+ mail (2.5.4)
51
45
  mime-types (~> 1.16)
52
46
  treetop (~> 1.4.8)
53
- mime-types (1.19)
54
- mocha (0.9.12)
55
- multi_json (1.0.3)
47
+ metaclass (0.0.1)
48
+ mime-types (1.23)
49
+ minitest (4.7.5)
50
+ mocha (0.14.0)
51
+ metaclass (~> 0.0.1)
52
+ multi_json (1.7.7)
56
53
  polyglot (0.3.3)
57
- rack (1.3.2)
58
- rack-cache (1.0.3)
59
- rack (>= 0.4)
60
- rack-mount (0.8.3)
61
- rack (>= 1.0.0)
62
- rack-ssl (1.3.2)
63
- rack
64
- rack-test (0.6.1)
54
+ rack (1.5.2)
55
+ rack-test (0.6.2)
65
56
  rack (>= 1.0)
66
- rails (3.1.0)
67
- actionmailer (= 3.1.0)
68
- actionpack (= 3.1.0)
69
- activerecord (= 3.1.0)
70
- activeresource (= 3.1.0)
71
- activesupport (= 3.1.0)
72
- bundler (~> 1.0)
73
- railties (= 3.1.0)
74
- railties (3.1.0)
75
- actionpack (= 3.1.0)
76
- activesupport (= 3.1.0)
77
- rack-ssl (~> 1.3.2)
57
+ rails (4.0.0)
58
+ actionmailer (= 4.0.0)
59
+ actionpack (= 4.0.0)
60
+ activerecord (= 4.0.0)
61
+ activesupport (= 4.0.0)
62
+ bundler (>= 1.3.0, < 2.0)
63
+ railties (= 4.0.0)
64
+ sprockets-rails (~> 2.0.0)
65
+ railties (4.0.0)
66
+ actionpack (= 4.0.0)
67
+ activesupport (= 4.0.0)
78
68
  rake (>= 0.8.7)
79
- rdoc (~> 3.4)
80
- thor (~> 0.14.6)
81
- rake (0.9.2)
82
- rdoc (3.9.4)
83
- rspec (2.6.0)
84
- rspec-core (~> 2.6.0)
85
- rspec-expectations (~> 2.6.0)
86
- rspec-mocks (~> 2.6.0)
87
- rspec-core (2.6.4)
88
- rspec-expectations (2.6.0)
89
- diff-lcs (~> 1.1.2)
90
- rspec-mocks (2.6.0)
91
- rspec-rails (2.6.1)
92
- actionpack (~> 3.0)
93
- activesupport (~> 3.0)
94
- railties (~> 3.0)
95
- rspec (~> 2.6.0)
96
- sprockets (2.0.0)
69
+ thor (>= 0.18.1, < 2.0)
70
+ rake (10.1.0)
71
+ rspec (2.14.1)
72
+ rspec-core (~> 2.14.0)
73
+ rspec-expectations (~> 2.14.0)
74
+ rspec-mocks (~> 2.14.0)
75
+ rspec-core (2.14.4)
76
+ rspec-expectations (2.14.0)
77
+ diff-lcs (>= 1.1.3, < 2.0)
78
+ rspec-mocks (2.14.2)
79
+ rspec-rails (2.14.0)
80
+ actionpack (>= 3.0)
81
+ activesupport (>= 3.0)
82
+ railties (>= 3.0)
83
+ rspec-core (~> 2.14.0)
84
+ rspec-expectations (~> 2.14.0)
85
+ rspec-mocks (~> 2.14.0)
86
+ sprockets (2.10.0)
97
87
  hike (~> 1.2)
88
+ multi_json (~> 1.0)
98
89
  rack (~> 1.0)
99
90
  tilt (~> 1.1, != 1.3.0)
100
- sqlite3 (1.3.4)
101
- thor (0.14.6)
102
- tilt (1.3.3)
103
- treetop (1.4.10)
91
+ sprockets-rails (2.0.0)
92
+ actionpack (>= 3.0)
93
+ activesupport (>= 3.0)
94
+ sprockets (~> 2.8)
95
+ sqlite3 (1.3.7)
96
+ thor (0.18.1)
97
+ thread_safe (0.1.2)
98
+ atomic
99
+ tilt (1.4.1)
100
+ treetop (1.4.14)
104
101
  polyglot
105
102
  polyglot (>= 0.3.1)
106
- tzinfo (0.3.33)
103
+ tzinfo (0.3.37)
107
104
 
108
105
  PLATFORMS
109
106
  ruby
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009 thoughtbot, inc
1
+ Copyright (c) 2009-2013 thoughtbot, inc
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -3,9 +3,11 @@ Paul Revere
3
3
 
4
4
  [![Build Status](https://secure.travis-ci.org/thoughtbot/paul_revere.png?branch=master)](http://travis-ci.org/thoughtbot/paul_revere)
5
5
 
6
-
7
6
  Simple announcement plugin to include "one off" style announcements in Rails web apps.
8
7
 
8
+ [![Paul Revere's
9
+ Ride](http://f.cl.ly/items/2u260D0Y2j2T3O3o4017/Screen%20Shot%202013-01-23%20at%2010.46.06%20AM.png)](http://poetry.eserver.org/paul-revere.html)
10
+
9
11
  Install with the asset pipeline (Rails 3.1+, asset pipeline enabled)
10
12
  --------------------------------------------------------------------
11
13
 
@@ -60,80 +62,11 @@ So the flow would be...
60
62
  * Install the gem
61
63
  * Use those partials in the correct places in your view code and mailer view code where you want announcements to show up:
62
64
 
63
- <%= render 'announcements/announcement_for_all' %>
65
+ <%= render 'announcements/announcement_for_all' %>
64
66
 
65
67
  * When you want to make an announcement, use the Rails console to create a new `Announcement` record:
66
68
 
67
- Announcement.create!(body: 'This Web site is shutting down because you refuse to pay')
68
-
69
- Beastie Boys Lyrics
70
- -------------------
71
-
72
- Now here's a little story I've got to tell
73
- About three bad brothers you know so well
74
- It started way back in history
75
- With Adrock, M.C.A., and me - Mike D.
76
- Been had a little horsy named Paul Revere
77
- Just me and my horsy and a quart of beer
78
- Riding across the land, kicking up sand
79
- Sheriff's posse on my tail cause I'm in demand
80
- One lonely Beastie I be
81
- All by myself without nobody
82
- The sun is beating down on my baseball hat
83
- The air is gettin' hot the beer is getting flat
84
- Lookin' for a girl I ran into a guy
85
- His name is M.C.A., I said, "Howdy" he said, "Hi"
86
-
87
- He told a little story that sounded well rehearsed
88
- Four days on the run and that he's dying of thirst
89
- The brew was in my hand and he was on my tip
90
- His voice was hoarse, his throat was dry he asked me for a sip
91
- He said, "Can I get some?"
92
- I said, "You can't get none!"
93
- Had a chance to run
94
- He pulled out his shotgun
95
- He was quick on the draw I thought I'd be dead
96
- He put the gun to my head and this is what he said,
97
-
98
- "Now my name is M.C.A. I've got a license to kill
99
- I think you know what time it is it's time to get ill
100
- Now what do we have here an outlaw and his beer
101
- I run this land, you understand I make myself clear."
102
- We stepped into the wind he had a gun, I had a grin
103
- You think this story's over but it's ready to begin
104
-
105
- "Now I got the gun you got the brew
106
- You got two choices of what you can do
107
- It's not a tough decision as you can see
108
- I can blow you away or you can ride with me"
109
- I said, I'll ride with you if you can get me to the border
110
- The sheriff's after me for what I did to his daughter
111
- I did it like this, I did it like that
112
- I did it with a whiffleball bat
113
- So I'm on the run the cop's got my gun
114
- And right about now it's time to have some fun
115
- The King Adrock that is my name
116
- And I know the fly spot where they got the champagne."
117
- We rode for six hours then we hit the spot
118
- The beat was a bumping and the girlies was hot
119
- This dude was staring like he knows who we are
120
- We took the empty spot next to him at the bar
121
- M.C.A. said, "Yo, you know this kid?"
122
- I said, "I didn't." but I know he did
123
- The kid said, "Get ready cause this ain't funny
124
- My name's Mike D. and I'm about to get money."
125
- Pulled out the jammy aimed it at the sky
126
- He yelled, "Stick 'em up!" and let two fly
127
- Hands went up and people hit the floor
128
- He wasted two kids that ran for the door
129
- "I'm Mike D. and I get respect
130
- Your cash and your jewelry is what I expect"
131
- M.C.A. was with it and he's my ace
132
- So I grabbed the piano player and I punched him in the face
133
- The piano player's out the music stopped
134
- His boy had beef and he got dropped
135
- Mike D. grabbed the money M.C.A. snatched the gold
136
- I grabbed two girlies and a beer that's cold.
69
+ Announcement.create!(body: 'This Web site is shutting down because you refuse to pay')
137
70
 
138
71
  Credits
139
72
  -------
@@ -149,4 +82,4 @@ The names and logos for thoughtbot are trademarks of thoughtbot, inc.
149
82
  License
150
83
  -------
151
84
 
152
- Paul Revere is Copyright © 2009-2011 thoughtbot. It is free software, and may be redistributed under the terms specified in the MIT-LICENSE file.
85
+ Paul Revere is Copyright © 2009-2013 thoughtbot. It is free software, and may be redistributed under the terms specified in the MIT-LICENSE file.
@@ -1,8 +1,10 @@
1
1
  class Announcement < ActiveRecord::Base
2
- attr_accessible :body
2
+ if Rails::VERSION::MAJOR < 4
3
+ attr_accessible(:body)
4
+ end
3
5
 
4
6
  def self.current
5
- first(:order => 'created_at DESC') || new
7
+ order('created_at desc').first || new
6
8
  end
7
9
 
8
10
  def exists?
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "http://rubygems.org"
4
4
 
5
- gem "rails", "3.0.15"
5
+ gem "rails", "3.0.20"
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.6"
5
+ gem "rails", "3.1.12"
6
6
 
7
7
  gemspec :path=>"../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "rails", "3.2.14"
6
+
7
+ gemspec :path=>"../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "http://rubygems.org"
4
4
 
5
- gem "rails", "3.1.6"
5
+ gem "rails", "4.0.0"
6
6
 
7
7
  gemspec :path=>"../"
@@ -1,3 +1,3 @@
1
1
  module PaulRevere
2
- VERSION = '1.1'.freeze
2
+ VERSION = '1.2'.freeze
3
3
  end
data/paul_revere.gemspec CHANGED
@@ -1,26 +1,26 @@
1
- $:.push File.expand_path("../lib", __FILE__)
2
- require "paul_revere/version"
1
+ $:.push File.expand_path('../lib', __FILE__)
2
+ require 'paul_revere/version'
3
3
 
4
4
  Gem::Specification.new do |s|
5
- s.name = "paul_revere"
5
+ s.name = 'paul_revere'
6
6
  s.version = PaulRevere::VERSION.dup
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ['Nick Quaranto', 'Matt Jankowski', 'Joe Ferris', 'Christopher Meiklejohn', 'Tammer Saleh', 'Jason Morrison', 'Gabe Berke-Williams']
9
- s.email = "support@thoughtbot.com"
10
- s.homepage = "https://github.com/thoughtbot/paul_revere"
11
- s.summary = "Simple announcement plugin to include 'one off' style announcements in Rails web apps."
12
- s.description = "Paul Revere provides a model and helper methods to do one-off style announcements."
9
+ s.email = 'support@thoughtbot.com'
10
+ s.homepage = 'https://github.com/thoughtbot/paul_revere'
11
+ s.summary = 'Simple announcement plugin to include `one off` style announcements in Rails web apps.'
12
+ s.description = 'Paul Revere provides a model and helper methods to do one-off style announcements.'
13
13
 
14
14
  s.files = `git ls-files`.split("\n")
15
15
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
16
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
- s.require_paths = ["lib"]
17
+ s.require_paths = ['lib']
18
18
 
19
- s.add_dependency("rails", "~> 3.0")
19
+ s.add_dependency('rails', '>= 3.0')
20
20
 
21
- s.add_development_dependency("rspec")
22
- s.add_development_dependency("rspec-rails")
23
- s.add_development_dependency("sqlite3")
24
- s.add_development_dependency("mocha")
25
- s.add_development_dependency("appraisal")
21
+ s.add_development_dependency('rspec')
22
+ s.add_development_dependency('rspec-rails')
23
+ s.add_development_dependency('sqlite3')
24
+ s.add_development_dependency('mocha')
25
+ s.add_development_dependency('appraisal')
26
26
  end
data/spec/fake_app.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  # Create a rails app
2
2
  module PaulRevere
3
3
  class Application < Rails::Application
4
+ config.secret_key_base = 'test'
4
5
  end
5
6
  end
6
7
 
@@ -13,8 +14,10 @@ ActiveRecord::Base.establish_connection(
13
14
  :database => ":memory:"
14
15
  )
15
16
 
16
- ActiveSupport.on_load(:active_record) do
17
- attr_accessible(nil)
17
+ if Rails::VERSION::MAJOR < 4
18
+ ActiveSupport.on_load(:active_record) do
19
+ attr_accessible(nil)
20
+ end
18
21
  end
19
22
 
20
23
  CreateAnnouncements.suppress_messages { CreateAnnouncements.up }
data/spec/spec_helper.rb CHANGED
@@ -6,6 +6,7 @@ require "rspec/rails"
6
6
 
7
7
  # Pull in the fake rails app
8
8
  require 'fake_app'
9
+ require 'mocha/setup'
9
10
 
10
11
  # Load support files
11
12
  Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
@@ -17,7 +18,7 @@ RSpec.configure do |config|
17
18
  config.include RSpec::Matchers
18
19
 
19
20
  # == Mock Framework
20
- config.mock_with :mocha
21
+ config.mock_framework = :mocha
21
22
 
22
23
  # Remove announcements before each example
23
24
  config.before(:each) do
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paul_revere
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.1'
5
- prerelease:
4
+ version: '1.2'
6
5
  platform: ruby
7
6
  authors:
8
7
  - Nick Quaranto
@@ -15,102 +14,90 @@ authors:
15
14
  autorequire:
16
15
  bindir: bin
17
16
  cert_chain: []
18
- date: 2012-09-13 00:00:00.000000000 Z
17
+ date: 2013-08-03 00:00:00.000000000 Z
19
18
  dependencies:
20
19
  - !ruby/object:Gem::Dependency
21
20
  name: rails
22
21
  requirement: !ruby/object:Gem::Requirement
23
- none: false
24
22
  requirements:
25
- - - ~>
23
+ - - '>='
26
24
  - !ruby/object:Gem::Version
27
25
  version: '3.0'
28
26
  type: :runtime
29
27
  prerelease: false
30
28
  version_requirements: !ruby/object:Gem::Requirement
31
- none: false
32
29
  requirements:
33
- - - ~>
30
+ - - '>='
34
31
  - !ruby/object:Gem::Version
35
32
  version: '3.0'
36
33
  - !ruby/object:Gem::Dependency
37
34
  name: rspec
38
35
  requirement: !ruby/object:Gem::Requirement
39
- none: false
40
36
  requirements:
41
- - - ! '>='
37
+ - - '>='
42
38
  - !ruby/object:Gem::Version
43
39
  version: '0'
44
40
  type: :development
45
41
  prerelease: false
46
42
  version_requirements: !ruby/object:Gem::Requirement
47
- none: false
48
43
  requirements:
49
- - - ! '>='
44
+ - - '>='
50
45
  - !ruby/object:Gem::Version
51
46
  version: '0'
52
47
  - !ruby/object:Gem::Dependency
53
48
  name: rspec-rails
54
49
  requirement: !ruby/object:Gem::Requirement
55
- none: false
56
50
  requirements:
57
- - - ! '>='
51
+ - - '>='
58
52
  - !ruby/object:Gem::Version
59
53
  version: '0'
60
54
  type: :development
61
55
  prerelease: false
62
56
  version_requirements: !ruby/object:Gem::Requirement
63
- none: false
64
57
  requirements:
65
- - - ! '>='
58
+ - - '>='
66
59
  - !ruby/object:Gem::Version
67
60
  version: '0'
68
61
  - !ruby/object:Gem::Dependency
69
62
  name: sqlite3
70
63
  requirement: !ruby/object:Gem::Requirement
71
- none: false
72
64
  requirements:
73
- - - ! '>='
65
+ - - '>='
74
66
  - !ruby/object:Gem::Version
75
67
  version: '0'
76
68
  type: :development
77
69
  prerelease: false
78
70
  version_requirements: !ruby/object:Gem::Requirement
79
- none: false
80
71
  requirements:
81
- - - ! '>='
72
+ - - '>='
82
73
  - !ruby/object:Gem::Version
83
74
  version: '0'
84
75
  - !ruby/object:Gem::Dependency
85
76
  name: mocha
86
77
  requirement: !ruby/object:Gem::Requirement
87
- none: false
88
78
  requirements:
89
- - - ! '>='
79
+ - - '>='
90
80
  - !ruby/object:Gem::Version
91
81
  version: '0'
92
82
  type: :development
93
83
  prerelease: false
94
84
  version_requirements: !ruby/object:Gem::Requirement
95
- none: false
96
85
  requirements:
97
- - - ! '>='
86
+ - - '>='
98
87
  - !ruby/object:Gem::Version
99
88
  version: '0'
100
89
  - !ruby/object:Gem::Dependency
101
90
  name: appraisal
102
91
  requirement: !ruby/object:Gem::Requirement
103
- none: false
104
92
  requirements:
105
- - - ! '>='
93
+ - - '>='
106
94
  - !ruby/object:Gem::Version
107
95
  version: '0'
108
96
  type: :development
109
97
  prerelease: false
110
98
  version_requirements: !ruby/object:Gem::Requirement
111
- none: false
112
99
  requirements:
113
- - - ! '>='
100
+ - - '>='
114
101
  - !ruby/object:Gem::Version
115
102
  version: '0'
116
103
  description: Paul Revere provides a model and helper methods to do one-off style announcements.
@@ -134,10 +121,10 @@ files:
134
121
  - app/views/announcements/_announcement.html.erb
135
122
  - app/views/announcements/_announcement_for_all.html.erb
136
123
  - app/views/announcements/_email_announcement.erb
137
- - gemfiles/rails-3.0.15.gemfile
138
- - gemfiles/rails-3.1.6.gemfile
139
- - gemfiles/rails-3.2.6.gemfile
140
- - init.rb
124
+ - gemfiles/rails_3.0.20.gemfile
125
+ - gemfiles/rails_3.1.12.gemfile
126
+ - gemfiles/rails_3.2.14.gemfile
127
+ - gemfiles/rails_4.0.0.gemfile
141
128
  - lib/generators/paul_revere/USAGE
142
129
  - lib/generators/paul_revere/paul_revere_generator.rb
143
130
  - lib/generators/paul_revere/templates/migration.rb
@@ -152,33 +139,31 @@ files:
152
139
  - spec/spec_helper.rb
153
140
  homepage: https://github.com/thoughtbot/paul_revere
154
141
  licenses: []
142
+ metadata: {}
155
143
  post_install_message:
156
144
  rdoc_options: []
157
145
  require_paths:
158
146
  - lib
159
147
  required_ruby_version: !ruby/object:Gem::Requirement
160
- none: false
161
148
  requirements:
162
- - - ! '>='
149
+ - - '>='
163
150
  - !ruby/object:Gem::Version
164
151
  version: '0'
165
- segments:
166
- - 0
167
- hash: -1368084792273439523
168
152
  required_rubygems_version: !ruby/object:Gem::Requirement
169
- none: false
170
153
  requirements:
171
- - - ! '>='
154
+ - - '>='
172
155
  - !ruby/object:Gem::Version
173
156
  version: '0'
174
- segments:
175
- - 0
176
- hash: -1368084792273439523
177
157
  requirements: []
178
158
  rubyforge_project:
179
- rubygems_version: 1.8.24
159
+ rubygems_version: 2.0.3
180
160
  signing_key:
181
- specification_version: 3
182
- summary: Simple announcement plugin to include 'one off' style announcements in Rails
161
+ specification_version: 4
162
+ summary: Simple announcement plugin to include `one off` style announcements in Rails
183
163
  web apps.
184
- test_files: []
164
+ test_files:
165
+ - spec/fake_app.rb
166
+ - spec/helpers/announcements_helper_spec.rb
167
+ - spec/models/announcement_spec.rb
168
+ - spec/paul_revere_spec.rb
169
+ - spec/spec_helper.rb
data/init.rb DELETED
@@ -1 +0,0 @@
1
- require 'paul_revere'