rack-flash3 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/README.md +4 -0
  2. data/Rakefile +1 -1
  3. data/VERSION.yml +1 -1
  4. data/rack-flash3.gemspec +54 -0
  5. metadata +19 -8
data/README.md CHANGED
@@ -10,6 +10,10 @@ Simple flash hash implementation for Rack apps.
10
10
 
11
11
  Here's how to use it.
12
12
 
13
+ ### Install / add to Gemfile
14
+
15
+ gem 'rack-flash3'
16
+
13
17
  ### Vanilla Rack apps
14
18
 
15
19
  You can access flash entries via `env['x-rack.flash']`. You can treat it either
data/Rakefile CHANGED
@@ -11,7 +11,7 @@ begin
11
11
  gem.homepage = "http://www.iron.io"
12
12
  gem.authors = ["Pat Nakajima", "Travis Reeder"]
13
13
  gem.add_dependency 'rack'
14
- gem.required_ruby_version = '>= 1.9'
14
+ # gem.required_ruby_version = '>= 1.9'
15
15
  end
16
16
  Jeweler::GemcutterTasks.new
17
17
  rescue LoadError
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 1
3
3
  :minor: 0
4
- :patch: 0
4
+ :patch: 1
5
5
  :build: !!null
@@ -0,0 +1,54 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "rack-flash3"
8
+ s.version = "1.0.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Pat Nakajima", "Travis Reeder"]
12
+ s.date = "2012-03-27"
13
+ s.description = "Flash hash implementation for Rack apps."
14
+ s.email = "treeder@gmail.com"
15
+ s.extra_rdoc_files = [
16
+ "README.md"
17
+ ]
18
+ s.files = [
19
+ "README.md",
20
+ "Rakefile",
21
+ "VERSION.yml",
22
+ "example/base_app.ru",
23
+ "example/sinatra_app.rb",
24
+ "example/views/index.erb",
25
+ "example/views/layout.erb",
26
+ "example/views/show.erb",
27
+ "lib/rack-flash.rb",
28
+ "lib/rack/flash.rb",
29
+ "lib/rack/flash/test.rb",
30
+ "rack-flash3.gemspec",
31
+ "test/helper.rb",
32
+ "test/test_flash.rb"
33
+ ]
34
+ s.homepage = "http://www.iron.io"
35
+ s.require_paths = ["lib"]
36
+ s.rubygems_version = "1.8.21"
37
+ s.summary = "Flash hash implementation for Rack apps."
38
+
39
+ if s.respond_to? :specification_version then
40
+ s.specification_version = 3
41
+
42
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
43
+ s.add_runtime_dependency(%q<rack>, [">= 0"])
44
+ s.add_runtime_dependency(%q<rack>, [">= 0"])
45
+ else
46
+ s.add_dependency(%q<rack>, [">= 0"])
47
+ s.add_dependency(%q<rack>, [">= 0"])
48
+ end
49
+ else
50
+ s.add_dependency(%q<rack>, [">= 0"])
51
+ s.add_dependency(%q<rack>, [">= 0"])
52
+ end
53
+ end
54
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-flash3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-03-19 00:00:00.000000000Z
13
+ date: 2012-03-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rack
17
- requirement: &11215120 !ruby/object:Gem::Requirement
17
+ requirement: !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,15 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *11215120
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: '0'
26
31
  - !ruby/object:Gem::Dependency
27
32
  name: rack
28
- requirement: &11214480 !ruby/object:Gem::Requirement
33
+ requirement: !ruby/object:Gem::Requirement
29
34
  none: false
30
35
  requirements:
31
36
  - - ! '>='
@@ -33,7 +38,12 @@ dependencies:
33
38
  version: '0'
34
39
  type: :runtime
35
40
  prerelease: false
36
- version_requirements: *11214480
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ! '>='
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
37
47
  description: Flash hash implementation for Rack apps.
38
48
  email: treeder@gmail.com
39
49
  executables: []
@@ -52,6 +62,7 @@ files:
52
62
  - lib/rack-flash.rb
53
63
  - lib/rack/flash.rb
54
64
  - lib/rack/flash/test.rb
65
+ - rack-flash3.gemspec
55
66
  - test/helper.rb
56
67
  - test/test_flash.rb
57
68
  homepage: http://www.iron.io
@@ -65,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
65
76
  requirements:
66
77
  - - ! '>='
67
78
  - !ruby/object:Gem::Version
68
- version: '1.9'
79
+ version: '0'
69
80
  required_rubygems_version: !ruby/object:Gem::Requirement
70
81
  none: false
71
82
  requirements:
@@ -74,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
85
  version: '0'
75
86
  requirements: []
76
87
  rubyforge_project:
77
- rubygems_version: 1.8.15
88
+ rubygems_version: 1.8.21
78
89
  signing_key:
79
90
  specification_version: 3
80
91
  summary: Flash hash implementation for Rack apps.