kenny_dialoggins 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.specification +8 -17
- data/README.rdoc +18 -4
- data/VERSION +1 -1
- data/kenny_dialoggins.gemspec +1 -1
- metadata +2 -2
data/.specification
CHANGED
@@ -11,27 +11,17 @@ platform: ruby
|
|
11
11
|
authors:
|
12
12
|
- Coroutine
|
13
13
|
- Tim Lowrimore
|
14
|
+
- John Dugan
|
14
15
|
autorequire:
|
15
16
|
bindir: bin
|
16
17
|
cert_chain: []
|
17
18
|
|
18
|
-
date: 2010-03-
|
19
|
+
date: 2010-03-29 00:00:00 -05:00
|
19
20
|
default_executable:
|
20
|
-
dependencies:
|
21
|
-
|
22
|
-
name: actionpack
|
23
|
-
prerelease: false
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
requirements:
|
26
|
-
- - ">="
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
segments:
|
29
|
-
- 0
|
30
|
-
version: "0"
|
31
|
-
type: :runtime
|
32
|
-
version_requirements: *id001
|
21
|
+
dependencies: []
|
22
|
+
|
33
23
|
description: Kenny Dialoggins allows you to include scriptaculous dialogs in Rails applications using the same syntax employed for rendering partials.
|
34
|
-
email:
|
24
|
+
email: gems@coroutine.com
|
35
25
|
executables: []
|
36
26
|
|
37
27
|
extensions: []
|
@@ -39,6 +29,7 @@ extensions: []
|
|
39
29
|
extra_rdoc_files:
|
40
30
|
- README.rdoc
|
41
31
|
files:
|
32
|
+
- .specification
|
42
33
|
- MIT-LICENSE
|
43
34
|
- README.rdoc
|
44
35
|
- Rakefile
|
@@ -51,7 +42,7 @@ files:
|
|
51
42
|
- lib/kenny_dialoggins.rb
|
52
43
|
- lib/kenny_dialoggins/helpers.rb
|
53
44
|
- rails/init.rb
|
54
|
-
- test/
|
45
|
+
- test/kenny_dialoggins/helpers_test.rb
|
55
46
|
- test/test_helper.rb
|
56
47
|
has_rdoc: true
|
57
48
|
homepage: http://github.com/coroutine/kenny_dialoggins
|
@@ -84,6 +75,6 @@ signing_key:
|
|
84
75
|
specification_version: 3
|
85
76
|
summary: Dead simple, beautiful dialogs for Rails.
|
86
77
|
test_files:
|
87
|
-
- test/
|
78
|
+
- test/kenny_dialoggins/helpers_test.rb
|
88
79
|
- test/test_helper.rb
|
89
80
|
|
data/README.rdoc
CHANGED
@@ -12,7 +12,7 @@ the bone, I only care about one thing.
|
|
12
12
|
<b>Freakin' Dialogs</b>.
|
13
13
|
|
14
14
|
If you're a Rails developer who wants to use dialogs but doesn't want to mess with Javascript, you
|
15
|
-
might want to prep your best friend for some bad news. We're about to become
|
15
|
+
might want to prep your best friend for some bad news. We're about to become tight.
|
16
16
|
|
17
17
|
Let me lay it out for you. If you want my dialog in one of your views, here's what you do:
|
18
18
|
|
@@ -27,7 +27,7 @@ That's pretty much it. Did you notice how <tt>render_dialog</tt> takes the same
|
|
27
27
|
|
28
28
|
You like that. I can tell. Don't fight it.
|
29
29
|
|
30
|
-
|
30
|
+
What's that, you want more details? You got it, buddy.
|
31
31
|
|
32
32
|
<tt>render_dialog</tt> always needs a unique id for its first argument. After that, it will
|
33
33
|
take the same options as <tt>ActionController::Base#render</tt>. It'll also take a few more, namely:
|
@@ -86,11 +86,25 @@ Or install me as a plugin.
|
|
86
86
|
|
87
87
|
$ script/plugin install git://github.com/coroutine/kenny_dialoggins.git
|
88
88
|
|
89
|
-
|
89
|
+
Either way, then generate the stylesheet and javascript files I need.
|
90
90
|
|
91
91
|
$ script/generate kenny_dialoggins_assets
|
92
92
|
|
93
|
-
|
93
|
+
|
94
|
+
|
95
|
+
== IE6 Support
|
96
|
+
|
97
|
+
I'm not what you'd call a huge fan on IE6, so I don't provide a blocking
|
98
|
+
iframe for my dialogs by default. But I can. You just need to ask nicely.
|
99
|
+
|
100
|
+
At the top of the generated javascript file, just change the obviously-named property
|
101
|
+
hanging right off of the Kenny D namespace. Like this.
|
102
|
+
|
103
|
+
KennyDialoggins.SUPPORT_IE6_BULLSHIT = true;
|
104
|
+
|
105
|
+
That's it. I do the rest.
|
106
|
+
|
107
|
+
|
94
108
|
|
95
109
|
== License
|
96
110
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/kenny_dialoggins.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{kenny_dialoggins}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.1"
|
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"]
|