stackable_flash 0.0.7 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +7 -5
- data/CHANGELOG +4 -0
- data/README.md +64 -8
- data/lib/stackable_flash.rb +21 -9
- data/lib/stackable_flash/flash_stack.rb +9 -6
- data/lib/stackable_flash/railtie.rb +1 -1
- data/lib/stackable_flash/stack_layer.rb +8 -14
- data/lib/stackable_flash/test_helpers.rb +1 -0
- data/lib/stackable_flash/version.rb +1 -1
- data/spec/dummy/Rakefile +7 -7
- data/spec/dummy/app/assets/javascripts/application.js +15 -15
- data/spec/dummy/app/assets/stylesheets/application.css +13 -13
- data/spec/dummy/app/controllers/application_controller.rb +3 -3
- data/spec/dummy/app/helpers/application_helper.rb +2 -2
- data/spec/dummy/app/views/layouts/application.html.erb +14 -14
- data/spec/dummy/config.ru +4 -4
- data/spec/dummy/config/application.rb +62 -62
- data/spec/dummy/config/boot.rb +9 -9
- data/spec/dummy/config/database.yml +25 -25
- data/spec/dummy/config/environment.rb +5 -5
- data/spec/dummy/config/environments/development.rb +30 -30
- data/spec/dummy/config/environments/production.rb +67 -67
- data/spec/dummy/config/environments/test.rb +34 -34
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -7
- data/spec/dummy/config/initializers/inflections.rb +15 -15
- data/spec/dummy/config/initializers/mime_types.rb +5 -5
- data/spec/dummy/config/initializers/secret_token.rb +7 -7
- data/spec/dummy/config/initializers/session_store.rb +8 -8
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -14
- data/spec/dummy/config/locales/en.yml +5 -5
- data/spec/dummy/config/routes.rb +1 -1
- data/spec/dummy/public/404.html +26 -26
- data/spec/dummy/public/422.html +26 -26
- data/spec/dummy/public/500.html +25 -25
- data/spec/dummy/script/rails +6 -6
- data/spec/spec_helper.rb +4 -0
- data/spec/stackable_flash/flash_stack_spec.rb +0 -3
- data/spec/stackable_flash/rspec_matchers_spec.rb +0 -3
- data/spec/stackable_flash/stackable_flash_spec.rb +66 -0
- data/stackable_flash.gemspec +43 -6
- metadata +58 -43
@@ -1,5 +1,5 @@
|
|
1
|
-
# Sample localization file for English. Add more files in this directory for other locales.
|
2
|
-
# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
|
3
|
-
|
4
|
-
en:
|
5
|
-
hello: "Hello world"
|
1
|
+
# Sample localization file for English. Add more files in this directory for other locales.
|
2
|
+
# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
|
3
|
+
|
4
|
+
en:
|
5
|
+
hello: "Hello world"
|
data/spec/dummy/config/routes.rb
CHANGED
@@ -2,5 +2,5 @@ Rails.application.routes.draw do
|
|
2
2
|
root :controller => 'dummy', :action => 'index'
|
3
3
|
|
4
4
|
# Note: This route will make all actions in every controller accessible via GET requests.
|
5
|
-
match ':controller(/:action(/:id(.:format)))'
|
5
|
+
match ':controller(/:action(/:id(.:format)))', via: [:get]
|
6
6
|
end
|
data/spec/dummy/public/404.html
CHANGED
@@ -1,26 +1,26 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
-
<style type="text/css">
|
6
|
-
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
-
div.dialog {
|
8
|
-
width: 25em;
|
9
|
-
padding: 0 4em;
|
10
|
-
margin: 4em auto 0 auto;
|
11
|
-
border: 1px solid #ccc;
|
12
|
-
border-right-color: #999;
|
13
|
-
border-bottom-color: #999;
|
14
|
-
}
|
15
|
-
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
-
</style>
|
17
|
-
</head>
|
18
|
-
|
19
|
-
<body>
|
20
|
-
<!-- This file lives in public/404.html -->
|
21
|
-
<div class="dialog">
|
22
|
-
<h1>The page you were looking for doesn't exist.</h1>
|
23
|
-
<p>You may have mistyped the address or the page may have moved.</p>
|
24
|
-
</div>
|
25
|
-
</body>
|
26
|
-
</html>
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/404.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
23
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
data/spec/dummy/public/422.html
CHANGED
@@ -1,26 +1,26 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>The change you wanted was rejected (422)</title>
|
5
|
-
<style type="text/css">
|
6
|
-
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
-
div.dialog {
|
8
|
-
width: 25em;
|
9
|
-
padding: 0 4em;
|
10
|
-
margin: 4em auto 0 auto;
|
11
|
-
border: 1px solid #ccc;
|
12
|
-
border-right-color: #999;
|
13
|
-
border-bottom-color: #999;
|
14
|
-
}
|
15
|
-
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
-
</style>
|
17
|
-
</head>
|
18
|
-
|
19
|
-
<body>
|
20
|
-
<!-- This file lives in public/422.html -->
|
21
|
-
<div class="dialog">
|
22
|
-
<h1>The change you wanted was rejected.</h1>
|
23
|
-
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
|
-
</div>
|
25
|
-
</body>
|
26
|
-
</html>
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/422.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The change you wanted was rejected.</h1>
|
23
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
data/spec/dummy/public/500.html
CHANGED
@@ -1,25 +1,25 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>We're sorry, but something went wrong (500)</title>
|
5
|
-
<style type="text/css">
|
6
|
-
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
-
div.dialog {
|
8
|
-
width: 25em;
|
9
|
-
padding: 0 4em;
|
10
|
-
margin: 4em auto 0 auto;
|
11
|
-
border: 1px solid #ccc;
|
12
|
-
border-right-color: #999;
|
13
|
-
border-bottom-color: #999;
|
14
|
-
}
|
15
|
-
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
-
</style>
|
17
|
-
</head>
|
18
|
-
|
19
|
-
<body>
|
20
|
-
<!-- This file lives in public/500.html -->
|
21
|
-
<div class="dialog">
|
22
|
-
<h1>We're sorry, but something went wrong.</h1>
|
23
|
-
</div>
|
24
|
-
</body>
|
25
|
-
</html>
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/500.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
23
|
+
</div>
|
24
|
+
</body>
|
25
|
+
</html>
|
data/spec/dummy/script/rails
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
-
|
4
|
-
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
-
require File.expand_path('../../config/boot', __FILE__)
|
6
|
-
require 'rails/commands'
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
data/spec/spec_helper.rb
CHANGED
@@ -91,9 +91,6 @@ describe StackableFlash::StackLayer do
|
|
91
91
|
end
|
92
92
|
|
93
93
|
describe "mixed use" do
|
94
|
-
after(:each) do
|
95
|
-
StackableFlash.stacking = true
|
96
|
-
end
|
97
94
|
it "should not fail when StackableFlash is turned off and on, unless calling #stack" do
|
98
95
|
StackableFlash.stacking = false
|
99
96
|
@flash[:notice] = 'original'
|
@@ -173,9 +173,6 @@ describe StackableFlash::RspecMatchers do
|
|
173
173
|
end
|
174
174
|
|
175
175
|
describe "mixed use" do
|
176
|
-
after(:each) do
|
177
|
-
StackableFlash.stacking = true
|
178
|
-
end
|
179
176
|
context "when StackableFlash is turned off and on" do
|
180
177
|
it "should not fail for strings" do
|
181
178
|
StackableFlash.stacking = false
|
@@ -0,0 +1,66 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe StackableFlash do
|
4
|
+
before(:each) do
|
5
|
+
@flash = ActionDispatch::Flash::FlashHash.new
|
6
|
+
end
|
7
|
+
|
8
|
+
describe "#stacking" do
|
9
|
+
context "is true" do
|
10
|
+
before(:each) do
|
11
|
+
StackableFlash.stacking = true
|
12
|
+
end
|
13
|
+
it "should allow flashes to stack" do
|
14
|
+
lambda {
|
15
|
+
@flash[:error] << 'stacking'
|
16
|
+
@flash[:error] << 'them'
|
17
|
+
@flash[:error] << 'all'
|
18
|
+
@flash[:error] << 'up'
|
19
|
+
}.should_not raise_exception
|
20
|
+
@flash[:error].should be_a_kind_of(Array)
|
21
|
+
@flash[:error].stack.should == 'stacking<br/>them<br/>all<br/>up'
|
22
|
+
end
|
23
|
+
end
|
24
|
+
context "is false" do
|
25
|
+
before(:each) do
|
26
|
+
StackableFlash.stacking = false
|
27
|
+
end
|
28
|
+
it "should not allow flashes to stack" do
|
29
|
+
lambda { @flash[:error] << 'stacking' }.should raise_exception
|
30
|
+
@flash[:error] = 'stacking'
|
31
|
+
@flash[:error].should be_a_kind_of(String)
|
32
|
+
lambda { @flash[:error].stack }.should raise_error NoMethodError
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
describe "#stacked" do
|
38
|
+
before(:each) do
|
39
|
+
StackableFlash.stacking = false # works in spite of this
|
40
|
+
end
|
41
|
+
it "should allow flashes to stack" do
|
42
|
+
StackableFlash.stacked do
|
43
|
+
@flash[:error] << 'stacking'
|
44
|
+
@flash[:error] << 'them'
|
45
|
+
@flash[:error] << 'all'
|
46
|
+
@flash[:error] << 'up'
|
47
|
+
@flash[:error].stack.should == 'stacking<br/>them<br/>all<br/>up' #inside block
|
48
|
+
end
|
49
|
+
@flash[:error].should be_a_kind_of(Array)
|
50
|
+
@flash[:error].stack.should == ['stacking','them','all','up'] # outside block
|
51
|
+
end
|
52
|
+
end
|
53
|
+
describe "#not_stacked" do
|
54
|
+
before(:each) do
|
55
|
+
StackableFlash.stacking = true # works in spite of this
|
56
|
+
end
|
57
|
+
it "should not allow flashes to stack" do
|
58
|
+
StackableFlash.not_stacked do
|
59
|
+
lambda { @flash[:error] << 'stacking' }.should raise_exception
|
60
|
+
@flash[:error] = 'stacking'
|
61
|
+
end
|
62
|
+
@flash[:error].should be_a_kind_of(String)
|
63
|
+
lambda { @flash[:error].stack }.should raise_error NoMethodError
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
data/stackable_flash.gemspec
CHANGED
@@ -16,12 +16,49 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.version = StackableFlash::VERSION
|
17
17
|
|
18
18
|
# Development Dependencies
|
19
|
-
gem.add_development_dependency(%q<rails>, ["> 3"])
|
20
|
-
gem.add_development_dependency(%q<activesupport>, ["> 3"])
|
21
|
-
gem.add_development_dependency(%q<rspec-rails>, [">= 2.11.0"])
|
22
|
-
gem.add_development_dependency(%q<reek>, [">= 1.2.8"])
|
23
|
-
gem.add_development_dependency(%q<roodi>, [">= 2.1.0"])
|
24
|
-
gem.add_development_dependency(%q<rake>, [">= 0"])
|
25
19
|
|
20
|
+
# http://guides.rubyonrails.org/upgrading_ruby_on_rails.html#ruby-versions
|
21
|
+
# Rails 5 requires Ruby 2.2.2 or newer.
|
22
|
+
# Rails 4 prefers Ruby 2.0 and requires 1.9.3 or newer.
|
23
|
+
# Rails 3.2.x is the last branch to support Ruby 1.8.7.
|
24
|
+
# Rails 3 and above require Ruby 1.8.7 or higher. Support for all of the previous Ruby versions has been dropped officially. You should upgrade as early as possible.
|
25
|
+
if RUBY_VERSION <= '2.1' # 2.0.0-p648
|
26
|
+
gem.add_development_dependency(%q<rails>, ['> 3', '< 4.0'])
|
27
|
+
gem.add_development_dependency(%q<activesupport>, ['> 3', '< 4.0'])
|
28
|
+
gem.add_development_dependency(%q<rspec-rails>, ['2.11.0', '< 2.14.0'])
|
29
|
+
gem.add_development_dependency(%q<reek>, ['>= 1.2.8', '< 4.0'])
|
30
|
+
elsif RUBY_VERSION <= '2.2' # 2.1.10
|
31
|
+
gem.add_development_dependency(%q<rails>, ['> 3', '< 4.0'])
|
32
|
+
gem.add_development_dependency(%q<activesupport>, ['> 3', '< 4.0'])
|
33
|
+
gem.add_development_dependency(%q<rspec-rails>, ['2.99'])
|
34
|
+
gem.add_development_dependency(%q<reek>, ['>= 4.6'])
|
35
|
+
elsif RUBY_VERSION <= '2.4' # 2.2.7 & 2.3.4
|
36
|
+
# Any Rails 4 upgrades will have to be done in this Ruby version.
|
37
|
+
gem.add_development_dependency(%q<rails>, ['> 3', '< 5.0'])
|
38
|
+
gem.add_development_dependency(%q<activesupport>, ['> 3', '< 5.0'])
|
39
|
+
gem.add_development_dependency(%q<rspec-rails>, ['2.99'])
|
40
|
+
gem.add_development_dependency(%q<reek>, ['>= 4.6'])
|
41
|
+
|
42
|
+
# LoadError: Ruby 2.2+ has removed test/unit from the core library. Rails requires this as a dependency. Please add test-unit gem to your Gemfile: `gem 'test-unit', '~> 3.0'` (cannot load such file -- test/unit)"
|
43
|
+
gem.add_development_dependency(%q<test-unit>, ['>= 3.2'])
|
44
|
+
elsif RUBY_VERSION <= '2.5' # 2.4.1
|
45
|
+
gem.add_development_dependency(%q<rails>, ['> 4', '< 5.0'])
|
46
|
+
gem.add_development_dependency(%q<activesupport>, ['> 4', '< 5.0'])
|
47
|
+
gem.add_development_dependency(%q<rspec-rails>, ['2.99'])
|
48
|
+
gem.add_development_dependency(%q<reek>, ['>= 4.6'])
|
49
|
+
|
50
|
+
# LoadError: Ruby 2.2+ has removed test/unit from the core library. Rails requires this as a dependency. Please add test-unit gem to your Gemfile: `gem 'test-unit', '~> 3.0'` (cannot load such file -- test/unit)"
|
51
|
+
gem.add_development_dependency(%q<test-unit>, ['>= 3.2'])
|
52
|
+
elsif RUBY_VERSION > '2.5'
|
53
|
+
gem.add_development_dependency(%q<rails>, ['> 5', '< 6.0'])
|
54
|
+
gem.add_development_dependency(%q<activesupport>, ['> 5', '< 6.0'])
|
55
|
+
gem.add_development_dependency(%q<rspec-rails>, ['2.99'])
|
56
|
+
gem.add_development_dependency(%q<reek>, ['>= 4.6'])
|
57
|
+
|
58
|
+
# LoadError: Ruby 2.2+ has removed test/unit from the core library. Rails requires this as a dependency. Please add test-unit gem to your Gemfile: `gem 'test-unit', '~> 3.0'` (cannot load such file -- test/unit)"
|
59
|
+
gem.add_development_dependency(%q<test-unit>, ['>= 3.2'])
|
60
|
+
end
|
61
|
+
gem.add_development_dependency(%q<roodi>, ['>= 2.1.0'])
|
62
|
+
gem.add_development_dependency(%q<rake>, ['>= 0'])
|
26
63
|
end
|
27
64
|
|
metadata
CHANGED
@@ -1,110 +1,123 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stackable_flash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Peter Boling
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2017-05-31 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">"
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: '
|
19
|
+
version: '4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '5.0'
|
22
23
|
type: :development
|
23
24
|
prerelease: false
|
24
25
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ">"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '4'
|
30
|
+
- - "<"
|
28
31
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
32
|
+
version: '5.0'
|
30
33
|
- !ruby/object:Gem::Dependency
|
31
34
|
name: activesupport
|
32
35
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
36
|
requirements:
|
35
|
-
- -
|
37
|
+
- - ">"
|
36
38
|
- !ruby/object:Gem::Version
|
37
|
-
version: '
|
39
|
+
version: '4'
|
40
|
+
- - "<"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '5.0'
|
38
43
|
type: :development
|
39
44
|
prerelease: false
|
40
45
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
46
|
requirements:
|
43
|
-
- -
|
47
|
+
- - ">"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '4'
|
50
|
+
- - "<"
|
44
51
|
- !ruby/object:Gem::Version
|
45
|
-
version: '
|
52
|
+
version: '5.0'
|
46
53
|
- !ruby/object:Gem::Dependency
|
47
54
|
name: rspec-rails
|
48
55
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
56
|
requirements:
|
51
|
-
- -
|
57
|
+
- - '='
|
52
58
|
- !ruby/object:Gem::Version
|
53
|
-
version: 2.
|
59
|
+
version: '2.99'
|
54
60
|
type: :development
|
55
61
|
prerelease: false
|
56
62
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
63
|
requirements:
|
59
|
-
- -
|
64
|
+
- - '='
|
60
65
|
- !ruby/object:Gem::Version
|
61
|
-
version: 2.
|
66
|
+
version: '2.99'
|
62
67
|
- !ruby/object:Gem::Dependency
|
63
68
|
name: reek
|
64
69
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
70
|
requirements:
|
67
|
-
- -
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '4.6'
|
74
|
+
type: :development
|
75
|
+
prerelease: false
|
76
|
+
version_requirements: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '4.6'
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: test-unit
|
83
|
+
requirement: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - ">="
|
68
86
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
87
|
+
version: '3.2'
|
70
88
|
type: :development
|
71
89
|
prerelease: false
|
72
90
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
91
|
requirements:
|
75
|
-
- -
|
92
|
+
- - ">="
|
76
93
|
- !ruby/object:Gem::Version
|
77
|
-
version:
|
94
|
+
version: '3.2'
|
78
95
|
- !ruby/object:Gem::Dependency
|
79
96
|
name: roodi
|
80
97
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
98
|
requirements:
|
83
|
-
- -
|
99
|
+
- - ">="
|
84
100
|
- !ruby/object:Gem::Version
|
85
101
|
version: 2.1.0
|
86
102
|
type: :development
|
87
103
|
prerelease: false
|
88
104
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
105
|
requirements:
|
91
|
-
- -
|
106
|
+
- - ">="
|
92
107
|
- !ruby/object:Gem::Version
|
93
108
|
version: 2.1.0
|
94
109
|
- !ruby/object:Gem::Dependency
|
95
110
|
name: rake
|
96
111
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
112
|
requirements:
|
99
|
-
- -
|
113
|
+
- - ">="
|
100
114
|
- !ruby/object:Gem::Version
|
101
115
|
version: '0'
|
102
116
|
type: :development
|
103
117
|
prerelease: false
|
104
118
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
119
|
requirements:
|
107
|
-
- -
|
120
|
+
- - ">="
|
108
121
|
- !ruby/object:Gem::Version
|
109
122
|
version: '0'
|
110
123
|
description: Allows flashes to stack intelligently, while preserving existing behavior
|
@@ -115,8 +128,9 @@ executables: []
|
|
115
128
|
extensions: []
|
116
129
|
extra_rdoc_files: []
|
117
130
|
files:
|
118
|
-
- .gitignore
|
119
|
-
- .
|
131
|
+
- ".gitignore"
|
132
|
+
- ".ruby-version"
|
133
|
+
- ".travis.yml"
|
120
134
|
- CHANGELOG
|
121
135
|
- Gemfile
|
122
136
|
- LICENSE
|
@@ -168,30 +182,30 @@ files:
|
|
168
182
|
- spec/spec_helper.rb
|
169
183
|
- spec/stackable_flash/flash_stack_spec.rb
|
170
184
|
- spec/stackable_flash/rspec_matchers_spec.rb
|
185
|
+
- spec/stackable_flash/stackable_flash_spec.rb
|
171
186
|
- stackable_flash.gemspec
|
172
187
|
homepage: https://github.com/pboling/stackable_flash
|
173
188
|
licenses: []
|
189
|
+
metadata: {}
|
174
190
|
post_install_message:
|
175
191
|
rdoc_options: []
|
176
192
|
require_paths:
|
177
193
|
- lib
|
178
194
|
required_ruby_version: !ruby/object:Gem::Requirement
|
179
|
-
none: false
|
180
195
|
requirements:
|
181
|
-
- -
|
196
|
+
- - ">="
|
182
197
|
- !ruby/object:Gem::Version
|
183
198
|
version: '0'
|
184
199
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
185
|
-
none: false
|
186
200
|
requirements:
|
187
|
-
- -
|
201
|
+
- - ">="
|
188
202
|
- !ruby/object:Gem::Version
|
189
203
|
version: '0'
|
190
204
|
requirements: []
|
191
205
|
rubyforge_project:
|
192
|
-
rubygems_version:
|
206
|
+
rubygems_version: 2.6.12
|
193
207
|
signing_key:
|
194
|
-
specification_version:
|
208
|
+
specification_version: 4
|
195
209
|
summary: Worried that your flash may not be stacked? This is the answer.
|
196
210
|
test_files:
|
197
211
|
- spec/controllers/dummy_controller_spec.rb
|
@@ -232,3 +246,4 @@ test_files:
|
|
232
246
|
- spec/spec_helper.rb
|
233
247
|
- spec/stackable_flash/flash_stack_spec.rb
|
234
248
|
- spec/stackable_flash/rspec_matchers_spec.rb
|
249
|
+
- spec/stackable_flash/stackable_flash_spec.rb
|