jquerypp-rails 1.0.1.1.rc2 → 1.0.1.1.rc3

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -4,4 +4,5 @@ spec/support/*/Gemfile.lock
4
4
  spec/support/*/public/javascripts
5
5
  .rvmrc
6
6
  .bundle
7
- imports/*
7
+ imports/*
8
+ .DS_Store
@@ -5,33 +5,25 @@ if ::Rails.version < "3.1" || !::Rails.application.config.assets.enabled
5
5
  module Generators
6
6
  class InstallGenerator < ::Rails::Generators::Base
7
7
 
8
- desc "This generator installs jQuery++ #{Jquerypp::Rails::JQUERYPP_VERSION}, jQuery++"
8
+ desc "This generator installs jQuery++ #{Jquerypp::Rails::JQUERYPP_VERSION}"
9
9
  source_root File.expand_path('../../../../../vendor/assets/javascripts', __FILE__)
10
10
 
11
- def remove_prototype
12
- Rails::PROTOTYPE_JS.each do |name|
13
- remove_file "public/javascripts/#{name}.js"
14
- end
15
- end
16
-
17
11
  def copy_jquerypp
18
- say_status("copying", "jQuery++ (#{Jquerypp::Rails::JQUERY_VERSION})", :green)
12
+ say_status("copying", "jQuery++ (#{Jquerypp::Rails::JQUERYPP_VERSION})", :green)
19
13
  copy_file "jquerypp.js", "public/javascripts/jquerypp.js"
20
- copy_file "jquerypp.js", "vendor/assets/javascripts/jquerypp.js"
21
14
  end
22
15
 
23
16
 
24
17
  def copy_jquerypp_lib
25
- say_status("copying", "jQuery++ lib (#{Jquerypp::Rails::JQUERY_VERSION})", :green)
18
+ say_status("copying", "jQuery++ lib (#{Jquerypp::Rails::JQUERYPP_VERSION})", :green)
26
19
  copy_entry "lib/", "public/javascripts/lib"
27
- copy_entry "lib/", "vendor/assets/javascripts/lib"
28
20
  end
29
-
21
+
30
22
  end
31
23
  end
32
24
  end
33
25
  else
34
- module Jquery
26
+ module Jquerypp
35
27
  module Generators
36
28
  class InstallGenerator < ::Rails::Generators::Base
37
29
  desc "Just show instructions so people will know what to do when mistakenly using generator for Rails 3.1 apps"
@@ -1,6 +1,4 @@
1
- require "jquery/assert_select" if ::Rails.env.test?
2
-
3
- module Jquery
1
+ module Jquerypp
4
2
  module Rails
5
3
  class Engine < ::Rails::Engine
6
4
  end
@@ -1,6 +1,6 @@
1
1
  module Jquerypp
2
2
  module Rails
3
- VERSION = "1.0.1.1.rc2"
3
+ VERSION = "1.0.1.1.rc3"
4
4
  JQUERYPP_VERSION = "1.0b2"
5
5
  end
6
6
  end
@@ -1,7 +1,7 @@
1
1
  require 'jquerypp/rails/engine'
2
2
  require 'jquerypp/rails/version'
3
3
 
4
- module Jquery
4
+ module Jquerypp
5
5
  module Rails
6
6
  PROTOTYPE_JS = %w{prototype effects dragdrop controls}
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquerypp-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1.1.rc2
4
+ version: 1.0.1.1.rc3
5
5
  prerelease: 8
6
6
  platform: ruby
7
7
  authors:
@@ -42,8 +42,8 @@ files:
42
42
  - README.markdown
43
43
  - Rakefile
44
44
  - jquerypp-rails.gemspec
45
+ - lib/generators/jquerypp/install/install_generator.rb
45
46
  - lib/jquerypp-rails.rb
46
- - lib/jquerypp/generators/jquerypp/install/install_generator.rb
47
47
  - lib/jquerypp/rails.rb
48
48
  - lib/jquerypp/rails/engine.rb
49
49
  - lib/jquerypp/rails/version.rb