jquerypp-rails 1.0.1.1.rc2 → 1.0.1.1.rc3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.gitignore
CHANGED
@@ -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}
|
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::
|
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::
|
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
|
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"
|
data/lib/jquerypp/rails.rb
CHANGED
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.
|
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
|