transloadit-rails 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,4 +1,4 @@
1
- require 'rake/gempackagetask'
1
+ require 'rubygems/package_task'
2
2
  require 'rake/testtask'
3
3
 
4
4
  RUBIES = %w{ 1.9.2 1.8.7 1.8.6 rbx-1.2.0 }
@@ -6,7 +6,7 @@ RUBIES = %w{ 1.9.2 1.8.7 1.8.6 rbx-1.2.0 }
6
6
  GEMSPEC = 'transloadit-rails.gemspec'
7
7
 
8
8
  spec = eval open(GEMSPEC).read
9
- Rake::GemPackageTask.new(spec) do |gem|
9
+ Gem::PackageTask.new(spec) do |gem|
10
10
  gem.need_tar = true
11
11
  end
12
12
 
@@ -5,7 +5,7 @@ module TransloaditHelper
5
5
  #
6
6
  def transloadit_jquerify(id, options = {})
7
7
  javascript_tag %{
8
- $(function() {
8
+ jQuery(function($) {
9
9
  var script = '//assets.transloadit.com/js/jquery.transloadit2.js';
10
10
 
11
11
  $.getScript(script, function() {
@@ -4,11 +4,11 @@ require 'rails'
4
4
 
5
5
  class Transloadit
6
6
  module Rails
7
+ autoload :ParamsDecoder, 'transloadit/rails/params_decoder'
8
+ autoload :ViewHelper, 'transloadit/rails/view_helper'
9
+
7
10
  class Engine < ::Rails::Engine
8
11
  CONFIG_PATH = 'config/transloadit.yml'
9
-
10
- autoload :ParamsDecoder, 'transloadit/rails/params_decoder'
11
- autoload :ViewHelper, 'transloadit/rails/view_helper'
12
12
 
13
13
  initializer 'transloadit-rails.action_controller' do |app|
14
14
  ActiveSupport.on_load :action_controller do
@@ -1,5 +1,5 @@
1
1
  class Transloadit
2
2
  module Rails
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end
5
5
  end
@@ -1,3 +1,3 @@
1
1
  require 'transloadit'
2
2
  require 'transloadit/rails/engine'
3
- require 'transloadit/rails/version'
3
+ require 'transloadit/rails/version'
metadata CHANGED
@@ -1,106 +1,102 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: transloadit-rails
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.1
4
5
  prerelease:
5
- version: 1.0.0
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Stephen
9
9
  - Touset
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
-
14
- date: 2011-06-09 00:00:00 -04:00
15
- default_executable:
16
- dependencies:
17
- - !ruby/object:Gem::Dependency
13
+ date: 2011-09-19 00:00:00.000000000Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
18
16
  name: transloadit
19
- prerelease: false
20
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: &70285160550760 !ruby/object:Gem::Requirement
21
18
  none: false
22
- requirements:
23
- - - ">="
24
- - !ruby/object:Gem::Version
25
- version: "0"
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
26
23
  type: :runtime
27
- version_requirements: *id001
28
- - !ruby/object:Gem::Dependency
29
- name: railties
30
24
  prerelease: false
31
- requirement: &id002 !ruby/object:Gem::Requirement
25
+ version_requirements: *70285160550760
26
+ - !ruby/object:Gem::Dependency
27
+ name: railties
28
+ requirement: &70285160550100 !ruby/object:Gem::Requirement
32
29
  none: false
33
- requirements:
30
+ requirements:
34
31
  - - ~>
35
- - !ruby/object:Gem::Version
36
- version: "3"
32
+ - !ruby/object:Gem::Version
33
+ version: '3'
37
34
  type: :runtime
38
- version_requirements: *id002
39
- - !ruby/object:Gem::Dependency
40
- name: rake
41
35
  prerelease: false
42
- requirement: &id003 !ruby/object:Gem::Requirement
36
+ version_requirements: *70285160550100
37
+ - !ruby/object:Gem::Dependency
38
+ name: rake
39
+ requirement: &70285160549620 !ruby/object:Gem::Requirement
43
40
  none: false
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: "0"
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
48
45
  type: :development
49
- version_requirements: *id003
50
- - !ruby/object:Gem::Dependency
51
- name: minitest
52
46
  prerelease: false
53
- requirement: &id004 !ruby/object:Gem::Requirement
47
+ version_requirements: *70285160549620
48
+ - !ruby/object:Gem::Dependency
49
+ name: minitest
50
+ requirement: &70285160549040 !ruby/object:Gem::Requirement
54
51
  none: false
55
- requirements:
56
- - - ">="
57
- - !ruby/object:Gem::Version
58
- version: "0"
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
59
56
  type: :development
60
- version_requirements: *id004
61
- - !ruby/object:Gem::Dependency
62
- name: simplecov
63
57
  prerelease: false
64
- requirement: &id005 !ruby/object:Gem::Requirement
58
+ version_requirements: *70285160549040
59
+ - !ruby/object:Gem::Dependency
60
+ name: simplecov
61
+ requirement: &70285160548560 !ruby/object:Gem::Requirement
65
62
  none: false
66
- requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- version: "0"
63
+ requirements:
64
+ - - ! '>='
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
70
67
  type: :development
71
- version_requirements: *id005
72
- - !ruby/object:Gem::Dependency
73
- name: yard
74
68
  prerelease: false
75
- requirement: &id006 !ruby/object:Gem::Requirement
69
+ version_requirements: *70285160548560
70
+ - !ruby/object:Gem::Dependency
71
+ name: yard
72
+ requirement: &70285160547960 !ruby/object:Gem::Requirement
76
73
  none: false
77
- requirements:
78
- - - ">="
79
- - !ruby/object:Gem::Version
80
- version: "0"
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
81
78
  type: :development
82
- version_requirements: *id006
83
- - !ruby/object:Gem::Dependency
84
- name: rdiscount
85
79
  prerelease: false
86
- requirement: &id007 !ruby/object:Gem::Requirement
80
+ version_requirements: *70285160547960
81
+ - !ruby/object:Gem::Dependency
82
+ name: rdiscount
83
+ requirement: &70285160547320 !ruby/object:Gem::Requirement
87
84
  none: false
88
- requirements:
89
- - - ">="
90
- - !ruby/object:Gem::Version
91
- version: "0"
85
+ requirements:
86
+ - - ! '>='
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
92
89
  type: :development
93
- version_requirements: *id007
94
- description: The transloadit-rails gem allows you to automate uploading files through the Transloadit REST API
95
- email:
90
+ prerelease: false
91
+ version_requirements: *70285160547320
92
+ description: The transloadit-rails gem allows you to automate uploading files through
93
+ the Transloadit REST API
94
+ email:
96
95
  - stephen@touset.org
97
96
  executables: []
98
-
99
97
  extensions: []
100
-
101
98
  extra_rdoc_files: []
102
-
103
- files:
99
+ files:
104
100
  - .gitignore
105
101
  - Gemfile
106
102
  - README.md
@@ -118,34 +114,30 @@ files:
118
114
  - test/generators/transloadit/test_install_generator.rb
119
115
  - test/test_helper.rb
120
116
  - transloadit-rails.gemspec
121
- has_rdoc: true
122
117
  homepage: http://github.com/transloadit/rails-sdk/
123
118
  licenses: []
124
-
125
119
  post_install_message:
126
120
  rdoc_options: []
127
-
128
- require_paths:
121
+ require_paths:
129
122
  - lib
130
- required_ruby_version: !ruby/object:Gem::Requirement
123
+ required_ruby_version: !ruby/object:Gem::Requirement
131
124
  none: false
132
- requirements:
133
- - - ">="
134
- - !ruby/object:Gem::Version
135
- version: "0"
136
- required_rubygems_version: !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - ! '>='
127
+ - !ruby/object:Gem::Version
128
+ version: '0'
129
+ required_rubygems_version: !ruby/object:Gem::Requirement
137
130
  none: false
138
- requirements:
139
- - - ">="
140
- - !ruby/object:Gem::Version
131
+ requirements:
132
+ - - ! '>='
133
+ - !ruby/object:Gem::Version
141
134
  version: 1.3.6
142
135
  requirements: []
143
-
144
136
  rubyforge_project: transloadit-rails
145
- rubygems_version: 1.6.2
137
+ rubygems_version: 1.8.8
146
138
  signing_key:
147
139
  specification_version: 3
148
140
  summary: Official Rails gem for Transloadit
149
- test_files:
141
+ test_files:
150
142
  - test/generators/transloadit/test_install_generator.rb
151
143
  - test/test_helper.rb