uploadcare-rails 0.6.1 → 1.0.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +1 -1
  3. data/Rakefile +13 -8
  4. data/app/assets/javascripts/uploadcare-0.17.0.js +8248 -0
  5. data/app/assets/javascripts/uploadcare-0.17.0.min.js +17 -0
  6. data/app/assets/javascripts/uploadcare.js +1 -1
  7. data/config/initializers/uploadcare.rb +27 -0
  8. data/config/uploadcare_defaults.yml +12 -0
  9. data/lib/generators/templates/uploadcare_config_template.yml +56 -0
  10. data/lib/generators/uploadcare_config_generator.rb +9 -0
  11. data/lib/tasks/uploadcare_rails_tasks.rake +4 -0
  12. data/lib/uploadcare-rails.rb +6 -2
  13. data/lib/uploadcare/rails/action_view_include_tags.rb +36 -0
  14. data/lib/uploadcare/rails/action_view_uploader_tags.rb +75 -0
  15. data/lib/uploadcare/rails/active_record_has_file.rb +46 -0
  16. data/lib/uploadcare/rails/active_record_has_group.rb +43 -0
  17. data/lib/uploadcare/rails/engine.rb +17 -11
  18. data/lib/uploadcare/rails/file.rb +17 -20
  19. data/lib/uploadcare/rails/group.rb +27 -0
  20. data/lib/uploadcare/rails/settings.rb +63 -50
  21. data/lib/uploadcare/rails/version.rb +1 -1
  22. data/spec/dummy/README.rdoc +28 -0
  23. data/spec/dummy/Rakefile +6 -0
  24. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  25. data/spec/dummy/app/assets/javascripts/post_with_collections.js +2 -0
  26. data/spec/dummy/app/assets/javascripts/posts.js +2 -0
  27. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  28. data/spec/dummy/app/assets/stylesheets/post_with_collections.css +4 -0
  29. data/spec/dummy/app/assets/stylesheets/posts.css +4 -0
  30. data/spec/dummy/app/assets/stylesheets/scaffold.css +56 -0
  31. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  32. data/spec/dummy/app/controllers/post_with_collections_controller.rb +58 -0
  33. data/spec/dummy/app/controllers/posts_controller.rb +58 -0
  34. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  35. data/spec/dummy/app/helpers/post_with_collections_helper.rb +2 -0
  36. data/spec/dummy/app/helpers/posts_helper.rb +2 -0
  37. data/spec/dummy/app/models/post.rb +3 -0
  38. data/spec/dummy/app/models/post_with_collection.rb +3 -0
  39. data/spec/dummy/app/views/layouts/application.html.erb +16 -0
  40. data/spec/dummy/app/views/post_with_collections/_form.html.erb +25 -0
  41. data/spec/dummy/app/views/post_with_collections/edit.html.erb +6 -0
  42. data/spec/dummy/app/views/post_with_collections/index.html.erb +29 -0
  43. data/spec/dummy/app/views/post_with_collections/new.html.erb +5 -0
  44. data/spec/dummy/app/views/post_with_collections/show.html.erb +14 -0
  45. data/spec/dummy/app/views/posts/_form.html.erb +25 -0
  46. data/spec/dummy/app/views/posts/edit.html.erb +6 -0
  47. data/spec/dummy/app/views/posts/index.html.erb +37 -0
  48. data/spec/dummy/app/views/posts/new.html.erb +5 -0
  49. data/spec/dummy/app/views/posts/show.html.erb +15 -0
  50. data/spec/dummy/bin/bundle +3 -0
  51. data/spec/dummy/bin/rails +4 -0
  52. data/spec/dummy/bin/rake +4 -0
  53. data/spec/dummy/config.ru +4 -0
  54. data/spec/dummy/config/application.rb +23 -0
  55. data/spec/dummy/config/boot.rb +5 -0
  56. data/spec/dummy/config/database.yml +25 -0
  57. data/spec/dummy/config/environment.rb +5 -0
  58. data/spec/dummy/config/environments/development.rb +29 -0
  59. data/spec/dummy/config/environments/production.rb +80 -0
  60. data/spec/dummy/config/environments/test.rb +36 -0
  61. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  62. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  63. data/spec/dummy/config/initializers/inflections.rb +16 -0
  64. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  65. data/spec/dummy/config/initializers/secret_token.rb +12 -0
  66. data/spec/dummy/config/initializers/session_store.rb +3 -0
  67. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  68. data/spec/dummy/config/locales/en.yml +23 -0
  69. data/spec/dummy/config/routes.rb +61 -0
  70. data/spec/dummy/config/uploadcare.yml +56 -0
  71. data/spec/dummy/db/development.sqlite3 +0 -0
  72. data/spec/dummy/db/migrate/20131119080328_create_posts.rb +10 -0
  73. data/spec/dummy/db/migrate/20131220083857_create_post_with_collections.rb +10 -0
  74. data/spec/dummy/db/schema.rb +30 -0
  75. data/spec/dummy/db/test.sqlite3 +0 -0
  76. data/spec/dummy/log/development.log +9900 -0
  77. data/spec/dummy/log/test.log +1976 -0
  78. data/spec/dummy/public/404.html +58 -0
  79. data/spec/dummy/public/422.html +58 -0
  80. data/spec/dummy/public/500.html +57 -0
  81. data/spec/dummy/public/favicon.ico +0 -0
  82. data/spec/dummy/tmp/cache/65C/2B0/uc.file.123213.store +1 -0
  83. data/spec/dummy/tmp/cache/assets/development/sprockets/1004cb216c6a15b26aa9c52095902ee6 +0 -0
  84. data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  85. data/spec/dummy/tmp/cache/assets/development/sprockets/1930f1dc4fdf14493b9e0803644ae54a +0 -0
  86. data/spec/dummy/tmp/cache/assets/development/sprockets/1e8f75a6b5b33970fb8e397347caa0a1 +0 -0
  87. data/spec/dummy/tmp/cache/assets/development/sprockets/24204f742af588c8166d3160b500d20f +0 -0
  88. data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  89. data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  90. data/spec/dummy/tmp/cache/assets/development/sprockets/371bf96e99717688ed7313a0c53f4212 +0 -0
  91. data/spec/dummy/tmp/cache/assets/development/sprockets/416150dc3ac35079c94273cc46e90aa6 +0 -0
  92. data/spec/dummy/tmp/cache/assets/development/sprockets/510da110ae528e2d22533be39ff696c5 +0 -0
  93. data/spec/dummy/tmp/cache/assets/development/sprockets/5384ad85f52d3272dbc64d46ef3876a4 +0 -0
  94. data/spec/dummy/tmp/cache/assets/development/sprockets/6fc757c2c8329244ca95d6909865bbc2 +0 -0
  95. data/spec/dummy/tmp/cache/assets/development/sprockets/883a8569a0105010b3a20e0b3dbdf927 +0 -0
  96. data/spec/dummy/tmp/cache/assets/development/sprockets/95f1667ad97500a482296c32c98e0fa0 +0 -0
  97. data/spec/dummy/tmp/cache/assets/development/sprockets/c5ee0ee454770d592be595422c5f89b8 +0 -0
  98. data/spec/dummy/tmp/cache/assets/development/sprockets/c85016e7bbd4f3adbb7635d01f85d39b +0 -0
  99. data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  100. data/spec/dummy/tmp/cache/assets/development/sprockets/d066c004d1fd26ae76a61303a7a18145 +0 -0
  101. data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  102. data/spec/dummy/tmp/cache/assets/development/sprockets/e41598315cab1b953e63b62bc36ee2f6 +0 -0
  103. data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  104. data/spec/dummy/tmp/restart.txt +0 -0
  105. data/spec/helpers/form_helpers_has_file_spec.rb +30 -0
  106. data/spec/helpers/form_helpers_has_group_spec.rb +30 -0
  107. data/spec/helpers/form_helpers_spec.rb +33 -0
  108. data/spec/helpers/include_tags_spec.rb +42 -0
  109. data/spec/helpers/uploader_tags_spec.rb +15 -0
  110. data/spec/models/file.rb +25 -0
  111. data/spec/models/group.rb +36 -0
  112. data/spec/models/has_file_spec.rb +31 -0
  113. data/spec/models/has_group_spec.rb +31 -0
  114. data/spec/spec_helper.rb +40 -0
  115. data/spec/uploadcare_rails_settings_spec.rb +50 -0
  116. metadata +290 -51
  117. data/README.md +0 -104
  118. data/app/assets/javascripts/uploadcare-0.8.js +0 -22865
  119. data/lib/uploadcare/rails/action_view.rb +0 -49
  120. data/lib/uploadcare/rails/active_record.rb +0 -61
  121. data/lib/uploadcare/rails/simple_form.rb +0 -9
@@ -0,0 +1,31 @@
1
+ require "spec_helper"
2
+
3
+ describe :has_uploadcare_file do
4
+ before(:each) do
5
+ @post = Post.new title: "Post title", file: " http://www.ucarecdn.com/19cde26d-e41b-4cf5-923e-f58729c0522a/"
6
+ end
7
+
8
+ it "should respond to has_uploadcare_file? method" do
9
+ @post.should respond_to(:has_uploadcare_file?)
10
+ end
11
+
12
+ it "should respond to has_uploadcare_group? method" do
13
+ @post.should respond_to(:has_uploadcare_group?)
14
+ end
15
+
16
+ it ":has_uploadcare_file? should return true" do
17
+ @post.has_uploadcare_file?.should == true
18
+ end
19
+
20
+ it ":has_uploadcare_group? should return false" do
21
+ @post.has_uploadcare_group?.should == false
22
+ end
23
+
24
+ it "should have uploadcare file" do
25
+ @post.file.should be_kind_of(Uploadcare::Rails::File)
26
+ end
27
+
28
+ it "file should not be loaded by default" do
29
+ @post.file.loaded?.should == false
30
+ end
31
+ end
@@ -0,0 +1,31 @@
1
+ require "spec_helper"
2
+
3
+ describe :has_uploadcare_group do
4
+ before(:each) do
5
+ @post = PostWithCollection.new title: "Post title", file: " http://www.ucarecdn.com/19cde26d-e41b-4cf5-923e-f58729c0522a~2/"
6
+ end
7
+
8
+ it "should respond to has_uploadcare_file? method" do
9
+ @post.should respond_to(:has_uploadcare_file?)
10
+ end
11
+
12
+ it "should respond to has_uploadcare_group? method" do
13
+ @post.should respond_to(:has_uploadcare_group?)
14
+ end
15
+
16
+ it ":has_uploadcare_file? should return true" do
17
+ @post.has_uploadcare_file?.should == false
18
+ end
19
+
20
+ it ":has_uploadcare_group? should return false" do
21
+ @post.has_uploadcare_group?.should == true
22
+ end
23
+
24
+ it "should have uploadcare file" do
25
+ @post.file.should be_kind_of(Uploadcare::Rails::Group)
26
+ end
27
+
28
+ it "file should not be loaded by default" do
29
+ @post.file.loaded?.should == false
30
+ end
31
+ end
@@ -0,0 +1,40 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ ENV["RAILS_ENV"] ||= 'test'
3
+ require 'pry'
4
+ require File.expand_path("../dummy/config/environment", __FILE__)
5
+ require 'rspec/rails'
6
+ require 'rspec/autorun'
7
+
8
+
9
+ # Requires supporting ruby files with custom matchers and macros, etc,
10
+ # in spec/support/ and its subdirectories.
11
+ Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
12
+
13
+ RSpec.configure do |config|
14
+ # ## Mock Framework
15
+ #
16
+ # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
17
+ #
18
+ # config.mock_with :mocha
19
+ # config.mock_with :flexmock
20
+ # config.mock_with :rr
21
+
22
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
23
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
24
+
25
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
26
+ # examples within a transaction, remove the following line or assign false
27
+ # instead of true.
28
+ config.use_transactional_fixtures = true
29
+
30
+ # If true, the base class of anonymous controllers will be inferred
31
+ # automatically. This will be the default behavior in future versions of
32
+ # rspec-rails.
33
+ config.infer_base_class_for_anonymous_controllers = false
34
+
35
+ # Run specs in random order to surface order dependencies. If you find an
36
+ # order dependency and want to debug it, you can fix the order by providing
37
+ # the seed, which is printed after each run.
38
+ # --seed 1234
39
+ # config.order = "random"
40
+ end
@@ -0,0 +1,50 @@
1
+ require 'spec_helper'
2
+
3
+ describe Uploadcare::Rails do
4
+ it "should load settings" do
5
+ UPLOADCARE_SETTINGS.should_not be_nil
6
+ UPLOADCARE_SETTINGS.should be_kind_of(Uploadcare::Rails::Settings)
7
+ end
8
+
9
+ it "settings should respond to all defined methods" do
10
+ UPLOADCARE_SETTINGS.should respond_to(:widget_version)
11
+ UPLOADCARE_SETTINGS.should respond_to(:upload_url_base)
12
+ UPLOADCARE_SETTINGS.should respond_to(:api_url_base)
13
+ UPLOADCARE_SETTINGS.should respond_to(:static_url_base)
14
+ UPLOADCARE_SETTINGS.should respond_to(:api_version)
15
+ UPLOADCARE_SETTINGS.should respond_to(:cache_files)
16
+ UPLOADCARE_SETTINGS.should respond_to(:public_key)
17
+ UPLOADCARE_SETTINGS.should respond_to(:private_key)
18
+ end
19
+
20
+ it "should have private and public keys as not empty strings" do
21
+ UPLOADCARE_SETTINGS.private_key.should be_kind_of(String)
22
+ UPLOADCARE_SETTINGS.public_key.should be_kind_of(String)
23
+
24
+ UPLOADCARE_SETTINGS.private_key.should_not be_empty
25
+ UPLOADCARE_SETTINGS.public_key.should_not be_empty
26
+ end
27
+
28
+ it "pub and private keys should be loaded from config file" do
29
+ config_file = "#{Rails.root}/config/uploadcare.yml"
30
+ config = YAML.load_file(config_file)
31
+
32
+ UPLOADCARE_SETTINGS.private_key.should == config["test"]["private_key"]
33
+ UPLOADCARE_SETTINGS.public_key.should == config["test"]["public_key"]
34
+ end
35
+
36
+ # TODO: test api settings and widget settings
37
+ it "should build instanse of UC api" do
38
+ UPLOADCARE_SETTINGS.api.should be_kind_of(Uploadcare::Api)
39
+ end
40
+
41
+ it "should build api settings hash" do
42
+ UPLOADCARE_SETTINGS.api_settings.should be_a_kind_of(Hash)
43
+ UPLOADCARE_SETTINGS.api_settings.should_not be_empty
44
+ end
45
+
46
+ it "should build widget settings hash" do
47
+ UPLOADCARE_SETTINGS.widget_settings.should be_a_kind_of(Hash)
48
+ UPLOADCARE_SETTINGS.widget_settings.should_not be_empty
49
+ end
50
+ end
metadata CHANGED
@@ -1,144 +1,383 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uploadcare-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
5
- prerelease:
4
+ version: 1.0.0.rc4
6
5
  platform: ruby
7
6
  authors:
8
- - Vadim Rastyagaev
7
+ - '@rastyagaev (Vadim Rastyagaev)'
8
+ - '@dimituri (Dimitry Solovyov)'
9
+ - '@romanonthego (Roman Dubinin)'
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2013-05-05 00:00:00.000000000 Z
13
+ date: 2014-03-08 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: rails
16
17
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: '3.2'
21
+ version: 4.0.1
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
25
  requirements:
27
26
  - - ~>
28
27
  - !ruby/object:Gem::Version
29
- version: '3.2'
28
+ version: 4.0.1
30
29
  - !ruby/object:Gem::Dependency
31
- name: uploadcare-api
30
+ name: uploadcare-ruby
32
31
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
32
  requirements:
35
- - - '='
33
+ - - ~>
36
34
  - !ruby/object:Gem::Version
37
- version: 0.1.3
35
+ version: '1.0'
38
36
  type: :runtime
39
37
  prerelease: false
40
38
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
39
  requirements:
43
- - - '='
40
+ - - ~>
44
41
  - !ruby/object:Gem::Version
45
- version: 0.1.3
42
+ version: '1.0'
46
43
  - !ruby/object:Gem::Dependency
47
44
  name: sqlite3
48
45
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
46
  requirements:
51
- - - ! '>='
47
+ - - '>='
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
50
+ type: :development
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - '>='
55
+ - !ruby/object:Gem::Version
56
+ version: '0'
57
+ - !ruby/object:Gem::Dependency
58
+ name: rspec
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - '>='
52
62
  - !ruby/object:Gem::Version
53
63
  version: '0'
54
64
  type: :development
55
65
  prerelease: false
56
66
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
67
  requirements:
59
- - - ! '>='
68
+ - - '>='
60
69
  - !ruby/object:Gem::Version
61
70
  version: '0'
62
71
  - !ruby/object:Gem::Dependency
63
72
  name: rspec-rails
64
73
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
74
  requirements:
67
- - - ! '>='
75
+ - - '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ type: :development
79
+ prerelease: false
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - '>='
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
85
+ - !ruby/object:Gem::Dependency
86
+ name: webrat
87
+ requirement: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - '>='
68
90
  - !ruby/object:Gem::Version
69
91
  version: '0'
70
92
  type: :development
71
93
  prerelease: false
72
94
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
95
  requirements:
75
- - - ! '>='
96
+ - - '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ - !ruby/object:Gem::Dependency
100
+ name: pry
101
+ requirement: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - '>='
104
+ - !ruby/object:Gem::Version
105
+ version: '0'
106
+ type: :development
107
+ prerelease: false
108
+ version_requirements: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - '>='
76
111
  - !ruby/object:Gem::Version
77
112
  version: '0'
78
113
  - !ruby/object:Gem::Dependency
79
114
  name: pry-rails
80
115
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
116
  requirements:
83
- - - ! '>='
117
+ - - '>='
84
118
  - !ruby/object:Gem::Version
85
119
  version: '0'
86
120
  type: :development
87
121
  prerelease: false
88
122
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
123
  requirements:
91
- - - ! '>='
124
+ - - '>='
92
125
  - !ruby/object:Gem::Version
93
126
  version: '0'
94
- description: Rails gem for uploadcare.com service.
127
+ - !ruby/object:Gem::Dependency
128
+ name: better_errors
129
+ requirement: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ type: :development
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - '>='
139
+ - !ruby/object:Gem::Version
140
+ version: '0'
141
+ description: " Rails wrapper for Uploadcare service.\n Based
142
+ on uploadcare-ruby gem (https://github.com/uploadcare/uploadcare-ruby) \n"
95
143
  email:
96
- - abc@oktoberliner.ru
144
+ - hello@uploadcare.com
97
145
  executables: []
98
146
  extensions: []
99
147
  extra_rdoc_files: []
100
148
  files:
101
- - app/assets/javascripts/uploadcare-0.8.js
149
+ - app/assets/javascripts/uploadcare-0.17.0.js
150
+ - app/assets/javascripts/uploadcare-0.17.0.min.js
102
151
  - app/assets/javascripts/uploadcare.js
103
- - lib/uploadcare/rails/action_view.rb
104
- - lib/uploadcare/rails/active_record.rb
152
+ - config/initializers/uploadcare.rb
153
+ - config/uploadcare_defaults.yml
154
+ - lib/generators/templates/uploadcare_config_template.yml
155
+ - lib/generators/uploadcare_config_generator.rb
156
+ - lib/tasks/uploadcare_rails_tasks.rake
157
+ - lib/uploadcare/rails/action_view_include_tags.rb
158
+ - lib/uploadcare/rails/action_view_uploader_tags.rb
159
+ - lib/uploadcare/rails/active_record_has_file.rb
160
+ - lib/uploadcare/rails/active_record_has_group.rb
105
161
  - lib/uploadcare/rails/engine.rb
106
162
  - lib/uploadcare/rails/file.rb
163
+ - lib/uploadcare/rails/group.rb
107
164
  - lib/uploadcare/rails/settings.rb
108
- - lib/uploadcare/rails/simple_form.rb
109
165
  - lib/uploadcare/rails/version.rb
110
166
  - lib/uploadcare-rails.rb
111
167
  - MIT-LICENSE
112
168
  - Rakefile
113
- - README.md
114
- homepage: http://uploadcare.com
115
- licenses: []
169
+ - spec/dummy/app/assets/javascripts/application.js
170
+ - spec/dummy/app/assets/javascripts/post_with_collections.js
171
+ - spec/dummy/app/assets/javascripts/posts.js
172
+ - spec/dummy/app/assets/stylesheets/application.css
173
+ - spec/dummy/app/assets/stylesheets/post_with_collections.css
174
+ - spec/dummy/app/assets/stylesheets/posts.css
175
+ - spec/dummy/app/assets/stylesheets/scaffold.css
176
+ - spec/dummy/app/controllers/application_controller.rb
177
+ - spec/dummy/app/controllers/post_with_collections_controller.rb
178
+ - spec/dummy/app/controllers/posts_controller.rb
179
+ - spec/dummy/app/helpers/application_helper.rb
180
+ - spec/dummy/app/helpers/post_with_collections_helper.rb
181
+ - spec/dummy/app/helpers/posts_helper.rb
182
+ - spec/dummy/app/models/post.rb
183
+ - spec/dummy/app/models/post_with_collection.rb
184
+ - spec/dummy/app/views/layouts/application.html.erb
185
+ - spec/dummy/app/views/post_with_collections/_form.html.erb
186
+ - spec/dummy/app/views/post_with_collections/edit.html.erb
187
+ - spec/dummy/app/views/post_with_collections/index.html.erb
188
+ - spec/dummy/app/views/post_with_collections/new.html.erb
189
+ - spec/dummy/app/views/post_with_collections/show.html.erb
190
+ - spec/dummy/app/views/posts/_form.html.erb
191
+ - spec/dummy/app/views/posts/edit.html.erb
192
+ - spec/dummy/app/views/posts/index.html.erb
193
+ - spec/dummy/app/views/posts/new.html.erb
194
+ - spec/dummy/app/views/posts/show.html.erb
195
+ - spec/dummy/bin/bundle
196
+ - spec/dummy/bin/rails
197
+ - spec/dummy/bin/rake
198
+ - spec/dummy/config/application.rb
199
+ - spec/dummy/config/boot.rb
200
+ - spec/dummy/config/database.yml
201
+ - spec/dummy/config/environment.rb
202
+ - spec/dummy/config/environments/development.rb
203
+ - spec/dummy/config/environments/production.rb
204
+ - spec/dummy/config/environments/test.rb
205
+ - spec/dummy/config/initializers/backtrace_silencers.rb
206
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
207
+ - spec/dummy/config/initializers/inflections.rb
208
+ - spec/dummy/config/initializers/mime_types.rb
209
+ - spec/dummy/config/initializers/secret_token.rb
210
+ - spec/dummy/config/initializers/session_store.rb
211
+ - spec/dummy/config/initializers/wrap_parameters.rb
212
+ - spec/dummy/config/locales/en.yml
213
+ - spec/dummy/config/routes.rb
214
+ - spec/dummy/config/uploadcare.yml
215
+ - spec/dummy/config.ru
216
+ - spec/dummy/db/development.sqlite3
217
+ - spec/dummy/db/migrate/20131119080328_create_posts.rb
218
+ - spec/dummy/db/migrate/20131220083857_create_post_with_collections.rb
219
+ - spec/dummy/db/schema.rb
220
+ - spec/dummy/db/test.sqlite3
221
+ - spec/dummy/log/development.log
222
+ - spec/dummy/log/test.log
223
+ - spec/dummy/public/404.html
224
+ - spec/dummy/public/422.html
225
+ - spec/dummy/public/500.html
226
+ - spec/dummy/public/favicon.ico
227
+ - spec/dummy/Rakefile
228
+ - spec/dummy/README.rdoc
229
+ - spec/dummy/tmp/cache/65C/2B0/uc.file.123213.store
230
+ - spec/dummy/tmp/cache/assets/development/sprockets/1004cb216c6a15b26aa9c52095902ee6
231
+ - spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
232
+ - spec/dummy/tmp/cache/assets/development/sprockets/1930f1dc4fdf14493b9e0803644ae54a
233
+ - spec/dummy/tmp/cache/assets/development/sprockets/1e8f75a6b5b33970fb8e397347caa0a1
234
+ - spec/dummy/tmp/cache/assets/development/sprockets/24204f742af588c8166d3160b500d20f
235
+ - spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
236
+ - spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
237
+ - spec/dummy/tmp/cache/assets/development/sprockets/371bf96e99717688ed7313a0c53f4212
238
+ - spec/dummy/tmp/cache/assets/development/sprockets/416150dc3ac35079c94273cc46e90aa6
239
+ - spec/dummy/tmp/cache/assets/development/sprockets/510da110ae528e2d22533be39ff696c5
240
+ - spec/dummy/tmp/cache/assets/development/sprockets/5384ad85f52d3272dbc64d46ef3876a4
241
+ - spec/dummy/tmp/cache/assets/development/sprockets/6fc757c2c8329244ca95d6909865bbc2
242
+ - spec/dummy/tmp/cache/assets/development/sprockets/883a8569a0105010b3a20e0b3dbdf927
243
+ - spec/dummy/tmp/cache/assets/development/sprockets/95f1667ad97500a482296c32c98e0fa0
244
+ - spec/dummy/tmp/cache/assets/development/sprockets/c5ee0ee454770d592be595422c5f89b8
245
+ - spec/dummy/tmp/cache/assets/development/sprockets/c85016e7bbd4f3adbb7635d01f85d39b
246
+ - spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
247
+ - spec/dummy/tmp/cache/assets/development/sprockets/d066c004d1fd26ae76a61303a7a18145
248
+ - spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
249
+ - spec/dummy/tmp/cache/assets/development/sprockets/e41598315cab1b953e63b62bc36ee2f6
250
+ - spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
251
+ - spec/dummy/tmp/restart.txt
252
+ - spec/helpers/form_helpers_has_file_spec.rb
253
+ - spec/helpers/form_helpers_has_group_spec.rb
254
+ - spec/helpers/form_helpers_spec.rb
255
+ - spec/helpers/include_tags_spec.rb
256
+ - spec/helpers/uploader_tags_spec.rb
257
+ - spec/models/file.rb
258
+ - spec/models/group.rb
259
+ - spec/models/has_file_spec.rb
260
+ - spec/models/has_group_spec.rb
261
+ - spec/spec_helper.rb
262
+ - spec/uploadcare_rails_settings_spec.rb
263
+ homepage: https://uploadcare.com/documentation/libs/
264
+ licenses:
265
+ - MIT
266
+ metadata:
267
+ github: https://github.com/uploadcare/uploadcare-rails
268
+ issue_tracker: https://github.com/uploadcare/uploadcare-rails/issues
116
269
  post_install_message:
117
270
  rdoc_options: []
118
271
  require_paths:
119
272
  - lib
120
273
  required_ruby_version: !ruby/object:Gem::Requirement
121
- none: false
122
274
  requirements:
123
- - - ! '>='
275
+ - - '>='
124
276
  - !ruby/object:Gem::Version
125
277
  version: '0'
126
- segments:
127
- - 0
128
- hash: -504738280540175999
129
278
  required_rubygems_version: !ruby/object:Gem::Requirement
130
- none: false
131
279
  requirements:
132
- - - ! '>='
280
+ - - '>'
133
281
  - !ruby/object:Gem::Version
134
- version: '0'
135
- segments:
136
- - 0
137
- hash: -504738280540175999
282
+ version: 1.3.1
138
283
  requirements: []
139
284
  rubyforge_project:
140
- rubygems_version: 1.8.23
285
+ rubygems_version: 2.0.6
141
286
  signing_key:
142
- specification_version: 3
143
- summary: Rails gem for uploadcare.com service.
144
- test_files: []
287
+ specification_version: 4
288
+ summary: Rails gem for Uploadcare
289
+ test_files:
290
+ - spec/dummy/app/assets/javascripts/application.js
291
+ - spec/dummy/app/assets/javascripts/post_with_collections.js
292
+ - spec/dummy/app/assets/javascripts/posts.js
293
+ - spec/dummy/app/assets/stylesheets/application.css
294
+ - spec/dummy/app/assets/stylesheets/post_with_collections.css
295
+ - spec/dummy/app/assets/stylesheets/posts.css
296
+ - spec/dummy/app/assets/stylesheets/scaffold.css
297
+ - spec/dummy/app/controllers/application_controller.rb
298
+ - spec/dummy/app/controllers/post_with_collections_controller.rb
299
+ - spec/dummy/app/controllers/posts_controller.rb
300
+ - spec/dummy/app/helpers/application_helper.rb
301
+ - spec/dummy/app/helpers/post_with_collections_helper.rb
302
+ - spec/dummy/app/helpers/posts_helper.rb
303
+ - spec/dummy/app/models/post.rb
304
+ - spec/dummy/app/models/post_with_collection.rb
305
+ - spec/dummy/app/views/layouts/application.html.erb
306
+ - spec/dummy/app/views/post_with_collections/_form.html.erb
307
+ - spec/dummy/app/views/post_with_collections/edit.html.erb
308
+ - spec/dummy/app/views/post_with_collections/index.html.erb
309
+ - spec/dummy/app/views/post_with_collections/new.html.erb
310
+ - spec/dummy/app/views/post_with_collections/show.html.erb
311
+ - spec/dummy/app/views/posts/_form.html.erb
312
+ - spec/dummy/app/views/posts/edit.html.erb
313
+ - spec/dummy/app/views/posts/index.html.erb
314
+ - spec/dummy/app/views/posts/new.html.erb
315
+ - spec/dummy/app/views/posts/show.html.erb
316
+ - spec/dummy/bin/bundle
317
+ - spec/dummy/bin/rails
318
+ - spec/dummy/bin/rake
319
+ - spec/dummy/config/application.rb
320
+ - spec/dummy/config/boot.rb
321
+ - spec/dummy/config/database.yml
322
+ - spec/dummy/config/environment.rb
323
+ - spec/dummy/config/environments/development.rb
324
+ - spec/dummy/config/environments/production.rb
325
+ - spec/dummy/config/environments/test.rb
326
+ - spec/dummy/config/initializers/backtrace_silencers.rb
327
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
328
+ - spec/dummy/config/initializers/inflections.rb
329
+ - spec/dummy/config/initializers/mime_types.rb
330
+ - spec/dummy/config/initializers/secret_token.rb
331
+ - spec/dummy/config/initializers/session_store.rb
332
+ - spec/dummy/config/initializers/wrap_parameters.rb
333
+ - spec/dummy/config/locales/en.yml
334
+ - spec/dummy/config/routes.rb
335
+ - spec/dummy/config/uploadcare.yml
336
+ - spec/dummy/config.ru
337
+ - spec/dummy/db/development.sqlite3
338
+ - spec/dummy/db/migrate/20131119080328_create_posts.rb
339
+ - spec/dummy/db/migrate/20131220083857_create_post_with_collections.rb
340
+ - spec/dummy/db/schema.rb
341
+ - spec/dummy/db/test.sqlite3
342
+ - spec/dummy/log/development.log
343
+ - spec/dummy/log/test.log
344
+ - spec/dummy/public/404.html
345
+ - spec/dummy/public/422.html
346
+ - spec/dummy/public/500.html
347
+ - spec/dummy/public/favicon.ico
348
+ - spec/dummy/Rakefile
349
+ - spec/dummy/README.rdoc
350
+ - spec/dummy/tmp/cache/65C/2B0/uc.file.123213.store
351
+ - spec/dummy/tmp/cache/assets/development/sprockets/1004cb216c6a15b26aa9c52095902ee6
352
+ - spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
353
+ - spec/dummy/tmp/cache/assets/development/sprockets/1930f1dc4fdf14493b9e0803644ae54a
354
+ - spec/dummy/tmp/cache/assets/development/sprockets/1e8f75a6b5b33970fb8e397347caa0a1
355
+ - spec/dummy/tmp/cache/assets/development/sprockets/24204f742af588c8166d3160b500d20f
356
+ - spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
357
+ - spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
358
+ - spec/dummy/tmp/cache/assets/development/sprockets/371bf96e99717688ed7313a0c53f4212
359
+ - spec/dummy/tmp/cache/assets/development/sprockets/416150dc3ac35079c94273cc46e90aa6
360
+ - spec/dummy/tmp/cache/assets/development/sprockets/510da110ae528e2d22533be39ff696c5
361
+ - spec/dummy/tmp/cache/assets/development/sprockets/5384ad85f52d3272dbc64d46ef3876a4
362
+ - spec/dummy/tmp/cache/assets/development/sprockets/6fc757c2c8329244ca95d6909865bbc2
363
+ - spec/dummy/tmp/cache/assets/development/sprockets/883a8569a0105010b3a20e0b3dbdf927
364
+ - spec/dummy/tmp/cache/assets/development/sprockets/95f1667ad97500a482296c32c98e0fa0
365
+ - spec/dummy/tmp/cache/assets/development/sprockets/c5ee0ee454770d592be595422c5f89b8
366
+ - spec/dummy/tmp/cache/assets/development/sprockets/c85016e7bbd4f3adbb7635d01f85d39b
367
+ - spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
368
+ - spec/dummy/tmp/cache/assets/development/sprockets/d066c004d1fd26ae76a61303a7a18145
369
+ - spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
370
+ - spec/dummy/tmp/cache/assets/development/sprockets/e41598315cab1b953e63b62bc36ee2f6
371
+ - spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
372
+ - spec/dummy/tmp/restart.txt
373
+ - spec/helpers/form_helpers_has_file_spec.rb
374
+ - spec/helpers/form_helpers_has_group_spec.rb
375
+ - spec/helpers/form_helpers_spec.rb
376
+ - spec/helpers/include_tags_spec.rb
377
+ - spec/helpers/uploader_tags_spec.rb
378
+ - spec/models/file.rb
379
+ - spec/models/group.rb
380
+ - spec/models/has_file_spec.rb
381
+ - spec/models/has_group_spec.rb
382
+ - spec/spec_helper.rb
383
+ - spec/uploadcare_rails_settings_spec.rb