flashatron 0.3.2 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
data/.document CHANGED
File without changes
data/.gitignore CHANGED
File without changes
File without changes
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
File without changes
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.2
1
+ 0.4.0
File without changes
@@ -0,0 +1,59 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{flashatron}
8
+ s.version = "0.4.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Dan Williams"]
12
+ s.date = %q{2010-07-29}
13
+ s.description = %q{Handle your flash notices etc via javascript. Why would you want to do this? It lets you easily handle flash notices from ajax calls.}
14
+ s.email = %q{dan.williams@itthugs.com}
15
+ s.extra_rdoc_files = [
16
+ "README.md"
17
+ ]
18
+ s.files = [
19
+ ".document",
20
+ ".gitignore",
21
+ "MIT-LICENSE",
22
+ "README.md",
23
+ "Rakefile",
24
+ "VERSION",
25
+ "app/views/_flashatron.erb",
26
+ "app/views/layouts/application.js.erb",
27
+ "flashatron.gemspec",
28
+ "init.rb",
29
+ "lib/Flashatron.rb",
30
+ "lib/generators/USAGE",
31
+ "lib/generators/flashatron_generator.rb",
32
+ "spec/Flashatron_spec.rb",
33
+ "spec/spec.opts",
34
+ "spec/spec_helper.rb"
35
+ ]
36
+ s.homepage = %q{http://github.com/deedubs/Flashatron}
37
+ s.rdoc_options = ["--charset=UTF-8"]
38
+ s.require_paths = ["lib"]
39
+ s.rubygems_version = %q{1.3.7}
40
+ s.summary = %q{There's a JS in my Flash Message}
41
+ s.test_files = [
42
+ "spec/Flashatron_spec.rb",
43
+ "spec/spec_helper.rb"
44
+ ]
45
+
46
+ if s.respond_to? :specification_version then
47
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
48
+ s.specification_version = 3
49
+
50
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
51
+ s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
52
+ else
53
+ s.add_dependency(%q<rspec>, [">= 1.2.9"])
54
+ end
55
+ else
56
+ s.add_dependency(%q<rspec>, [">= 1.2.9"])
57
+ end
58
+ end
59
+
data/init.rb CHANGED
File without changes
@@ -2,12 +2,11 @@
2
2
  module Flashatron
3
3
  module ViewHelper
4
4
  def render_flashes
5
- render '/flashatron', :format => :js
5
+ render 'flashatron'
6
6
  end
7
7
  end
8
8
 
9
9
  def self.init
10
- ActionView::Helpers::AssetTagHelper.register_javascript_include_default('flashatron')
11
10
  ActionView::Base.send :include, Flashatron::ViewHelper
12
11
  ActionController::Base.append_view_path File.join(File.dirname(__FILE__),'..','app','views')
13
12
  end
File without changes
File without changes
File without changes
File without changes
File without changes
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flashatron
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 15
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
- - 3
8
- - 2
9
- version: 0.3.2
8
+ - 4
9
+ - 0
10
+ version: 0.4.0
10
11
  platform: ruby
11
12
  authors:
12
13
  - Dan Williams
@@ -14,16 +15,18 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-02-27 00:00:00 -04:00
18
+ date: 2010-07-29 00:00:00 -03:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: rspec
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - ">="
26
28
  - !ruby/object:Gem::Version
29
+ hash: 13
27
30
  segments:
28
31
  - 1
29
32
  - 2
@@ -46,8 +49,9 @@ files:
46
49
  - README.md
47
50
  - Rakefile
48
51
  - VERSION
49
- - app/views/_flashatron.js.erb
52
+ - app/views/_flashatron.erb
50
53
  - app/views/layouts/application.js.erb
54
+ - flashatron.gemspec
51
55
  - init.rb
52
56
  - lib/Flashatron.rb
53
57
  - lib/generators/USAGE
@@ -65,23 +69,27 @@ rdoc_options:
65
69
  require_paths:
66
70
  - lib
67
71
  required_ruby_version: !ruby/object:Gem::Requirement
72
+ none: false
68
73
  requirements:
69
74
  - - ">="
70
75
  - !ruby/object:Gem::Version
76
+ hash: 3
71
77
  segments:
72
78
  - 0
73
79
  version: "0"
74
80
  required_rubygems_version: !ruby/object:Gem::Requirement
81
+ none: false
75
82
  requirements:
76
83
  - - ">="
77
84
  - !ruby/object:Gem::Version
85
+ hash: 3
78
86
  segments:
79
87
  - 0
80
88
  version: "0"
81
89
  requirements: []
82
90
 
83
91
  rubyforge_project:
84
- rubygems_version: 1.3.6
92
+ rubygems_version: 1.3.7
85
93
  signing_key:
86
94
  specification_version: 3
87
95
  summary: There's a JS in my Flash Message