rails3-generators 0.12.0 → 0.12.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -2,6 +2,10 @@
2
2
  * Grow Mustache up.(fix the TODOs and move the source to a mustache-rails like gem)
3
3
  * Write some documentation. (In both the github wiki and the source code)
4
4
 
5
+ == 0.12.1
6
+ * optimize
7
+ * changed jqueryui option to --ui
8
+
5
9
  == 0.12.0
6
10
  * enhancements
7
11
  * added jqueryui (ProGNOMmers [Maurizio])
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.12.0
1
+ 0.12.1
@@ -4,7 +4,8 @@ module Jquery
4
4
  module Generators
5
5
  class InstallGenerator < Rails::Generators::Base
6
6
  extend TemplatePath
7
- class_option :jqueryui, :type => :boolean, :default => false, :desc => "Indicates when to Include JQueryUI (minified version; source: Google Libraries API)"
7
+
8
+ class_option :ui, :type => :boolean, :default => false, :desc => "Indicates when to Include JQueryUI (minified version; source: Google Libraries API)"
8
9
 
9
10
  def download_jquery_files
10
11
  %w(controls.js dragdrop.js effects.js prototype.js rails.js).each do |js|
@@ -20,7 +21,7 @@ module Jquery
20
21
 
21
22
  def download_jqueryui_files
22
23
  # Downloading latest jQueryUI minified
23
- get "http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js", "public/javascripts/jqueryui.js" if options.jqueryui?
24
+ get "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js", "public/javascripts/jqueryui.js" if options.ui?
24
25
  end
25
26
 
26
27
  def show_readme
@@ -13,4 +13,4 @@ Some manual steps you have to do
13
13
 
14
14
  2. Rerun the generator to update the javascript files
15
15
 
16
- ===============================================================================
16
+ ===============================================================================
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rails3-generators}
8
- s.version = "0.12.0"
8
+ s.version = "0.12.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jose Valim", "Anuj Dutta", "Paul Berry", "Jeff Tucker", "Louis T.", "Jai-Gouk Kim", "Darcy Laycock", "Peter Haza", "Peter Gumeson", "Kristian Mandrup"]
12
- s.date = %q{2010-08-03}
12
+ s.date = %q{2010-08-04}
13
13
  s.description = %q{Rails 3 compatible generators for DataMapper, Haml, Factory-girl, Authlogic, Mongomapper, Mongoid, Shoulda, Formtastic and SimpleForm}
14
14
  s.email = %q{andre@arko.net}
15
15
  s.extra_rdoc_files = [
@@ -151,7 +151,7 @@ Gem::Specification.new do |s|
151
151
  ]
152
152
  s.homepage = %q{http://github.com/indirect/rails3-generators}
153
153
  s.post_install_message = %q{
154
- rails3-generators-0.12.0
154
+ rails3-generators-0.12.1
155
155
 
156
156
  Be sure to check out the wiki, http://wiki.github.com/indirect/rails3-generators/,
157
157
  for information about recent changes to this project.
@@ -15,7 +15,7 @@ class Jquery::Generators::InstallGeneratorTest < Rails::Generators::TestCase
15
15
  end
16
16
 
17
17
  test 'jquery is installed with jqueyui' do
18
- run_generator %w(--jqueryui)
18
+ run_generator %w(--ui)
19
19
 
20
20
  %w(jquery.js jqueryui.js rails.js).each { |js| assert_file "public/javascripts/#{js}" }
21
21
  %w(controls.js dragdrop.js effects.js prototype.js).each { |js| assert_no_file "public/javascripts/#{js}" }
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 12
8
- - 0
9
- version: 0.12.0
8
+ - 1
9
+ version: 0.12.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jose Valim
@@ -23,7 +23,7 @@ autorequire:
23
23
  bindir: bin
24
24
  cert_chain: []
25
25
 
26
- date: 2010-08-03 00:00:00 -04:00
26
+ date: 2010-08-04 00:00:00 -04:00
27
27
  default_executable:
28
28
  dependencies: []
29
29
 
@@ -173,7 +173,7 @@ homepage: http://github.com/indirect/rails3-generators
173
173
  licenses: []
174
174
 
175
175
  post_install_message: "\n\
176
- rails3-generators-0.12.0\n\n\
176
+ rails3-generators-0.12.1\n\n\
177
177
  Be sure to check out the wiki, http://wiki.github.com/indirect/rails3-generators/,\n\
178
178
  for information about recent changes to this project.\n \n\
179
179
  note: ORM :datamapper has been renamed to :data_mapper\n\