rack-flash3 1.0.3 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (7) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +2 -0
  3. data/LICENSE +21 -0
  4. data/Rakefile +0 -28
  5. data/VERSION.yml +1 -1
  6. data/rack-flash3.gemspec +16 -49
  7. metadata +19 -35
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ea77afd8947ee7541b80ed746b03eed1207cb7b4
4
+ data.tar.gz: 74c664c9a02d0af8a58e4f1f9ab0944844c887e6
5
+ SHA512:
6
+ metadata.gz: ba567e1c61690e69585f18f29d142770a18e09a49f7c7cd52a3d3e7a0488201064e12fabb022a91eb096c7032b918102a8c2a98fa8b7d44f103b36853e1acd96
7
+ data.tar.gz: 802301371d55ccf5433297a45901f3484229a891ae726ef5fb8cb8119b8ba193ead72cbcc6fe262d436dc46a6b82fb9f41bc7f0f068b2c8d69fe6f788aa0cdc5
@@ -0,0 +1,2 @@
1
+ .idea
2
+ pkg/
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2013 Travis Reeder, Pat Nakajima
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/Rakefile CHANGED
@@ -1,28 +0,0 @@
1
- require 'rubygems'
2
- require 'rake'
3
-
4
- begin
5
- require 'jeweler2'
6
- Jeweler::Tasks.new do |gem|
7
- gem.name = "rack-flash3"
8
- gem.summary = "Flash hash implementation for Rack apps."
9
- gem.description = "Flash hash implementation for Rack apps."
10
- gem.email = "treeder@gmail.com"
11
- gem.homepage = "https://github.com/treeder/rack-flash"
12
- gem.authors = ["Pat Nakajima", "Travis Reeder"]
13
- gem.add_dependency 'rack'
14
- # gem.required_ruby_version = '>= 1.9'
15
- end
16
- Jeweler::GemcutterTasks.new
17
- rescue LoadError
18
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler2"
19
- end
20
-
21
- require 'rake/testtask'
22
- Rake::TestTask.new(:test) do |test|
23
- test.libs << 'lib' << 'test'
24
- test.pattern = 'test/**/test_*.rb'
25
- test.verbose = true
26
- end
27
-
28
- task :default => :test
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 1
3
3
  :minor: 0
4
- :patch: 3
4
+ :patch: 4
5
5
  :build:
@@ -1,54 +1,21 @@
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 -*-
1
+ require File.expand_path('../lib/rack/flash/version', __FILE__)
5
2
 
6
- Gem::Specification.new do |s|
7
- s.name = "rack-flash3"
8
- s.version = "1.0.3"
3
+ Gem::Specification.new do |gem|
4
+ gem.authors = ["Pat Nakajima", "Travis Reeder"]
5
+ gem.email = ["treeder@gmail.com"]
6
+ gem.description = "Flash hash implementation for Rack apps."
7
+ gem.summary = "Flash hash implementation for Rack apps."
8
+ gem.homepage = "https://github.com/treeder/rack-flash"
9
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 = "2013-01-02"
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 = "https://github.com/treeder/rack-flash"
35
- s.require_paths = ["lib"]
36
- s.rubygems_version = "1.8.24"
37
- s.summary = "Flash hash implementation for Rack apps."
10
+ gem.files = `git ls-files`.split($\)
11
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
12
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
13
+ gem.name = "rack-flash3"
14
+ gem.require_paths = ["lib"]
15
+ gem.version = RackFlash::VERSION
38
16
 
39
- if s.respond_to? :specification_version then
40
- s.specification_version = 3
17
+ gem.required_rubygems_version = ">= 1.3.6"
18
+ gem.required_ruby_version = Gem::Requirement.new(">= 1.8")
19
+ gem.add_runtime_dependency "rack", ">= 0"
41
20
 
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
21
  end
54
-
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-flash3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
5
- prerelease:
4
+ version: 1.0.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Pat Nakajima
@@ -10,47 +9,31 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-01-02 00:00:00.000000000 Z
12
+ date: 2013-09-03 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: rack
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - '>='
21
19
  - !ruby/object:Gem::Version
22
20
  version: '0'
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ! '>='
29
- - !ruby/object:Gem::Version
30
- version: '0'
31
- - !ruby/object:Gem::Dependency
32
- name: rack
33
- requirement: !ruby/object:Gem::Requirement
34
- none: false
35
- requirements:
36
- - - ! '>='
37
- - !ruby/object:Gem::Version
38
- version: '0'
39
- type: :runtime
40
- prerelease: false
41
- version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
- requirements:
44
- - - ! '>='
25
+ - - '>='
45
26
  - !ruby/object:Gem::Version
46
27
  version: '0'
47
28
  description: Flash hash implementation for Rack apps.
48
- email: treeder@gmail.com
29
+ email:
30
+ - treeder@gmail.com
49
31
  executables: []
50
32
  extensions: []
51
- extra_rdoc_files:
52
- - README.md
33
+ extra_rdoc_files: []
53
34
  files:
35
+ - .gitignore
36
+ - LICENSE
54
37
  - README.md
55
38
  - Rakefile
56
39
  - VERSION.yml
@@ -67,26 +50,27 @@ files:
67
50
  - test/test_flash.rb
68
51
  homepage: https://github.com/treeder/rack-flash
69
52
  licenses: []
53
+ metadata: {}
70
54
  post_install_message:
71
55
  rdoc_options: []
72
56
  require_paths:
73
57
  - lib
74
58
  required_ruby_version: !ruby/object:Gem::Requirement
75
- none: false
76
59
  requirements:
77
- - - ! '>='
60
+ - - '>='
78
61
  - !ruby/object:Gem::Version
79
- version: '0'
62
+ version: '1.8'
80
63
  required_rubygems_version: !ruby/object:Gem::Requirement
81
- none: false
82
64
  requirements:
83
- - - ! '>='
65
+ - - '>='
84
66
  - !ruby/object:Gem::Version
85
- version: '0'
67
+ version: 1.3.6
86
68
  requirements: []
87
69
  rubyforge_project:
88
- rubygems_version: 1.8.24
70
+ rubygems_version: 2.0.3
89
71
  signing_key:
90
- specification_version: 3
72
+ specification_version: 4
91
73
  summary: Flash hash implementation for Rack apps.
92
- test_files: []
74
+ test_files:
75
+ - test/helper.rb
76
+ - test/test_flash.rb