s3_relay 0.5.0 → 0.7.0
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.
- checksums.yaml +5 -5
 - data/README.md +3 -19
 - data/app/assets/javascripts/s3_relay.coffee +4 -4
 - data/app/controllers/s3_relay/uploads_controller.rb +8 -2
 - data/app/models/s3_relay/upload.rb +1 -1
 - data/db/migrate/20141009000804_create_s3_relay_uploads.rb +1 -1
 - data/lib/s3_relay/base.rb +1 -1
 - data/lib/s3_relay/engine.rb +1 -1
 - data/lib/s3_relay/private_url.rb +1 -1
 - data/lib/s3_relay/version.rb +1 -1
 - data/test/controllers/s3_relay/uploads_controller_test.rb +28 -22
 - data/test/dummy/{README.rdoc → README.md} +1 -5
 - data/test/dummy/Rakefile +1 -1
 - data/test/dummy/app/assets/config/manifest.js +3 -0
 - data/test/dummy/app/assets/javascripts/application.js +6 -4
 - data/test/dummy/app/assets/javascripts/cable.js +13 -0
 - data/test/dummy/app/assets/stylesheets/application.css +5 -5
 - data/test/dummy/app/channels/application_cable/channel.rb +4 -0
 - data/test/dummy/app/channels/application_cable/connection.rb +4 -0
 - data/test/dummy/app/controllers/application_controller.rb +0 -2
 - data/test/dummy/app/jobs/application_job.rb +2 -0
 - data/test/dummy/app/mailers/application_mailer.rb +4 -0
 - data/test/dummy/app/models/application_record.rb +3 -0
 - data/test/dummy/app/models/product.rb +1 -1
 - data/test/dummy/app/views/layouts/application.html.erb +9 -9
 - data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
 - data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
 - data/test/dummy/bin/rails +6 -1
 - data/test/dummy/bin/rake +5 -0
 - data/test/dummy/bin/setup +38 -0
 - data/test/dummy/bin/spring +17 -0
 - data/test/dummy/bin/update +29 -0
 - data/test/dummy/bin/yarn +11 -0
 - data/test/dummy/config.ru +2 -1
 - data/test/dummy/config/application.rb +7 -11
 - data/test/dummy/config/boot.rb +2 -4
 - data/test/dummy/config/cable.yml +10 -0
 - data/test/dummy/config/environment.rb +1 -1
 - data/test/dummy/config/environments/development.rb +24 -7
 - data/test/dummy/config/environments/production.rb +36 -23
 - data/test/dummy/config/environments/test.rb +6 -3
 - data/test/dummy/config/initializers/application_controller_renderer.rb +6 -0
 - data/test/dummy/config/initializers/assets.rb +8 -2
 - data/test/dummy/config/initializers/cookies_serializer.rb +3 -1
 - data/test/dummy/config/initializers/wrap_parameters.rb +2 -2
 - data/test/dummy/config/locales/en.yml +10 -0
 - data/test/dummy/config/puma.rb +56 -0
 - data/test/dummy/config/secrets.yml +15 -5
 - data/test/dummy/config/spring.rb +6 -0
 - data/test/dummy/db/migrate/20141021002149_create_products.rb +1 -1
 - data/test/dummy/db/schema.rb +13 -14
 - data/test/dummy/db/seeds.rb +7 -0
 - data/test/dummy/log/development.log +60 -20
 - data/test/dummy/log/test.log +10958 -856
 - data/test/dummy/package.json +5 -0
 - data/test/dummy/public/404.html +6 -6
 - data/test/dummy/public/422.html +6 -6
 - data/test/dummy/public/500.html +6 -6
 - data/test/dummy/public/apple-touch-icon-precomposed.png +0 -0
 - data/test/dummy/public/apple-touch-icon.png +0 -0
 - data/test/dummy/public/robots.txt +1 -0
 - data/test/dummy/test/application_system_test_case.rb +5 -0
 - data/test/dummy/test/test_helper.rb +9 -0
 - data/test/factories/products.rb +2 -2
 - data/test/factories/uploads.rb +14 -7
 - data/test/helpers/s3_relay/uploads_helper_test.rb +7 -4
 - data/test/lib/s3_relay/model_test.rb +15 -15
 - data/test/lib/s3_relay/private_url_test.rb +1 -1
 - data/test/lib/s3_relay/upload_presigner_test.rb +9 -9
 - data/test/models/s3_relay/upload_test.rb +25 -24
 - data/test/test_helper.rb +2 -4
 - metadata +110 -72
 - data/test/dummy/config/initializers/session_store.rb +0 -3
 
    
        data/test/test_helper.rb
    CHANGED
    
    | 
         @@ -1,4 +1,4 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            ENV["RAILS_ENV"]  
     | 
| 
      
 1 
     | 
    
         
            +
            ENV["RAILS_ENV"] ||= "test"
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            IS_RAKE_TASK = (!! ($0 =~ /rake/))
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
         @@ -14,15 +14,13 @@ if IS_RAKE_TASK 
     | 
|
| 
       14 
14 
     | 
    
         
             
              end
         
     | 
| 
       15 
15 
     | 
    
         
             
            end
         
     | 
| 
       16 
16 
     | 
    
         | 
| 
       17 
     | 
    
         
            -
            ENV["RAILS_ENV"] = "test"
         
     | 
| 
       18 
17 
     | 
    
         
             
            require File.expand_path("../dummy/config/environment",  __FILE__)
         
     | 
| 
       19 
18 
     | 
    
         | 
| 
       20 
19 
     | 
    
         
             
            Dir[File.join("./test/factories/*.rb")].sort.each { |f| require f }
         
     | 
| 
       21 
20 
     | 
    
         | 
| 
       22 
     | 
    
         
            -
            require "minitest/autorun"
         
     | 
| 
       23 
21 
     | 
    
         
             
            require "rails/generators"
         
     | 
| 
       24 
22 
     | 
    
         
             
            require "rails/test_help"
         
     | 
| 
       25 
23 
     | 
    
         
             
            require "minitest/rails"
         
     | 
| 
       26 
     | 
    
         
            -
            require "minitest 
     | 
| 
      
 24 
     | 
    
         
            +
            require "mocha/minitest"
         
     | 
| 
       27 
25 
     | 
    
         | 
| 
       28 
26 
     | 
    
         
             
            Dir[File.join("./test/support/*.rb")].sort.each { |f| require f }
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: s3_relay
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.7.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Kenny Johnston
         
     | 
| 
       8 
     | 
    
         
            -
            autorequire: 
     | 
| 
      
 8 
     | 
    
         
            +
            autorequire:
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date:  
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2020-11-29 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: coffee-rails
         
     | 
| 
         @@ -30,114 +30,108 @@ dependencies: 
     | 
|
| 
       30 
30 
     | 
    
         
             
                requirements:
         
     | 
| 
       31 
31 
     | 
    
         
             
                - - ">="
         
     | 
| 
       32 
32 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       33 
     | 
    
         
            -
                    version: '0'
         
     | 
| 
      
 33 
     | 
    
         
            +
                    version: '5.0'
         
     | 
| 
       34 
34 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       35 
35 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       36 
36 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       37 
37 
     | 
    
         
             
                requirements:
         
     | 
| 
       38 
38 
     | 
    
         
             
                - - ">="
         
     | 
| 
       39 
39 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       40 
     | 
    
         
            -
                    version: '0'
         
     | 
| 
      
 40 
     | 
    
         
            +
                    version: '5.0'
         
     | 
| 
       41 
41 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       42 
     | 
    
         
            -
              name:  
     | 
| 
      
 42 
     | 
    
         
            +
              name: addressable
         
     | 
| 
       43 
43 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       44 
44 
     | 
    
         
             
                requirements:
         
     | 
| 
       45 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       46 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       47 
     | 
    
         
            -
                    version: '2.3'
         
     | 
| 
       48 
45 
     | 
    
         
             
                - - ">="
         
     | 
| 
       49 
46 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       50 
     | 
    
         
            -
                    version: 2. 
     | 
| 
       51 
     | 
    
         
            -
              type: : 
     | 
| 
      
 47 
     | 
    
         
            +
                    version: 2.5.2
         
     | 
| 
      
 48 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
       52 
49 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       53 
50 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       54 
51 
     | 
    
         
             
                requirements:
         
     | 
| 
       55 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       56 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       57 
     | 
    
         
            -
                    version: '2.3'
         
     | 
| 
       58 
52 
     | 
    
         
             
                - - ">="
         
     | 
| 
       59 
53 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       60 
     | 
    
         
            -
                    version: 2. 
     | 
| 
      
 54 
     | 
    
         
            +
                    version: 2.5.2
         
     | 
| 
       61 
55 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       62 
56 
     | 
    
         
             
              name: minitest-rails
         
     | 
| 
       63 
57 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       64 
58 
     | 
    
         
             
                requirements:
         
     | 
| 
       65 
59 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       66 
60 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       67 
     | 
    
         
            -
                    version: '2 
     | 
| 
      
 61 
     | 
    
         
            +
                    version: '5.2'
         
     | 
| 
       68 
62 
     | 
    
         
             
                - - ">="
         
     | 
| 
       69 
63 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       70 
     | 
    
         
            -
                    version: 2. 
     | 
| 
      
 64 
     | 
    
         
            +
                    version: 5.2.0
         
     | 
| 
       71 
65 
     | 
    
         
             
              type: :development
         
     | 
| 
       72 
66 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       73 
67 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       74 
68 
     | 
    
         
             
                requirements:
         
     | 
| 
       75 
69 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       76 
70 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       77 
     | 
    
         
            -
                    version: '2 
     | 
| 
      
 71 
     | 
    
         
            +
                    version: '5.2'
         
     | 
| 
       78 
72 
     | 
    
         
             
                - - ">="
         
     | 
| 
       79 
73 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       80 
     | 
    
         
            -
                    version: 2. 
     | 
| 
      
 74 
     | 
    
         
            +
                    version: 5.2.0
         
     | 
| 
       81 
75 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       82 
76 
     | 
    
         
             
              name: mocha
         
     | 
| 
       83 
77 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       84 
78 
     | 
    
         
             
                requirements:
         
     | 
| 
       85 
79 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       86 
80 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       87 
     | 
    
         
            -
                    version: '1. 
     | 
| 
      
 81 
     | 
    
         
            +
                    version: '1.11'
         
     | 
| 
       88 
82 
     | 
    
         
             
                - - ">="
         
     | 
| 
       89 
83 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       90 
     | 
    
         
            -
                    version: 1. 
     | 
| 
      
 84 
     | 
    
         
            +
                    version: 1.11.2
         
     | 
| 
       91 
85 
     | 
    
         
             
              type: :development
         
     | 
| 
       92 
86 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       93 
87 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       94 
88 
     | 
    
         
             
                requirements:
         
     | 
| 
       95 
89 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       96 
90 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       97 
     | 
    
         
            -
                    version: '1. 
     | 
| 
      
 91 
     | 
    
         
            +
                    version: '1.11'
         
     | 
| 
       98 
92 
     | 
    
         
             
                - - ">="
         
     | 
| 
       99 
93 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       100 
     | 
    
         
            -
                    version: 1. 
     | 
| 
      
 94 
     | 
    
         
            +
                    version: 1.11.2
         
     | 
| 
       101 
95 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       102 
96 
     | 
    
         
             
              name: pg
         
     | 
| 
       103 
97 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       104 
98 
     | 
    
         
             
                requirements:
         
     | 
| 
       105 
99 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       106 
100 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       107 
     | 
    
         
            -
                    version: ' 
     | 
| 
      
 101 
     | 
    
         
            +
                    version: '1.2'
         
     | 
| 
       108 
102 
     | 
    
         
             
                - - ">="
         
     | 
| 
       109 
103 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       110 
     | 
    
         
            -
                    version:  
     | 
| 
      
 104 
     | 
    
         
            +
                    version: 1.2.3
         
     | 
| 
       111 
105 
     | 
    
         
             
              type: :development
         
     | 
| 
       112 
106 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       113 
107 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       114 
108 
     | 
    
         
             
                requirements:
         
     | 
| 
       115 
109 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       116 
110 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       117 
     | 
    
         
            -
                    version: ' 
     | 
| 
      
 111 
     | 
    
         
            +
                    version: '1.2'
         
     | 
| 
       118 
112 
     | 
    
         
             
                - - ">="
         
     | 
| 
       119 
113 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       120 
     | 
    
         
            -
                    version:  
     | 
| 
      
 114 
     | 
    
         
            +
                    version: 1.2.3
         
     | 
| 
       121 
115 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       122 
116 
     | 
    
         
             
              name: simplecov
         
     | 
| 
       123 
117 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       124 
118 
     | 
    
         
             
                requirements:
         
     | 
| 
       125 
119 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       126 
120 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       127 
     | 
    
         
            -
                    version: '0. 
     | 
| 
      
 121 
     | 
    
         
            +
                    version: '0.20'
         
     | 
| 
       128 
122 
     | 
    
         
             
                - - ">="
         
     | 
| 
       129 
123 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       130 
     | 
    
         
            -
                    version: 0. 
     | 
| 
      
 124 
     | 
    
         
            +
                    version: 0.20.0
         
     | 
| 
       131 
125 
     | 
    
         
             
              type: :development
         
     | 
| 
       132 
126 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       133 
127 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       134 
128 
     | 
    
         
             
                requirements:
         
     | 
| 
       135 
129 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       136 
130 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       137 
     | 
    
         
            -
                    version: '0. 
     | 
| 
      
 131 
     | 
    
         
            +
                    version: '0.20'
         
     | 
| 
       138 
132 
     | 
    
         
             
                - - ">="
         
     | 
| 
       139 
133 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       140 
     | 
    
         
            -
                    version: 0. 
     | 
| 
      
 134 
     | 
    
         
            +
                    version: 0.20.0
         
     | 
| 
       141 
135 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       142 
136 
     | 
    
         
             
              name: thor
         
     | 
| 
       143 
137 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -152,9 +146,8 @@ dependencies: 
     | 
|
| 
       152 
146 
     | 
    
         
             
                - - ">="
         
     | 
| 
       153 
147 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       154 
148 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       155 
     | 
    
         
            -
            description:  
     | 
| 
       156 
     | 
    
         
            -
               
     | 
| 
       157 
     | 
    
         
            -
              your Rails app to asynchronously ingest the files.
         
     | 
| 
      
 149 
     | 
    
         
            +
            description: Enables direct file uploads to Amazon S3 and provides a flexible pattern
         
     | 
| 
      
 150 
     | 
    
         
            +
              for your Rails app to asynchronously ingest the files.
         
     | 
| 
       158 
151 
     | 
    
         
             
            email:
         
     | 
| 
       159 
152 
     | 
    
         
             
            - kjohnston.ca@gmail.com
         
     | 
| 
       160 
153 
     | 
    
         
             
            executables: []
         
     | 
| 
         @@ -180,44 +173,67 @@ files: 
     | 
|
| 
       180 
173 
     | 
    
         
             
            - lib/s3_relay/upload_presigner.rb
         
     | 
| 
       181 
174 
     | 
    
         
             
            - lib/s3_relay/version.rb
         
     | 
| 
       182 
175 
     | 
    
         
             
            - test/controllers/s3_relay/uploads_controller_test.rb
         
     | 
| 
       183 
     | 
    
         
            -
            - test/dummy/README. 
     | 
| 
      
 176 
     | 
    
         
            +
            - test/dummy/README.md
         
     | 
| 
       184 
177 
     | 
    
         
             
            - test/dummy/Rakefile
         
     | 
| 
      
 178 
     | 
    
         
            +
            - test/dummy/app/assets/config/manifest.js
         
     | 
| 
       185 
179 
     | 
    
         
             
            - test/dummy/app/assets/javascripts/application.js
         
     | 
| 
      
 180 
     | 
    
         
            +
            - test/dummy/app/assets/javascripts/cable.js
         
     | 
| 
       186 
181 
     | 
    
         
             
            - test/dummy/app/assets/stylesheets/application.css
         
     | 
| 
      
 182 
     | 
    
         
            +
            - test/dummy/app/channels/application_cable/channel.rb
         
     | 
| 
      
 183 
     | 
    
         
            +
            - test/dummy/app/channels/application_cable/connection.rb
         
     | 
| 
       187 
184 
     | 
    
         
             
            - test/dummy/app/controllers/application_controller.rb
         
     | 
| 
       188 
185 
     | 
    
         
             
            - test/dummy/app/helpers/application_helper.rb
         
     | 
| 
      
 186 
     | 
    
         
            +
            - test/dummy/app/jobs/application_job.rb
         
     | 
| 
      
 187 
     | 
    
         
            +
            - test/dummy/app/mailers/application_mailer.rb
         
     | 
| 
      
 188 
     | 
    
         
            +
            - test/dummy/app/models/application_record.rb
         
     | 
| 
       189 
189 
     | 
    
         
             
            - test/dummy/app/models/product.rb
         
     | 
| 
       190 
190 
     | 
    
         
             
            - test/dummy/app/views/layouts/application.html.erb
         
     | 
| 
      
 191 
     | 
    
         
            +
            - test/dummy/app/views/layouts/mailer.html.erb
         
     | 
| 
      
 192 
     | 
    
         
            +
            - test/dummy/app/views/layouts/mailer.text.erb
         
     | 
| 
       191 
193 
     | 
    
         
             
            - test/dummy/bin/bundle
         
     | 
| 
       192 
194 
     | 
    
         
             
            - test/dummy/bin/rails
         
     | 
| 
       193 
195 
     | 
    
         
             
            - test/dummy/bin/rake
         
     | 
| 
      
 196 
     | 
    
         
            +
            - test/dummy/bin/setup
         
     | 
| 
      
 197 
     | 
    
         
            +
            - test/dummy/bin/spring
         
     | 
| 
      
 198 
     | 
    
         
            +
            - test/dummy/bin/update
         
     | 
| 
      
 199 
     | 
    
         
            +
            - test/dummy/bin/yarn
         
     | 
| 
       194 
200 
     | 
    
         
             
            - test/dummy/config.ru
         
     | 
| 
       195 
201 
     | 
    
         
             
            - test/dummy/config/application.rb
         
     | 
| 
       196 
202 
     | 
    
         
             
            - test/dummy/config/boot.rb
         
     | 
| 
      
 203 
     | 
    
         
            +
            - test/dummy/config/cable.yml
         
     | 
| 
       197 
204 
     | 
    
         
             
            - test/dummy/config/database.yml
         
     | 
| 
       198 
205 
     | 
    
         
             
            - test/dummy/config/environment.rb
         
     | 
| 
       199 
206 
     | 
    
         
             
            - test/dummy/config/environments/development.rb
         
     | 
| 
       200 
207 
     | 
    
         
             
            - test/dummy/config/environments/production.rb
         
     | 
| 
       201 
208 
     | 
    
         
             
            - test/dummy/config/environments/test.rb
         
     | 
| 
      
 209 
     | 
    
         
            +
            - test/dummy/config/initializers/application_controller_renderer.rb
         
     | 
| 
       202 
210 
     | 
    
         
             
            - test/dummy/config/initializers/assets.rb
         
     | 
| 
       203 
211 
     | 
    
         
             
            - test/dummy/config/initializers/backtrace_silencers.rb
         
     | 
| 
       204 
212 
     | 
    
         
             
            - test/dummy/config/initializers/cookies_serializer.rb
         
     | 
| 
       205 
213 
     | 
    
         
             
            - test/dummy/config/initializers/filter_parameter_logging.rb
         
     | 
| 
       206 
214 
     | 
    
         
             
            - test/dummy/config/initializers/inflections.rb
         
     | 
| 
       207 
215 
     | 
    
         
             
            - test/dummy/config/initializers/mime_types.rb
         
     | 
| 
       208 
     | 
    
         
            -
            - test/dummy/config/initializers/session_store.rb
         
     | 
| 
       209 
216 
     | 
    
         
             
            - test/dummy/config/initializers/wrap_parameters.rb
         
     | 
| 
       210 
217 
     | 
    
         
             
            - test/dummy/config/locales/en.yml
         
     | 
| 
      
 218 
     | 
    
         
            +
            - test/dummy/config/puma.rb
         
     | 
| 
       211 
219 
     | 
    
         
             
            - test/dummy/config/routes.rb
         
     | 
| 
       212 
220 
     | 
    
         
             
            - test/dummy/config/secrets.yml
         
     | 
| 
      
 221 
     | 
    
         
            +
            - test/dummy/config/spring.rb
         
     | 
| 
       213 
222 
     | 
    
         
             
            - test/dummy/db/migrate/20141021002149_create_products.rb
         
     | 
| 
       214 
223 
     | 
    
         
             
            - test/dummy/db/schema.rb
         
     | 
| 
      
 224 
     | 
    
         
            +
            - test/dummy/db/seeds.rb
         
     | 
| 
       215 
225 
     | 
    
         
             
            - test/dummy/log/development.log
         
     | 
| 
       216 
226 
     | 
    
         
             
            - test/dummy/log/test.log
         
     | 
| 
      
 227 
     | 
    
         
            +
            - test/dummy/package.json
         
     | 
| 
       217 
228 
     | 
    
         
             
            - test/dummy/public/404.html
         
     | 
| 
       218 
229 
     | 
    
         
             
            - test/dummy/public/422.html
         
     | 
| 
       219 
230 
     | 
    
         
             
            - test/dummy/public/500.html
         
     | 
| 
      
 231 
     | 
    
         
            +
            - test/dummy/public/apple-touch-icon-precomposed.png
         
     | 
| 
      
 232 
     | 
    
         
            +
            - test/dummy/public/apple-touch-icon.png
         
     | 
| 
       220 
233 
     | 
    
         
             
            - test/dummy/public/favicon.ico
         
     | 
| 
      
 234 
     | 
    
         
            +
            - test/dummy/public/robots.txt
         
     | 
| 
      
 235 
     | 
    
         
            +
            - test/dummy/test/application_system_test_case.rb
         
     | 
| 
      
 236 
     | 
    
         
            +
            - test/dummy/test/test_helper.rb
         
     | 
| 
       221 
237 
     | 
    
         
             
            - test/factories/products.rb
         
     | 
| 
       222 
238 
     | 
    
         
             
            - test/factories/uploads.rb
         
     | 
| 
       223 
239 
     | 
    
         
             
            - test/helpers/s3_relay/uploads_helper_test.rb
         
     | 
| 
         @@ -231,7 +247,7 @@ homepage: http://github.com/kjohnston/s3_relay 
     | 
|
| 
       231 
247 
     | 
    
         
             
            licenses:
         
     | 
| 
       232 
248 
     | 
    
         
             
            - MIT
         
     | 
| 
       233 
249 
     | 
    
         
             
            metadata: {}
         
     | 
| 
       234 
     | 
    
         
            -
            post_install_message: 
     | 
| 
      
 250 
     | 
    
         
            +
            post_install_message:
         
     | 
| 
       235 
251 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
       236 
252 
     | 
    
         
             
            require_paths:
         
     | 
| 
       237 
253 
     | 
    
         
             
            - lib
         
     | 
| 
         @@ -246,57 +262,79 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       246 
262 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       247 
263 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       248 
264 
     | 
    
         
             
            requirements: []
         
     | 
| 
       249 
     | 
    
         
            -
             
     | 
| 
       250 
     | 
    
         
            -
             
     | 
| 
       251 
     | 
    
         
            -
            signing_key: 
         
     | 
| 
      
 265 
     | 
    
         
            +
            rubygems_version: 3.1.4
         
     | 
| 
      
 266 
     | 
    
         
            +
            signing_key:
         
     | 
| 
       252 
267 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       253 
268 
     | 
    
         
             
            summary: Direct uploads to S3 and ingestion by your Rails app.
         
     | 
| 
       254 
269 
     | 
    
         
             
            test_files:
         
     | 
| 
       255 
     | 
    
         
            -
            - test/ 
     | 
| 
      
 270 
     | 
    
         
            +
            - test/dummy/app/mailers/application_mailer.rb
         
     | 
| 
      
 271 
     | 
    
         
            +
            - test/dummy/app/models/product.rb
         
     | 
| 
      
 272 
     | 
    
         
            +
            - test/dummy/app/models/application_record.rb
         
     | 
| 
      
 273 
     | 
    
         
            +
            - test/dummy/app/jobs/application_job.rb
         
     | 
| 
      
 274 
     | 
    
         
            +
            - test/dummy/app/controllers/application_controller.rb
         
     | 
| 
      
 275 
     | 
    
         
            +
            - test/dummy/app/views/layouts/application.html.erb
         
     | 
| 
      
 276 
     | 
    
         
            +
            - test/dummy/app/views/layouts/mailer.html.erb
         
     | 
| 
      
 277 
     | 
    
         
            +
            - test/dummy/app/views/layouts/mailer.text.erb
         
     | 
| 
      
 278 
     | 
    
         
            +
            - test/dummy/app/assets/config/manifest.js
         
     | 
| 
      
 279 
     | 
    
         
            +
            - test/dummy/app/assets/javascripts/cable.js
         
     | 
| 
       256 
280 
     | 
    
         
             
            - test/dummy/app/assets/javascripts/application.js
         
     | 
| 
       257 
281 
     | 
    
         
             
            - test/dummy/app/assets/stylesheets/application.css
         
     | 
| 
       258 
     | 
    
         
            -
            - test/dummy/app/controllers/application_controller.rb
         
     | 
| 
       259 
282 
     | 
    
         
             
            - test/dummy/app/helpers/application_helper.rb
         
     | 
| 
       260 
     | 
    
         
            -
            - test/dummy/app/ 
     | 
| 
       261 
     | 
    
         
            -
            - test/dummy/app/ 
     | 
| 
      
 283 
     | 
    
         
            +
            - test/dummy/app/channels/application_cable/connection.rb
         
     | 
| 
      
 284 
     | 
    
         
            +
            - test/dummy/app/channels/application_cable/channel.rb
         
     | 
| 
      
 285 
     | 
    
         
            +
            - test/dummy/test/application_system_test_case.rb
         
     | 
| 
      
 286 
     | 
    
         
            +
            - test/dummy/test/test_helper.rb
         
     | 
| 
      
 287 
     | 
    
         
            +
            - test/dummy/bin/update
         
     | 
| 
      
 288 
     | 
    
         
            +
            - test/dummy/bin/rake
         
     | 
| 
      
 289 
     | 
    
         
            +
            - test/dummy/bin/setup
         
     | 
| 
       262 
290 
     | 
    
         
             
            - test/dummy/bin/bundle
         
     | 
| 
      
 291 
     | 
    
         
            +
            - test/dummy/bin/yarn
         
     | 
| 
      
 292 
     | 
    
         
            +
            - test/dummy/bin/spring
         
     | 
| 
       263 
293 
     | 
    
         
             
            - test/dummy/bin/rails
         
     | 
| 
       264 
     | 
    
         
            -
            - test/dummy/ 
     | 
| 
       265 
     | 
    
         
            -
            - test/dummy/config/ 
     | 
| 
       266 
     | 
    
         
            -
            - test/dummy/config/ 
     | 
| 
       267 
     | 
    
         
            -
            - test/dummy/config/ 
     | 
| 
       268 
     | 
    
         
            -
            - test/dummy/config/environment.rb
         
     | 
| 
       269 
     | 
    
         
            -
            - test/dummy/config/environments/development.rb
         
     | 
| 
      
 294 
     | 
    
         
            +
            - test/dummy/config/secrets.yml
         
     | 
| 
      
 295 
     | 
    
         
            +
            - test/dummy/config/routes.rb
         
     | 
| 
      
 296 
     | 
    
         
            +
            - test/dummy/config/locales/en.yml
         
     | 
| 
      
 297 
     | 
    
         
            +
            - test/dummy/config/cable.yml
         
     | 
| 
       270 
298 
     | 
    
         
             
            - test/dummy/config/environments/production.rb
         
     | 
| 
      
 299 
     | 
    
         
            +
            - test/dummy/config/environments/development.rb
         
     | 
| 
       271 
300 
     | 
    
         
             
            - test/dummy/config/environments/test.rb
         
     | 
| 
       272 
     | 
    
         
            -
            - test/dummy/config/ 
     | 
| 
      
 301 
     | 
    
         
            +
            - test/dummy/config/spring.rb
         
     | 
| 
      
 302 
     | 
    
         
            +
            - test/dummy/config/environment.rb
         
     | 
| 
      
 303 
     | 
    
         
            +
            - test/dummy/config/application.rb
         
     | 
| 
      
 304 
     | 
    
         
            +
            - test/dummy/config/puma.rb
         
     | 
| 
      
 305 
     | 
    
         
            +
            - test/dummy/config/database.yml
         
     | 
| 
      
 306 
     | 
    
         
            +
            - test/dummy/config/boot.rb
         
     | 
| 
      
 307 
     | 
    
         
            +
            - test/dummy/config/initializers/application_controller_renderer.rb
         
     | 
| 
       273 
308 
     | 
    
         
             
            - test/dummy/config/initializers/backtrace_silencers.rb
         
     | 
| 
       274 
     | 
    
         
            -
            - test/dummy/config/initializers/cookies_serializer.rb
         
     | 
| 
       275 
     | 
    
         
            -
            - test/dummy/config/initializers/filter_parameter_logging.rb
         
     | 
| 
       276 
     | 
    
         
            -
            - test/dummy/config/initializers/inflections.rb
         
     | 
| 
       277 
309 
     | 
    
         
             
            - test/dummy/config/initializers/mime_types.rb
         
     | 
| 
       278 
     | 
    
         
            -
            - test/dummy/config/initializers/ 
     | 
| 
      
 310 
     | 
    
         
            +
            - test/dummy/config/initializers/filter_parameter_logging.rb
         
     | 
| 
       279 
311 
     | 
    
         
             
            - test/dummy/config/initializers/wrap_parameters.rb
         
     | 
| 
       280 
     | 
    
         
            -
            - test/dummy/config/ 
     | 
| 
       281 
     | 
    
         
            -
            - test/dummy/config/ 
     | 
| 
       282 
     | 
    
         
            -
            - test/dummy/config/ 
     | 
| 
      
 312 
     | 
    
         
            +
            - test/dummy/config/initializers/assets.rb
         
     | 
| 
      
 313 
     | 
    
         
            +
            - test/dummy/config/initializers/cookies_serializer.rb
         
     | 
| 
      
 314 
     | 
    
         
            +
            - test/dummy/config/initializers/inflections.rb
         
     | 
| 
       283 
315 
     | 
    
         
             
            - test/dummy/config.ru
         
     | 
| 
       284 
     | 
    
         
            -
            - test/dummy/ 
     | 
| 
       285 
     | 
    
         
            -
            - test/dummy/ 
     | 
| 
       286 
     | 
    
         
            -
            - test/dummy/ 
     | 
| 
       287 
     | 
    
         
            -
            - test/dummy/log/test.log
         
     | 
| 
       288 
     | 
    
         
            -
            - test/dummy/public/404.html
         
     | 
| 
      
 316 
     | 
    
         
            +
            - test/dummy/README.md
         
     | 
| 
      
 317 
     | 
    
         
            +
            - test/dummy/Rakefile
         
     | 
| 
      
 318 
     | 
    
         
            +
            - test/dummy/public/favicon.ico
         
     | 
| 
       289 
319 
     | 
    
         
             
            - test/dummy/public/422.html
         
     | 
| 
      
 320 
     | 
    
         
            +
            - test/dummy/public/apple-touch-icon.png
         
     | 
| 
       290 
321 
     | 
    
         
             
            - test/dummy/public/500.html
         
     | 
| 
       291 
     | 
    
         
            -
            - test/dummy/public/ 
     | 
| 
       292 
     | 
    
         
            -
            - test/dummy/ 
     | 
| 
       293 
     | 
    
         
            -
            - test/dummy/ 
     | 
| 
       294 
     | 
    
         
            -
            - test/ 
     | 
| 
       295 
     | 
    
         
            -
            - test/ 
     | 
| 
       296 
     | 
    
         
            -
            - test/ 
     | 
| 
       297 
     | 
    
         
            -
            - test/ 
     | 
| 
       298 
     | 
    
         
            -
            - test/ 
     | 
| 
       299 
     | 
    
         
            -
            - test/ 
     | 
| 
      
 322 
     | 
    
         
            +
            - test/dummy/public/404.html
         
     | 
| 
      
 323 
     | 
    
         
            +
            - test/dummy/public/apple-touch-icon-precomposed.png
         
     | 
| 
      
 324 
     | 
    
         
            +
            - test/dummy/public/robots.txt
         
     | 
| 
      
 325 
     | 
    
         
            +
            - test/dummy/package.json
         
     | 
| 
      
 326 
     | 
    
         
            +
            - test/dummy/db/schema.rb
         
     | 
| 
      
 327 
     | 
    
         
            +
            - test/dummy/db/seeds.rb
         
     | 
| 
      
 328 
     | 
    
         
            +
            - test/dummy/db/migrate/20141021002149_create_products.rb
         
     | 
| 
      
 329 
     | 
    
         
            +
            - test/dummy/log/test.log
         
     | 
| 
      
 330 
     | 
    
         
            +
            - test/dummy/log/development.log
         
     | 
| 
       300 
331 
     | 
    
         
             
            - test/models/s3_relay/upload_test.rb
         
     | 
| 
       301 
332 
     | 
    
         
             
            - test/support/database_cleaner.rb
         
     | 
| 
      
 333 
     | 
    
         
            +
            - test/factories/uploads.rb
         
     | 
| 
      
 334 
     | 
    
         
            +
            - test/factories/products.rb
         
     | 
| 
      
 335 
     | 
    
         
            +
            - test/lib/s3_relay/upload_presigner_test.rb
         
     | 
| 
      
 336 
     | 
    
         
            +
            - test/lib/s3_relay/private_url_test.rb
         
     | 
| 
      
 337 
     | 
    
         
            +
            - test/lib/s3_relay/model_test.rb
         
     | 
| 
       302 
338 
     | 
    
         
             
            - test/test_helper.rb
         
     | 
| 
      
 339 
     | 
    
         
            +
            - test/controllers/s3_relay/uploads_controller_test.rb
         
     | 
| 
      
 340 
     | 
    
         
            +
            - test/helpers/s3_relay/uploads_helper_test.rb
         
     |