BBenezech-papermill 0.1.0 → 0.1.1

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.
Files changed (5) hide show
  1. data/VERSION +1 -1
  2. data/init.rb +1 -10
  3. data/papermill.gemspec +2 -1
  4. data/rails/init.rb +10 -0
  5. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
data/init.rb CHANGED
@@ -1,10 +1 @@
1
- require 'core_extensions'
2
- Object.send :include, ObjectExtensions
3
- Hash.send :include, HashExtensions
4
- String.send :include, StringExtensions
5
-
6
- I18n.load_path = [File.join(File.dirname(__FILE__), 'config/locale/papermill.yml')] + I18n.load_path
7
-
8
- require 'papermill'
9
- ActionView::Base.send :include, PapermillHelper
10
- ActiveRecord::Base.send :include, Papermill
1
+ require File.dirname(__FILE__) + "/rails/init.rb"
data/papermill.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{papermill}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Benoit B\303\251n\303\251zech"]
@@ -50,6 +50,7 @@ Gem::Specification.new do |s|
50
50
  "public/images/papermill/upload.png",
51
51
  "public/javascripts/papermill.js",
52
52
  "public/stylesheets/papermill.css",
53
+ "rails/init.rb",
53
54
  "tasks/papermill_tasks.rake",
54
55
  "test/papermill_test.rb",
55
56
  "test/test_helper.rb",
data/rails/init.rb ADDED
@@ -0,0 +1,10 @@
1
+ require 'core_extensions'
2
+ Object.send :include, ObjectExtensions
3
+ Hash.send :include, HashExtensions
4
+ String.send :include, StringExtensions
5
+
6
+ I18n.load_path = [File.join(File.dirname(__FILE__), '../config/locale/papermill.yml')] + I18n.load_path
7
+
8
+ require 'papermill'
9
+ ActionView::Base.send :include, PapermillHelper
10
+ ActiveRecord::Base.send :include, Papermill
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: BBenezech-papermill
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Benoit B\xC3\xA9n\xC3\xA9zech"
@@ -56,13 +56,13 @@ files:
56
56
  - public/images/papermill/upload.png
57
57
  - public/javascripts/papermill.js
58
58
  - public/stylesheets/papermill.css
59
+ - rails/init.rb
59
60
  - tasks/papermill_tasks.rake
60
61
  - test/papermill_test.rb
61
62
  - test/test_helper.rb
62
63
  - uninstall.rb
63
64
  has_rdoc: false
64
65
  homepage: http://github.com/BBenezech/papermill
65
- licenses:
66
66
  post_install_message:
67
67
  rdoc_options:
68
68
  - --charset=UTF-8
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  requirements: []
84
84
 
85
85
  rubyforge_project:
86
- rubygems_version: 1.3.5
86
+ rubygems_version: 1.2.0
87
87
  signing_key:
88
88
  specification_version: 3
89
89
  summary: Paperclip wrapper