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.
@@ -1,3 +1,3 @@
1
1
  module AppliciousUtils
2
- VERSION = "0.1.27"
2
+ VERSION = "0.1.28"
3
3
  end
@@ -1,5 +1,10 @@
1
- class AppliciousUploaderGenerator < Rails::Generators::Base
2
- source_root File.expand_path("../templates", __FILE__)
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"
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.27
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/applicious_uploader_initializer.rb
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: []