ember-cli-deploy-rack 2.4.4 → 2.5.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 +4 -4
 - data/CHANGELOG.md +11 -0
 - data/README.md +1 -1
 - data/lib/ember/cli/deploy/rack/engine.rb +8 -8
 - data/lib/ember/cli/deploy/rack/version.rb +1 -1
 - data/spec/integration/ember/cli/deploy/rack/engine_spec.rb +11 -1
 - metadata +7 -7
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: aef09821864ab5fe2fb9f773866e81b6d5a8c14b
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: ccd4eb4726edaad25d1f3eb7a732d3b997948590
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 2ef05b14ffd4610e513074786067a44e70293debd2a97fbdc52f45bd5b3c0690b2566e86116e3cbdc93f0dde5d8e7ff3e8f5fd7e1af9dd23424cf4d82f6361d1
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 71c1c886c5765124d2c5b8c085e9325ac50a960aaf47a87afc0b6d5a81a9cb6e3f698daa5ee9137c23c246b107ff70d448510a254eb744c9c0365360ec0d6109
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/README.md
    CHANGED
    
    | 
         @@ -175,7 +175,7 @@ $ thin stop 
     | 
|
| 
       175 
175 
     | 
    
         
             
            Bug Reports
         
     | 
| 
       176 
176 
     | 
    
         
             
            -----------
         
     | 
| 
       177 
177 
     | 
    
         | 
| 
       178 
     | 
    
         
            -
             
     | 
| 
      
 178 
     | 
    
         
            +
            GitHub Issues are used for managing bug reports and feature requests. If you run into issues, please search the issues
         
     | 
| 
       179 
179 
     | 
    
         
             
            and submit new problems [here].
         
     | 
| 
       180 
180 
     | 
    
         | 
| 
       181 
181 
     | 
    
         
             
            Versioning
         
     | 
| 
         @@ -69,14 +69,6 @@ module Ember 
     | 
|
| 
       69 
69 
     | 
    
         | 
| 
       70 
70 
     | 
    
         
             
                      # === Routes ===
         
     | 
| 
       71 
71 
     | 
    
         | 
| 
       72 
     | 
    
         
            -
                      get '/' do
         
     | 
| 
       73 
     | 
    
         
            -
                        content_type 'text/html'
         
     | 
| 
       74 
     | 
    
         
            -
             
     | 
| 
       75 
     | 
    
         
            -
                        logger.debug 'Processing request for `/` route...'
         
     | 
| 
       76 
     | 
    
         
            -
             
     | 
| 
       77 
     | 
    
         
            -
                        index params[:revision]
         
     | 
| 
       78 
     | 
    
         
            -
                      end
         
     | 
| 
       79 
     | 
    
         
            -
             
     | 
| 
       80 
72 
     | 
    
         
             
                      get '/debug' do
         
     | 
| 
       81 
73 
     | 
    
         
             
                        if settings.debug
         
     | 
| 
       82 
74 
     | 
    
         
             
                          @id       = 'debug'
         
     | 
| 
         @@ -89,6 +81,14 @@ module Ember 
     | 
|
| 
       89 
81 
     | 
    
         
             
                        end
         
     | 
| 
       90 
82 
     | 
    
         
             
                      end
         
     | 
| 
       91 
83 
     | 
    
         | 
| 
      
 84 
     | 
    
         
            +
                      get '/*' do
         
     | 
| 
      
 85 
     | 
    
         
            +
                        content_type 'text/html'
         
     | 
| 
      
 86 
     | 
    
         
            +
             
     | 
| 
      
 87 
     | 
    
         
            +
                        logger.debug 'Processing request for `/*` route...'
         
     | 
| 
      
 88 
     | 
    
         
            +
             
     | 
| 
      
 89 
     | 
    
         
            +
                        index params[:revision]
         
     | 
| 
      
 90 
     | 
    
         
            +
                      end
         
     | 
| 
      
 91 
     | 
    
         
            +
             
     | 
| 
       92 
92 
     | 
    
         
             
                      # === Private ===
         
     | 
| 
       93 
93 
     | 
    
         | 
| 
       94 
94 
     | 
    
         
             
                      protected
         
     | 
| 
         @@ -11,7 +11,7 @@ RSpec.describe Ember::CLI::Deploy::Rack::Engine do 
     | 
|
| 
       11 
11 
     | 
    
         
             
              end
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
       13 
13 
     | 
    
         
             
              context 'data available' do
         
     | 
| 
       14 
     | 
    
         
            -
                describe ' 
     | 
| 
      
 14 
     | 
    
         
            +
                describe '/*' do
         
     | 
| 
       15 
15 
     | 
    
         
             
                  it 'returns the `current-content` revision as default' do
         
     | 
| 
       16 
16 
     | 
    
         
             
                    revision = 'current-content'
         
     | 
| 
       17 
17 
     | 
    
         
             
                    fixture  = File.expand_path "ember/cli/deploy/rack/engine/revisions/#{revision}.html", fixtures
         
     | 
| 
         @@ -23,6 +23,11 @@ RSpec.describe Ember::CLI::Deploy::Rack::Engine do 
     | 
|
| 
       23 
23 
     | 
    
         | 
| 
       24 
24 
     | 
    
         
             
                    expect(last_response).to be_ok
         
     | 
| 
       25 
25 
     | 
    
         
             
                    expect(last_response.body).to eq html
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
                    get '/foo/bar'
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
                    expect(last_response).to be_ok
         
     | 
| 
      
 30 
     | 
    
         
            +
                    expect(last_response.body).to eq html
         
     | 
| 
       26 
31 
     | 
    
         
             
                  end
         
     | 
| 
       27 
32 
     | 
    
         | 
| 
       28 
33 
     | 
    
         
             
                  it 'returns a specific revision' do
         
     | 
| 
         @@ -36,6 +41,11 @@ RSpec.describe Ember::CLI::Deploy::Rack::Engine do 
     | 
|
| 
       36 
41 
     | 
    
         | 
| 
       37 
42 
     | 
    
         
             
                    expect(last_response).to be_ok
         
     | 
| 
       38 
43 
     | 
    
         
             
                    expect(last_response.body).to eq html
         
     | 
| 
      
 44 
     | 
    
         
            +
             
     | 
| 
      
 45 
     | 
    
         
            +
                    get '/foo/bar', revision: revision
         
     | 
| 
      
 46 
     | 
    
         
            +
             
     | 
| 
      
 47 
     | 
    
         
            +
                    expect(last_response).to be_ok
         
     | 
| 
      
 48 
     | 
    
         
            +
                    expect(last_response.body).to eq html
         
     | 
| 
       39 
49 
     | 
    
         
             
                  end
         
     | 
| 
       40 
50 
     | 
    
         
             
                end
         
     | 
| 
       41 
51 
     | 
    
         
             
              end
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: ember-cli-deploy-rack
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 2. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 2.5.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Maik Kempe
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2016-03- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2016-03-14 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: sinatra
         
     | 
| 
         @@ -96,20 +96,20 @@ dependencies: 
     | 
|
| 
       96 
96 
     | 
    
         
             
                requirements:
         
     | 
| 
       97 
97 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       98 
98 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       99 
     | 
    
         
            -
                    version: ' 
     | 
| 
      
 99 
     | 
    
         
            +
                    version: '11.1'
         
     | 
| 
       100 
100 
     | 
    
         
             
                - - ">="
         
     | 
| 
       101 
101 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       102 
     | 
    
         
            -
                    version:  
     | 
| 
      
 102 
     | 
    
         
            +
                    version: 11.1.1
         
     | 
| 
       103 
103 
     | 
    
         
             
              type: :development
         
     | 
| 
       104 
104 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       105 
105 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       106 
106 
     | 
    
         
             
                requirements:
         
     | 
| 
       107 
107 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       108 
108 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       109 
     | 
    
         
            -
                    version: ' 
     | 
| 
      
 109 
     | 
    
         
            +
                    version: '11.1'
         
     | 
| 
       110 
110 
     | 
    
         
             
                - - ">="
         
     | 
| 
       111 
111 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       112 
     | 
    
         
            -
                    version:  
     | 
| 
      
 112 
     | 
    
         
            +
                    version: 11.1.1
         
     | 
| 
       113 
113 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       114 
114 
     | 
    
         
             
              name: rspec
         
     | 
| 
       115 
115 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -178,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       178 
178 
     | 
    
         
             
                  version: '2.4'
         
     | 
| 
       179 
179 
     | 
    
         
             
            requirements: []
         
     | 
| 
       180 
180 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       181 
     | 
    
         
            -
            rubygems_version: 2.6. 
     | 
| 
      
 181 
     | 
    
         
            +
            rubygems_version: 2.6.2
         
     | 
| 
       182 
182 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       183 
183 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       184 
184 
     | 
    
         
             
            summary: A Rack package to launch your Ember.js application into the Cloud.
         
     |