flash_render 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,5 +1,7 @@
1
+ .ruby-version
2
+ .ruby-gemset
1
3
  pkg/*
2
4
  *.gem
3
5
  test/dummy/db/*.sqlite3
4
6
  test/dummy/log/*.log
5
- test/dummy/tmp/
7
+ test/dummy/tmp/
data/Gemfile CHANGED
@@ -1,4 +1,6 @@
1
- source :gemcutter
1
+ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in flash_render.gemspec
4
- gemspec
4
+ gemspec
5
+
6
+ gem 'sqlite3'
data/Gemfile.lock CHANGED
@@ -1,75 +1,90 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- flash_render (1.0.0)
4
+ flash_render (1.1.0)
5
5
  rails (>= 2.3.8)
6
6
 
7
7
  GEM
8
- remote: http://rubygems.org/
8
+ remote: https://rubygems.org/
9
9
  specs:
10
- abstract (1.0.0)
11
- actionmailer (3.0.0.rc)
12
- actionpack (= 3.0.0.rc)
13
- mail (~> 2.2.5)
14
- actionpack (3.0.0.rc)
15
- activemodel (= 3.0.0.rc)
16
- activesupport (= 3.0.0.rc)
17
- builder (~> 2.1.2)
18
- erubis (~> 2.6.6)
19
- i18n (~> 0.4.1)
20
- rack (~> 1.2.1)
21
- rack-mount (~> 0.6.9)
22
- rack-test (~> 0.5.4)
23
- tzinfo (~> 0.3.22)
24
- activemodel (3.0.0.rc)
25
- activesupport (= 3.0.0.rc)
26
- builder (~> 2.1.2)
27
- i18n (~> 0.4.1)
28
- activerecord (3.0.0.rc)
29
- activemodel (= 3.0.0.rc)
30
- activesupport (= 3.0.0.rc)
31
- arel (~> 0.4.0)
32
- tzinfo (~> 0.3.22)
33
- activeresource (3.0.0.rc)
34
- activemodel (= 3.0.0.rc)
35
- activesupport (= 3.0.0.rc)
36
- activesupport (3.0.0.rc)
37
- arel (0.4.0)
38
- activesupport (>= 3.0.0.beta)
39
- builder (2.1.2)
40
- erubis (2.6.6)
41
- abstract (>= 1.0.0)
42
- i18n (0.4.1)
43
- mail (2.2.5)
44
- activesupport (>= 2.3.6)
45
- mime-types
46
- treetop (>= 1.4.5)
47
- mime-types (1.16)
48
- polyglot (0.3.1)
49
- rack (1.2.1)
50
- rack-mount (0.6.9)
51
- rack (>= 1.0.0)
52
- rack-test (0.5.4)
10
+ actionmailer (3.2.13)
11
+ actionpack (= 3.2.13)
12
+ mail (~> 2.5.3)
13
+ actionpack (3.2.13)
14
+ activemodel (= 3.2.13)
15
+ activesupport (= 3.2.13)
16
+ builder (~> 3.0.0)
17
+ erubis (~> 2.7.0)
18
+ journey (~> 1.0.4)
19
+ rack (~> 1.4.5)
20
+ rack-cache (~> 1.2)
21
+ rack-test (~> 0.6.1)
22
+ sprockets (~> 2.2.1)
23
+ activemodel (3.2.13)
24
+ activesupport (= 3.2.13)
25
+ builder (~> 3.0.0)
26
+ activerecord (3.2.13)
27
+ activemodel (= 3.2.13)
28
+ activesupport (= 3.2.13)
29
+ arel (~> 3.0.2)
30
+ tzinfo (~> 0.3.29)
31
+ activeresource (3.2.13)
32
+ activemodel (= 3.2.13)
33
+ activesupport (= 3.2.13)
34
+ activesupport (3.2.13)
35
+ i18n (= 0.6.1)
36
+ multi_json (~> 1.0)
37
+ arel (3.0.2)
38
+ builder (3.0.4)
39
+ erubis (2.7.0)
40
+ hike (1.2.2)
41
+ i18n (0.6.1)
42
+ journey (1.0.4)
43
+ json (1.8.0)
44
+ mail (2.5.4)
45
+ mime-types (~> 1.16)
46
+ treetop (~> 1.4.8)
47
+ mime-types (1.23)
48
+ multi_json (1.7.4)
49
+ polyglot (0.3.3)
50
+ rack (1.4.5)
51
+ rack-cache (1.2)
52
+ rack (>= 0.4)
53
+ rack-ssl (1.3.3)
54
+ rack
55
+ rack-test (0.6.2)
53
56
  rack (>= 1.0)
54
- rails (3.0.0.rc)
55
- actionmailer (= 3.0.0.rc)
56
- actionpack (= 3.0.0.rc)
57
- activerecord (= 3.0.0.rc)
58
- activeresource (= 3.0.0.rc)
59
- activesupport (= 3.0.0.rc)
60
- bundler (>= 1.0.0.rc.1)
61
- railties (= 3.0.0.rc)
62
- railties (3.0.0.rc)
63
- actionpack (= 3.0.0.rc)
64
- activesupport (= 3.0.0.rc)
65
- rake (>= 0.8.3)
66
- thor (~> 0.14.0)
67
- rake (0.8.7)
57
+ rails (3.2.13)
58
+ actionmailer (= 3.2.13)
59
+ actionpack (= 3.2.13)
60
+ activerecord (= 3.2.13)
61
+ activeresource (= 3.2.13)
62
+ activesupport (= 3.2.13)
63
+ bundler (~> 1.0)
64
+ railties (= 3.2.13)
65
+ railties (3.2.13)
66
+ actionpack (= 3.2.13)
67
+ activesupport (= 3.2.13)
68
+ rack-ssl (~> 1.3.2)
69
+ rake (>= 0.8.7)
70
+ rdoc (~> 3.4)
71
+ thor (>= 0.14.6, < 2.0)
72
+ rake (10.0.4)
73
+ rdoc (3.12.2)
74
+ json (~> 1.4)
68
75
  redgreen (1.2.2)
69
- thor (0.14.0)
70
- treetop (1.4.8)
76
+ sprockets (2.2.2)
77
+ hike (~> 1.2)
78
+ multi_json (~> 1.0)
79
+ rack (~> 1.0)
80
+ tilt (~> 1.1, != 1.3.0)
81
+ sqlite3 (1.3.7)
82
+ thor (0.18.1)
83
+ tilt (1.4.1)
84
+ treetop (1.4.12)
85
+ polyglot
71
86
  polyglot (>= 0.3.1)
72
- tzinfo (0.3.22)
87
+ tzinfo (0.3.37)
73
88
 
74
89
  PLATFORMS
75
90
  ruby
@@ -77,5 +92,5 @@ PLATFORMS
77
92
  DEPENDENCIES
78
93
  bundler (>= 1.0.0.rc.5)
79
94
  flash_render!
80
- rails (>= 2.3.8)
81
95
  redgreen
96
+ sqlite3
data/lib/flash_render.rb CHANGED
@@ -1,7 +1,5 @@
1
1
  module FlashRender
2
2
 
3
- protected
4
-
5
3
  def render(*args)
6
4
  options = args.extract_options!
7
5
 
@@ -29,4 +27,4 @@ if defined?(Rails::Railtie)
29
27
  require 'flash_render/railtie'
30
28
  else
31
29
  ActionController::Base.send :include, FlashRender
32
- end
30
+ end
@@ -1,3 +1,3 @@
1
1
  module FlashRender
2
- VERSION = "1.0.1"
3
- end
2
+ VERSION = "1.1.0"
3
+ end
metadata CHANGED
@@ -1,82 +1,73 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: flash_render
3
- version: !ruby/object:Gem::Version
4
- hash: 21
5
- prerelease: false
6
- segments:
7
- - 1
8
- - 0
9
- - 1
10
- version: 1.0.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.0
5
+ prerelease:
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Adam Hunter
14
9
  - P.B.F.
15
10
  autorequire:
16
11
  bindir: bin
17
12
  cert_chain: []
18
-
19
- date: 2010-08-16 00:00:00 -04:00
20
- default_executable:
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
13
+ date: 2013-05-28 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
23
16
  name: rails
24
- prerelease: false
25
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: !ruby/object:Gem::Requirement
26
18
  none: false
27
- requirements:
28
- - - ">="
29
- - !ruby/object:Gem::Version
30
- hash: 19
31
- segments:
32
- - 2
33
- - 3
34
- - 8
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
35
22
  version: 2.3.8
36
23
  type: :runtime
37
- version_requirements: *id001
38
- - !ruby/object:Gem::Dependency
39
- name: redgreen
40
24
  prerelease: false
41
- requirement: &id002 !ruby/object:Gem::Requirement
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: 2.3.8
31
+ - !ruby/object:Gem::Dependency
32
+ name: redgreen
33
+ requirement: !ruby/object:Gem::Requirement
42
34
  none: false
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- hash: 3
47
- segments:
48
- - 0
49
- version: "0"
35
+ requirements:
36
+ - - ! '>='
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
50
39
  type: :development
51
- version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
53
- name: bundler
54
40
  prerelease: false
55
- requirement: &id003 !ruby/object:Gem::Requirement
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ! '>='
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: bundler
49
+ requirement: !ruby/object:Gem::Requirement
56
50
  none: false
57
- requirements:
58
- - - ">="
59
- - !ruby/object:Gem::Version
60
- hash: 15424063
61
- segments:
62
- - 1
63
- - 0
64
- - 0
65
- - rc
66
- - 5
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
67
54
  version: 1.0.0.rc.5
68
55
  type: :development
69
- version_requirements: *id003
70
- description: Inspired by '_P.B.F._' at http://bit.ly/flash_render I use the `flash.now[:alert] and render` pattern all the time and wanted an easy way to share it with my apps.
71
- email:
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ! '>='
61
+ - !ruby/object:Gem::Version
62
+ version: 1.0.0.rc.5
63
+ description: Inspired by '_P.B.F._' at http://bit.ly/flash_render I use the `flash.now[:alert]
64
+ and render` pattern all the time and wanted an easy way to share it with my apps.
65
+ email:
72
66
  - adamhunter@me.com
73
67
  executables: []
74
-
75
68
  extensions: []
76
-
77
69
  extra_rdoc_files: []
78
-
79
- files:
70
+ files:
80
71
  - .gitignore
81
72
  - Gemfile
82
73
  - Gemfile.lock
@@ -130,41 +121,31 @@ files:
130
121
  - test/dummy/vendor/plugins/.gitkeep
131
122
  - test/flash_render_test.rb
132
123
  - test/test_helper.rb
133
- has_rdoc: true
134
124
  homepage: http://rubygems.org/gems/flash_render
135
125
  licenses: []
136
-
137
126
  post_install_message:
138
127
  rdoc_options: []
139
-
140
- require_paths:
128
+ require_paths:
141
129
  - lib
142
- required_ruby_version: !ruby/object:Gem::Requirement
130
+ required_ruby_version: !ruby/object:Gem::Requirement
143
131
  none: false
144
- requirements:
145
- - - ">="
146
- - !ruby/object:Gem::Version
147
- hash: 3
148
- segments:
132
+ requirements:
133
+ - - ! '>='
134
+ - !ruby/object:Gem::Version
135
+ version: '0'
136
+ segments:
149
137
  - 0
150
- version: "0"
151
- required_rubygems_version: !ruby/object:Gem::Requirement
138
+ hash: 337803498416043764
139
+ required_rubygems_version: !ruby/object:Gem::Requirement
152
140
  none: false
153
- requirements:
154
- - - ">="
155
- - !ruby/object:Gem::Version
156
- hash: 23
157
- segments:
158
- - 1
159
- - 3
160
- - 6
141
+ requirements:
142
+ - - ! '>='
143
+ - !ruby/object:Gem::Version
161
144
  version: 1.3.6
162
145
  requirements: []
163
-
164
146
  rubyforge_project: flash_render
165
- rubygems_version: 1.3.7
147
+ rubygems_version: 1.8.23
166
148
  signing_key:
167
149
  specification_version: 3
168
150
  summary: Updates render to use flashes like redirect_to
169
151
  test_files: []
170
-