kenny_dialoggins 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/.specification CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Coroutine
data/README.rdoc CHANGED
@@ -78,9 +78,9 @@ in the mix.
78
78
 
79
79
  == Installation & Generators
80
80
 
81
- Install me from RubyGems.org and add a gem dependency in your configuration file.
81
+ Install me from RubyGems.org and add a gem dependency in the appropriate file.
82
82
 
83
- $ sudo gem install kenny_dialoggins
83
+ $ gem install kenny_dialoggins
84
84
 
85
85
  Or install me as a plugin.
86
86
 
@@ -88,7 +88,7 @@ Or install me as a plugin.
88
88
 
89
89
  Either way, then generate the stylesheet and javascript files I need.
90
90
 
91
- $ script/generate kenny_dialoggins_assets
91
+ $ script/generate kenny_dialoggins
92
92
 
93
93
 
94
94
 
@@ -108,4 +108,23 @@ That's it. I do the rest.
108
108
 
109
109
  == License
110
110
 
111
- Copyright (c) 2010 {Coroutine LLC}[http://coroutine.com].
111
+ Copyright (c) 2010 {Coroutine LLC}[http://coroutine.com].
112
+
113
+ Permission is hereby granted, free of charge, to any person obtaining
114
+ a copy of this software and associated documentation files (the
115
+ "Software"), to deal in the Software without restriction, including
116
+ without limitation the rights to use, copy, modify, merge, publish,
117
+ distribute, sublicense, and/or sell copies of the Software, and to
118
+ permit persons to whom the Software is furnished to do so, subject to
119
+ the following conditions:
120
+
121
+ The above copyright notice and this permission notice shall be
122
+ included in all copies or substantial portions of the Software.
123
+
124
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
125
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
126
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
127
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
128
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
129
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
130
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile CHANGED
@@ -1,28 +1,28 @@
1
1
  require 'rake'
2
2
  require 'rake/testtask'
3
- require 'rake/rdoctask'
4
- require 'jeweler'
3
+ require "rake/rdoctask"
4
+ require "jeweler"
5
5
 
6
6
 
7
- desc 'Default: run tests.'
7
+ desc "Default: run tests."
8
8
  task :default => [:test]
9
9
 
10
10
 
11
- desc 'Test the plugin.'
11
+ desc "Test the plugin."
12
12
  Rake::TestTask.new(:test) do |t|
13
- t.libs << 'lib'
14
- t.pattern = 'test/**/*_test.rb'
15
- t.verbose = true
13
+ t.libs << "lib"
14
+ t.pattern = "test/**/*_test.rb"
15
+ t.verbose = true
16
16
  end
17
17
 
18
18
 
19
- desc 'Generate documentation for the plugin.'
19
+ desc "Generate documentation for the plugin."
20
20
  Rake::RDocTask.new(:rdoc) do |rdoc|
21
- rdoc.rdoc_dir = 'rdoc'
22
- rdoc.title = 'kenny_dialoggins'
23
- rdoc.options << '--line-numbers --inline-source'
24
- rdoc.rdoc_files.include('README')
25
- rdoc.rdoc_files.include('lib/**/*.rb')
21
+ rdoc.rdoc_dir = "rdoc"
22
+ rdoc.title = "kenny_dialoggins"
23
+ rdoc.options << "--line-numbers --inline-source"
24
+ rdoc.rdoc_files.include("README")
25
+ rdoc.rdoc_files.include("lib/**/*.rb")
26
26
  end
27
27
 
28
28
 
@@ -35,7 +35,10 @@ begin
35
35
  gemspec.name = "kenny_dialoggins"
36
36
  gemspec.summary = "Dead simple, beautiful dialogs for Rails."
37
37
 
38
- gemspec.files.include("lib/**/*.rb")
38
+ gemspec.add_dependency("actionpack", ">=2.3.4")
39
+ gemspec.add_development_dependency("activesupport", ">=2.3.4")
40
+
41
+ gemspec.files.include("generators/**/*", "lib/**/*")
39
42
  gemspec.files.include("test/**/*.rb")
40
43
  end
41
44
  Jeweler::GemcutterTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -1,4 +1,8 @@
1
- class KennyDialogginsAssetsGenerator < Rails::Generator::Base
1
+ class KennyDialogginsGenerator < Rails::Generator::Base
2
+
3
+ # This method copies stylesheet and javascript files to the
4
+ # corresponding public directories.
5
+ #
2
6
  def manifest
3
7
  record do |m|
4
8
  m.file "kenny_dialoggins.js", "public/javascripts/kenny_dialoggins.js"
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{kenny_dialoggins}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Coroutine", "Tim Lowrimore", "John Dugan"]
12
- s.date = %q{2010-03-29}
12
+ s.date = %q{2010-07-29}
13
13
  s.description = %q{Kenny Dialoggins allows you to include scriptaculous dialogs in Rails applications using the same syntax employed for rendering partials.}
14
14
  s.email = %q{gems@coroutine.com}
15
15
  s.extra_rdoc_files = [
@@ -21,9 +21,9 @@ Gem::Specification.new do |s|
21
21
  "README.rdoc",
22
22
  "Rakefile",
23
23
  "VERSION",
24
- "generators/kenny_dialoggins_assets/kenny_dialoggins_assets_generator.rb",
25
- "generators/kenny_dialoggins_assets/templates/kenny_dialoggins.css",
26
- "generators/kenny_dialoggins_assets/templates/kenny_dialoggins.js",
24
+ "generators/kenny_dialoggins/kenny_dialoggins_generator.rb",
25
+ "generators/kenny_dialoggins/templates/kenny_dialoggins.css",
26
+ "generators/kenny_dialoggins/templates/kenny_dialoggins.js",
27
27
  "init.rb",
28
28
  "kenny_dialoggins.gemspec",
29
29
  "lib/kenny_dialoggins.rb",
@@ -35,7 +35,7 @@ Gem::Specification.new do |s|
35
35
  s.homepage = %q{http://github.com/coroutine/kenny_dialoggins}
36
36
  s.rdoc_options = ["--charset=UTF-8"]
37
37
  s.require_paths = ["lib"]
38
- s.rubygems_version = %q{1.3.6}
38
+ s.rubygems_version = %q{1.3.7}
39
39
  s.summary = %q{Dead simple, beautiful dialogs for Rails.}
40
40
  s.test_files = [
41
41
  "test/kenny_dialoggins/helpers_test.rb",
@@ -46,10 +46,16 @@ Gem::Specification.new do |s|
46
46
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
47
47
  s.specification_version = 3
48
48
 
49
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
49
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
50
+ s.add_runtime_dependency(%q<actionpack>, [">= 2.3.4"])
51
+ s.add_development_dependency(%q<activesupport>, [">= 2.3.4"])
50
52
  else
53
+ s.add_dependency(%q<actionpack>, [">= 2.3.4"])
54
+ s.add_dependency(%q<activesupport>, [">= 2.3.4"])
51
55
  end
52
56
  else
57
+ s.add_dependency(%q<actionpack>, [">= 2.3.4"])
58
+ s.add_dependency(%q<activesupport>, [">= 2.3.4"])
53
59
  end
54
60
  end
55
61
 
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kenny_dialoggins
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 31
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 1
8
- - 1
9
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
10
11
  platform: ruby
11
12
  authors:
12
13
  - Coroutine
@@ -16,10 +17,41 @@ autorequire:
16
17
  bindir: bin
17
18
  cert_chain: []
18
19
 
19
- date: 2010-03-29 00:00:00 -05:00
20
+ date: 2010-07-29 00:00:00 -05:00
20
21
  default_executable:
21
- dependencies: []
22
-
22
+ dependencies:
23
+ - !ruby/object:Gem::Dependency
24
+ name: actionpack
25
+ prerelease: false
26
+ requirement: &id001 !ruby/object:Gem::Requirement
27
+ none: false
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ hash: 11
32
+ segments:
33
+ - 2
34
+ - 3
35
+ - 4
36
+ version: 2.3.4
37
+ type: :runtime
38
+ version_requirements: *id001
39
+ - !ruby/object:Gem::Dependency
40
+ name: activesupport
41
+ prerelease: false
42
+ requirement: &id002 !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ hash: 11
48
+ segments:
49
+ - 2
50
+ - 3
51
+ - 4
52
+ version: 2.3.4
53
+ type: :development
54
+ version_requirements: *id002
23
55
  description: Kenny Dialoggins allows you to include scriptaculous dialogs in Rails applications using the same syntax employed for rendering partials.
24
56
  email: gems@coroutine.com
25
57
  executables: []
@@ -34,9 +66,9 @@ files:
34
66
  - README.rdoc
35
67
  - Rakefile
36
68
  - VERSION
37
- - generators/kenny_dialoggins_assets/kenny_dialoggins_assets_generator.rb
38
- - generators/kenny_dialoggins_assets/templates/kenny_dialoggins.css
39
- - generators/kenny_dialoggins_assets/templates/kenny_dialoggins.js
69
+ - generators/kenny_dialoggins/kenny_dialoggins_generator.rb
70
+ - generators/kenny_dialoggins/templates/kenny_dialoggins.css
71
+ - generators/kenny_dialoggins/templates/kenny_dialoggins.js
40
72
  - init.rb
41
73
  - kenny_dialoggins.gemspec
42
74
  - lib/kenny_dialoggins.rb
@@ -54,23 +86,27 @@ rdoc_options:
54
86
  require_paths:
55
87
  - lib
56
88
  required_ruby_version: !ruby/object:Gem::Requirement
89
+ none: false
57
90
  requirements:
58
91
  - - ">="
59
92
  - !ruby/object:Gem::Version
93
+ hash: 3
60
94
  segments:
61
95
  - 0
62
96
  version: "0"
63
97
  required_rubygems_version: !ruby/object:Gem::Requirement
98
+ none: false
64
99
  requirements:
65
100
  - - ">="
66
101
  - !ruby/object:Gem::Version
102
+ hash: 3
67
103
  segments:
68
104
  - 0
69
105
  version: "0"
70
106
  requirements: []
71
107
 
72
108
  rubyforge_project:
73
- rubygems_version: 1.3.6
109
+ rubygems_version: 1.3.7
74
110
  signing_key:
75
111
  specification_version: 3
76
112
  summary: Dead simple, beautiful dialogs for Rails.