midas-g_toggle_block 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -25,8 +25,8 @@ based on a check box being checked.
25
25
 
26
26
  <% g_toggle_block :id => "optional-fields", :toggler_id => "toggle-cecbems-required" do %>
27
27
  <%= f.text_field :another_field_1 %>
28
- <%= f.text_field :another_field_2 %>
29
- # ...
28
+ <%= f.text_field :another_field_2 %>
29
+ # ...
30
30
  <% end %>
31
31
 
32
32
 
@@ -42,7 +42,7 @@ based on a check box being checked.
42
42
 
43
43
  In rails environment.rb file:
44
44
 
45
- config.gem 'midas-g_toggle_block', :version => "1.0.0", :lib => 'g_toggle_block', :source => 'http://gems.github.com'
45
+ config.gem 'midas-g_toggle_block', :version => "1.0.1", :lib => 'g_toggle_block', :source => 'http://gems.github.com'
46
46
 
47
47
 
48
48
  == LICENSE:
@@ -0,0 +1,44 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{g_toggle_block}
5
+ s.version = "1.0.1"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["C. Jason Harrelson (midas)"]
9
+ s.date = %q{2009-03-21}
10
+ s.description = %q{A Rails Guilded (http://github.com/midas/guilded/tree/master) component allowing a block of markup to be shown and hidden by toggling another control.}
11
+ s.email = ["jason@lookforwardenterprises.com"]
12
+ s.extra_rdoc_files = ["History.txt", "Manifest.txt", "PostInstall.txt", "README.rdoc"]
13
+ s.files = ["History.txt", "Manifest.txt", "PostInstall.txt", "README.rdoc", "Rakefile", "g_toggle_block.gemspec", "lib/g_toggle_block.rb", "lib/g_toggle_block/view_helpers.rb", "rails_generators/toggle_block_assets/templates/guilded.toggle_block.js", "rails_generators/toggle_block_assets/templates/guilded.toggle_block.min.js", "rails_generators/toggle_block_assets/toggle_block_assets_generator.rb", "script/console", "script/destroy", "script/generate", "spec/g_toggle_block_spec.rb", "spec/spec.opts", "spec/spec_helper.rb", "tasks/rspec.rake"]
14
+ s.has_rdoc = true
15
+ s.homepage = %q{http://github.com/midas/g_toggle_block/tree/master}
16
+ s.post_install_message = %q{PostInstall.txt}
17
+ s.rdoc_options = ["--main", "README.rdoc"]
18
+ s.require_paths = ["lib"]
19
+ s.rubyforge_project = %q{g_toggle_block}
20
+ s.rubygems_version = %q{1.3.1}
21
+ s.summary = %q{A Rails Guilded (http://github.com/midas/guilded/tree/master) component allowing a block of markup to be shown and hidden by toggling another control.}
22
+
23
+ if s.respond_to? :specification_version then
24
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
25
+ s.specification_version = 2
26
+
27
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
28
+ s.add_development_dependency(%q<newgem>, [">= 1.2.3"])
29
+ s.add_development_dependency(%q<rails>, [">= 2.2.0"])
30
+ s.add_development_dependency(%q<midas-guilded>, [">= 0.1.4"])
31
+ s.add_development_dependency(%q<hoe>, [">= 1.8.0"])
32
+ else
33
+ s.add_dependency(%q<newgem>, [">= 1.2.3"])
34
+ s.add_dependency(%q<rails>, [">= 2.2.0"])
35
+ s.add_dependency(%q<midas-guilded>, [">= 0.1.4"])
36
+ s.add_dependency(%q<hoe>, [">= 1.8.0"])
37
+ end
38
+ else
39
+ s.add_dependency(%q<newgem>, [">= 1.2.3"])
40
+ s.add_dependency(%q<rails>, [">= 2.2.0"])
41
+ s.add_dependency(%q<midas-guilded>, [">= 0.1.4"])
42
+ s.add_dependency(%q<hoe>, [">= 1.8.0"])
43
+ end
44
+ end
@@ -1,8 +1,10 @@
1
1
  $:.unshift(File.dirname(__FILE__)) unless
2
2
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
3
 
4
+ require 'g_toggle_block/view_helpers'
5
+
4
6
  module GToggleBlock
5
- VERSION = '1.0.0'
7
+ VERSION = '1.0.1'
6
8
  end
7
9
 
8
10
  if defined? ActionView::Base
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: midas-g_toggle_block
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - C. Jason Harrelson (midas)
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-03-18 00:00:00 -07:00
12
+ date: 2009-03-21 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -70,6 +70,7 @@ files:
70
70
  - PostInstall.txt
71
71
  - README.rdoc
72
72
  - Rakefile
73
+ - g_toggle_block.gemspec
73
74
  - lib/g_toggle_block.rb
74
75
  - lib/g_toggle_block/view_helpers.rb
75
76
  - rails_generators/toggle_block_assets/templates/guilded.toggle_block.js