applicious_utils 0.1.27 → 0.1.28
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/applicious_utils/version.rb +1 -1
- data/lib/generators/{applicious_uploader_initializer.rb → applicious_utils/applicious_generator.rb} +7 -2
- data/lib/generators/{templates → applicious_utils/templates}/amazon_s3.yml +0 -0
- data/lib/generators/{templates → applicious_utils/templates}/session_store.rb +0 -0
- metadata +4 -4
data/lib/generators/{applicious_uploader_initializer.rb → applicious_utils/applicious_generator.rb}
RENAMED
@@ -1,5 +1,10 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
require 'rails/generators'
|
2
|
+
|
3
|
+
class AppliciousGenerator < Rails::Generators::Base
|
4
|
+
def self.source_root
|
5
|
+
@source_root ||= File.join(File.dirname(__FILE__), 'templates')
|
6
|
+
end
|
7
|
+
|
3
8
|
def create_uploader_files
|
4
9
|
template "amazon_s3.yml", "app/config/amazon_s3.yml"
|
5
10
|
copy_file "../../../app/assets/javascripts/applicious_utils/Plupload/js/plupload.flash.swf", "public/applicious/plupload/plupload.flash.swf"
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: applicious_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.28
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -80,9 +80,9 @@ files:
|
|
80
80
|
- lib/applicious_utils/uploads_helper.rb
|
81
81
|
- lib/applicious_utils/version.rb
|
82
82
|
- lib/applicious_utils.rb
|
83
|
-
- lib/generators/
|
84
|
-
- lib/generators/templates/amazon_s3.yml
|
85
|
-
- lib/generators/templates/session_store.rb
|
83
|
+
- lib/generators/applicious_utils/applicious_generator.rb
|
84
|
+
- lib/generators/applicious_utils/templates/amazon_s3.yml
|
85
|
+
- lib/generators/applicious_utils/templates/session_store.rb
|
86
86
|
- Rakefile
|
87
87
|
homepage: http://appliciousagency.com
|
88
88
|
licenses: []
|