rails_4_session_flash_backport 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/README.md +6 -0
- data/gemfiles/Gemfile.rails-2.3.x.lock +4 -1
- data/gemfiles/Gemfile.rails-3.0.x.lock +5 -2
- data/gemfiles/Gemfile.rails-3.1.x.lock +6 -3
- data/gemfiles/Gemfile.rails-3.2.x.lock +8 -5
- data/gemfiles/Gemfile.rails-4.0.x.lock +14 -14
- data/gemfiles/Gemfile.rails-4.1.x.lock +13 -14
- data/gemfiles/Gemfile.rails-4.2.x.lock +19 -20
- data/lib/rails_4_session_flash_backport/rails4/flash_hash.rb +1 -1
- data/lib/rails_4_session_flash_backport/version.rb +1 -1
- data/script/update-lockfiles +8 -0
- data/spec/rails4/flash_hash_spec.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae57b96ba5638d5244507fb2cefb86271a7eeb29
|
4
|
+
data.tar.gz: 7153dcb7e6fbc23db20c8ef3640185b6271e3c3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 599d66e204569121aeb0b31a1fe190b78d421de0cd80f937a6dde10959a65f9bd61b9f941fdeee7fd26e0b891d2089a65fdf74671b2ceba3dca2b5a5b13128c2
|
7
|
+
data.tar.gz: e79fb631727fba12a94f8891fcd109850e9b6bc548ecfb35ef6cf20be616137c105f2bd3ee2ed4d94ac9f7f7c51881890c55a1862500cec389a667d57831351d
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -76,6 +76,12 @@ Or install it yourself as:
|
|
76
76
|
|
77
77
|
$ gem install rails_4_session_flash_backport
|
78
78
|
|
79
|
+
## Development
|
80
|
+
|
81
|
+
If you update the Gem version or any of the Gemfiles, you'll need to update the
|
82
|
+
Gemfile.locks, too. You can do this by running `./script/update-lockfiles` and
|
83
|
+
checking the results into Git.
|
84
|
+
|
79
85
|
## Copyright
|
80
86
|
|
81
87
|
Copyright (c) 2012 [Envato](http://envato.com), [Lucas Parry](http://github.com/lparry), [chendo](http://github.com/chendo), [sj26](http://github.com/sj26). See LICENSE.txt for further details.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
rails_4_session_flash_backport (0.2.
|
4
|
+
rails_4_session_flash_backport (0.2.2)
|
5
5
|
rails (>= 2.0, < 4.3)
|
6
6
|
|
7
7
|
GEM
|
@@ -59,3 +59,6 @@ DEPENDENCIES
|
|
59
59
|
rails_4_session_flash_backport!
|
60
60
|
rake
|
61
61
|
rspec
|
62
|
+
|
63
|
+
BUNDLED WITH
|
64
|
+
1.16.1
|
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
rails_4_session_flash_backport (0.2.
|
4
|
+
rails_4_session_flash_backport (0.2.2)
|
5
5
|
rails (>= 2.0, < 4.3)
|
6
6
|
|
7
7
|
GEM
|
@@ -41,7 +41,7 @@ GEM
|
|
41
41
|
erubis (2.6.6)
|
42
42
|
abstract (>= 1.0.0)
|
43
43
|
i18n (0.5.4)
|
44
|
-
json (1.8.
|
44
|
+
json (1.8.6)
|
45
45
|
mail (2.2.20)
|
46
46
|
activesupport (>= 2.3.6)
|
47
47
|
i18n (>= 0.4.0)
|
@@ -105,3 +105,6 @@ DEPENDENCIES
|
|
105
105
|
rails_4_session_flash_backport!
|
106
106
|
rake
|
107
107
|
rspec
|
108
|
+
|
109
|
+
BUNDLED WITH
|
110
|
+
1.16.1
|
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
rails_4_session_flash_backport (0.2.
|
4
|
+
rails_4_session_flash_backport (0.2.2)
|
5
5
|
rails (>= 2.0, < 4.3)
|
6
6
|
|
7
7
|
GEM
|
@@ -42,7 +42,7 @@ GEM
|
|
42
42
|
erubis (2.7.0)
|
43
43
|
hike (1.2.3)
|
44
44
|
i18n (0.7.0)
|
45
|
-
json (1.8.
|
45
|
+
json (1.8.6)
|
46
46
|
mail (2.4.4)
|
47
47
|
i18n (>= 0.4.0)
|
48
48
|
mime-types (~> 1.16)
|
@@ -105,7 +105,7 @@ GEM
|
|
105
105
|
treetop (1.4.15)
|
106
106
|
polyglot
|
107
107
|
polyglot (>= 0.3.1)
|
108
|
-
tzinfo (0.3.
|
108
|
+
tzinfo (0.3.53)
|
109
109
|
|
110
110
|
PLATFORMS
|
111
111
|
ruby
|
@@ -116,3 +116,6 @@ DEPENDENCIES
|
|
116
116
|
rails_4_session_flash_backport!
|
117
117
|
rake
|
118
118
|
rspec
|
119
|
+
|
120
|
+
BUNDLED WITH
|
121
|
+
1.16.1
|
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
rails_4_session_flash_backport (0.2.
|
4
|
+
rails_4_session_flash_backport (0.2.2)
|
5
5
|
rails (>= 2.0, < 4.3)
|
6
6
|
|
7
7
|
GEM
|
@@ -42,8 +42,8 @@ GEM
|
|
42
42
|
hike (1.2.3)
|
43
43
|
i18n (0.7.0)
|
44
44
|
journey (1.0.4)
|
45
|
-
json (1.8.
|
46
|
-
mail (2.5.
|
45
|
+
json (1.8.6)
|
46
|
+
mail (2.5.5)
|
47
47
|
mime-types (~> 1.16)
|
48
48
|
treetop (~> 1.4.8)
|
49
49
|
method_source (0.8.2)
|
@@ -98,12 +98,12 @@ GEM
|
|
98
98
|
multi_json (~> 1.0)
|
99
99
|
rack (~> 1.0)
|
100
100
|
tilt (~> 1.1, != 1.3.0)
|
101
|
-
thor (0.
|
101
|
+
thor (0.20.0)
|
102
102
|
tilt (1.4.1)
|
103
103
|
treetop (1.4.15)
|
104
104
|
polyglot
|
105
105
|
polyglot (>= 0.3.1)
|
106
|
-
tzinfo (0.3.
|
106
|
+
tzinfo (0.3.53)
|
107
107
|
|
108
108
|
PLATFORMS
|
109
109
|
ruby
|
@@ -114,3 +114,6 @@ DEPENDENCIES
|
|
114
114
|
rails_4_session_flash_backport!
|
115
115
|
rake
|
116
116
|
rspec
|
117
|
+
|
118
|
+
BUNDLED WITH
|
119
|
+
1.16.1
|
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
rails_4_session_flash_backport (0.2.
|
4
|
+
rails_4_session_flash_backport (0.2.2)
|
5
5
|
rails (>= 2.0, < 4.3)
|
6
6
|
|
7
7
|
GEM
|
@@ -24,7 +24,7 @@ GEM
|
|
24
24
|
activerecord-deprecated_finders (~> 1.0.2)
|
25
25
|
activesupport (= 4.0.13)
|
26
26
|
arel (~> 4.0.0)
|
27
|
-
activerecord-deprecated_finders (1.0.
|
27
|
+
activerecord-deprecated_finders (1.0.4)
|
28
28
|
activesupport (4.0.13)
|
29
29
|
i18n (~> 0.6, >= 0.6.9)
|
30
30
|
minitest (~> 4.2)
|
@@ -34,14 +34,14 @@ GEM
|
|
34
34
|
arel (4.0.2)
|
35
35
|
builder (3.1.4)
|
36
36
|
coderay (1.1.0)
|
37
|
+
concurrent-ruby (1.0.5)
|
37
38
|
diff-lcs (1.2.5)
|
38
39
|
erubis (2.7.0)
|
39
|
-
hike (1.2.3)
|
40
40
|
i18n (0.7.0)
|
41
|
-
mail (2.
|
42
|
-
|
41
|
+
mail (2.7.0)
|
42
|
+
mini_mime (>= 0.1.1)
|
43
43
|
method_source (0.8.2)
|
44
|
-
|
44
|
+
mini_mime (1.0.0)
|
45
45
|
minitest (4.7.5)
|
46
46
|
multi_json (1.10.1)
|
47
47
|
pry (0.10.1)
|
@@ -79,18 +79,15 @@ GEM
|
|
79
79
|
rspec-support (~> 3.2.0)
|
80
80
|
rspec-support (3.2.1)
|
81
81
|
slop (3.6.0)
|
82
|
-
sprockets (
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
tilt (~> 1.1, != 1.3.0)
|
87
|
-
sprockets-rails (2.2.4)
|
82
|
+
sprockets (3.7.1)
|
83
|
+
concurrent-ruby (~> 1.0)
|
84
|
+
rack (> 1, < 3)
|
85
|
+
sprockets-rails (2.3.3)
|
88
86
|
actionpack (>= 3.0)
|
89
87
|
activesupport (>= 3.0)
|
90
88
|
sprockets (>= 2.8, < 4.0)
|
91
|
-
thor (0.
|
89
|
+
thor (0.20.0)
|
92
90
|
thread_safe (0.3.4)
|
93
|
-
tilt (1.4.1)
|
94
91
|
tzinfo (0.3.43)
|
95
92
|
|
96
93
|
PLATFORMS
|
@@ -102,3 +99,6 @@ DEPENDENCIES
|
|
102
99
|
rails_4_session_flash_backport!
|
103
100
|
rake
|
104
101
|
rspec
|
102
|
+
|
103
|
+
BUNDLED WITH
|
104
|
+
1.16.1
|
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
rails_4_session_flash_backport (0.2.
|
4
|
+
rails_4_session_flash_backport (0.2.2)
|
5
5
|
rails (>= 2.0, < 4.3)
|
6
6
|
|
7
7
|
GEM
|
@@ -36,17 +36,16 @@ GEM
|
|
36
36
|
arel (5.0.1.20140414130214)
|
37
37
|
builder (3.2.2)
|
38
38
|
coderay (1.1.0)
|
39
|
+
concurrent-ruby (1.0.5)
|
39
40
|
diff-lcs (1.2.5)
|
40
41
|
erubis (2.7.0)
|
41
|
-
hike (1.2.3)
|
42
42
|
i18n (0.7.0)
|
43
43
|
json (1.8.2)
|
44
|
-
mail (2.
|
45
|
-
|
44
|
+
mail (2.7.0)
|
45
|
+
mini_mime (>= 0.1.1)
|
46
46
|
method_source (0.8.2)
|
47
|
-
|
47
|
+
mini_mime (1.0.0)
|
48
48
|
minitest (5.5.1)
|
49
|
-
multi_json (1.10.1)
|
50
49
|
pry (0.10.1)
|
51
50
|
coderay (~> 1.1.0)
|
52
51
|
method_source (~> 0.8.1)
|
@@ -84,18 +83,15 @@ GEM
|
|
84
83
|
rspec-support (~> 3.2.0)
|
85
84
|
rspec-support (3.2.1)
|
86
85
|
slop (3.6.0)
|
87
|
-
sprockets (
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
tilt (~> 1.1, != 1.3.0)
|
92
|
-
sprockets-rails (2.2.4)
|
86
|
+
sprockets (3.7.1)
|
87
|
+
concurrent-ruby (~> 1.0)
|
88
|
+
rack (> 1, < 3)
|
89
|
+
sprockets-rails (2.3.3)
|
93
90
|
actionpack (>= 3.0)
|
94
91
|
activesupport (>= 3.0)
|
95
92
|
sprockets (>= 2.8, < 4.0)
|
96
|
-
thor (0.
|
93
|
+
thor (0.20.0)
|
97
94
|
thread_safe (0.3.4)
|
98
|
-
tilt (1.4.1)
|
99
95
|
tzinfo (1.2.2)
|
100
96
|
thread_safe (~> 0.1)
|
101
97
|
|
@@ -108,3 +104,6 @@ DEPENDENCIES
|
|
108
104
|
rails_4_session_flash_backport!
|
109
105
|
rake
|
110
106
|
rspec
|
107
|
+
|
108
|
+
BUNDLED WITH
|
109
|
+
1.16.1
|
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
rails_4_session_flash_backport (0.2.
|
4
|
+
rails_4_session_flash_backport (0.2.2)
|
5
5
|
rails (>= 2.0, < 4.3)
|
6
6
|
|
7
7
|
GEM
|
@@ -42,25 +42,24 @@ GEM
|
|
42
42
|
minitest (~> 5.1)
|
43
43
|
thread_safe (~> 0.3, >= 0.3.4)
|
44
44
|
tzinfo (~> 1.1)
|
45
|
-
arel (6.0.
|
45
|
+
arel (6.0.4)
|
46
46
|
builder (3.2.2)
|
47
47
|
coderay (1.1.0)
|
48
|
+
concurrent-ruby (1.0.5)
|
48
49
|
diff-lcs (1.2.5)
|
49
50
|
erubis (2.7.0)
|
50
|
-
globalid (0.
|
51
|
-
activesupport (>= 4.
|
52
|
-
hike (1.2.3)
|
51
|
+
globalid (0.4.1)
|
52
|
+
activesupport (>= 4.2.0)
|
53
53
|
i18n (0.7.0)
|
54
54
|
json (1.8.2)
|
55
55
|
loofah (2.0.1)
|
56
56
|
nokogiri (>= 1.5.9)
|
57
|
-
mail (2.
|
58
|
-
|
57
|
+
mail (2.7.0)
|
58
|
+
mini_mime (>= 0.1.1)
|
59
59
|
method_source (0.8.2)
|
60
|
-
|
60
|
+
mini_mime (1.0.0)
|
61
61
|
mini_portile (0.6.2)
|
62
62
|
minitest (5.5.1)
|
63
|
-
multi_json (1.10.1)
|
64
63
|
nokogiri (1.6.6.2)
|
65
64
|
mini_portile (~> 0.6.0)
|
66
65
|
pry (0.10.1)
|
@@ -109,18 +108,15 @@ GEM
|
|
109
108
|
rspec-support (~> 3.2.0)
|
110
109
|
rspec-support (3.2.1)
|
111
110
|
slop (3.6.0)
|
112
|
-
sprockets (
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
sprockets (>= 2.8, < 4.0)
|
121
|
-
thor (0.19.1)
|
111
|
+
sprockets (3.7.1)
|
112
|
+
concurrent-ruby (~> 1.0)
|
113
|
+
rack (> 1, < 3)
|
114
|
+
sprockets-rails (3.2.1)
|
115
|
+
actionpack (>= 4.0)
|
116
|
+
activesupport (>= 4.0)
|
117
|
+
sprockets (>= 3.0.0)
|
118
|
+
thor (0.20.0)
|
122
119
|
thread_safe (0.3.4)
|
123
|
-
tilt (1.4.1)
|
124
120
|
tzinfo (1.2.2)
|
125
121
|
thread_safe (~> 0.1)
|
126
122
|
|
@@ -133,3 +129,6 @@ DEPENDENCIES
|
|
133
129
|
rails_4_session_flash_backport!
|
134
130
|
rake
|
135
131
|
rspec
|
132
|
+
|
133
|
+
BUNDLED WITH
|
134
|
+
1.16.1
|
@@ -66,7 +66,7 @@ describe ActionDispatch::Flash::FlashHash, "backport" do
|
|
66
66
|
end
|
67
67
|
|
68
68
|
it "dumps to basic objects like rails 4" do
|
69
|
-
expect(flash.to_session_value).to eq("flashes" => {"greeting" => "Hello"})
|
69
|
+
expect(flash.to_session_value).to eq("discard" => ["farewell"], "flashes" => {"greeting" => "Hello"})
|
70
70
|
end
|
71
71
|
end
|
72
72
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_4_session_flash_backport
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lucas Parry
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2018-01-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -111,6 +111,7 @@ files:
|
|
111
111
|
- lib/rails_4_session_flash_backport/rails4/flash_hash.rb
|
112
112
|
- lib/rails_4_session_flash_backport/version.rb
|
113
113
|
- rails_4_session_flash_backport.gemspec
|
114
|
+
- script/update-lockfiles
|
114
115
|
- spec/rails2/flash_hash_spec.rb
|
115
116
|
- spec/rails3-0/flash_hash_spec.rb
|
116
117
|
- spec/rails3-1/flash_hash_spec.rb
|
@@ -134,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
135
|
version: '0'
|
135
136
|
requirements: []
|
136
137
|
rubyforge_project:
|
137
|
-
rubygems_version: 2.6
|
138
|
+
rubygems_version: 2.4.6
|
138
139
|
signing_key:
|
139
140
|
specification_version: 4
|
140
141
|
summary: Backport of the way Rails 4 stores flash messages in the session to Rails
|