vagrant-solidus 1.0.0.rc2 → 1.0.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 +8 -8
 - data/CHANGELOG.md +3 -2
 - data/lib/vagrant-solidus/site_helpers.rb +7 -3
 - data/lib/vagrant-solidus/version.rb +1 -1
 - metadata +4 -4
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,15 +1,15 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            !binary "U0hBMQ==":
         
     | 
| 
       3 
3 
     | 
    
         
             
              metadata.gz: !binary |-
         
     | 
| 
       4 
     | 
    
         
            -
                 
     | 
| 
      
 4 
     | 
    
         
            +
                YmVjMjg2NGI4OWM5MTVhMjJlZDk1YWExZjBkMjQ5OGQyNDJlNzlkOQ==
         
     | 
| 
       5 
5 
     | 
    
         
             
              data.tar.gz: !binary |-
         
     | 
| 
       6 
     | 
    
         
            -
                 
     | 
| 
      
 6 
     | 
    
         
            +
                MjllZDQ4ZWIxYmQxMTIwZTY4MjI2YmMxOWI1YzBhMjI4NGRmZDY3Ng==
         
     | 
| 
       7 
7 
     | 
    
         
             
            SHA512:
         
     | 
| 
       8 
8 
     | 
    
         
             
              metadata.gz: !binary |-
         
     | 
| 
       9 
     | 
    
         
            -
                 
     | 
| 
       10 
     | 
    
         
            -
                 
     | 
| 
       11 
     | 
    
         
            -
                 
     | 
| 
      
 9 
     | 
    
         
            +
                ZWEwMmE5YTFlMmY0NWNkNjliYWI2NDIxYjIwY2NmYjA2NTQ4NjEyOGVkN2Y2
         
     | 
| 
      
 10 
     | 
    
         
            +
                MjU2MjU3N2VkNDk3MzY5MjhjMTg0ZTMxOGU1MTY2MzU1MTlmNGM0MDA1OTc0
         
     | 
| 
      
 11 
     | 
    
         
            +
                NTU4ODk5NDAxYjM2NjMxMmUyNDI1MGZkM2Q1ZWZlYzI5OGJlNWQ=
         
     | 
| 
       12 
12 
     | 
    
         
             
              data.tar.gz: !binary |-
         
     | 
| 
       13 
     | 
    
         
            -
                 
     | 
| 
       14 
     | 
    
         
            -
                 
     | 
| 
       15 
     | 
    
         
            -
                 
     | 
| 
      
 13 
     | 
    
         
            +
                OTk5YjY2ZTIzM2YxNjJhZTdhNDVlZWFkZDNjMGY0ZmY5OWQ5MzJmZTE3ZjE2
         
     | 
| 
      
 14 
     | 
    
         
            +
                ZDJmNDM4N2QzZWIxZWJjYTlmOWMxOTFkMDY2NDQ0ZTZjZmU3MTA4ODZkNzJl
         
     | 
| 
      
 15 
     | 
    
         
            +
                YWVjODQ5ZDUyNzNkODNhZmM1MTc4ZjdiMGJiZTgyYWVjNDc4MmE=
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,6 +1,7 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            ##  
     | 
| 
      
 1 
     | 
    
         
            +
            ## 1.0.0 (Jan 14, 2015)
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
     | 
    
         
            -
             - Use npm scripts instead of grunt
         
     | 
| 
      
 3 
     | 
    
         
            +
             - Use npm scripts instead of grunt [[a626484](https://github.com/solidusjs/vagrant-solidus/commit/a626484dbd6a17122c4d5dd0d4afb39b62ce38ed)]
         
     | 
| 
      
 4 
     | 
    
         
            +
             - Create/update site from specific tag on cloned template repo [[1b3075b](https://github.com/solidusjs/vagrant-solidus/commit/1b3075b00a06422281ec4f321126b6d42d0e1af6)]
         
     | 
| 
       4 
5 
     | 
    
         | 
| 
       5 
6 
     | 
    
         
             
            BREAKING CHANGES:
         
     | 
| 
       6 
7 
     | 
    
         | 
| 
         @@ -4,6 +4,7 @@ module VagrantPlugins 
     | 
|
| 
       4 
4 
     | 
    
         
             
                  BASE_PORT = 8081
         
     | 
| 
       5 
5 
     | 
    
         
             
                  BASE_UTILS_PORT = 35730
         
     | 
| 
       6 
6 
     | 
    
         
             
                  SITE_TEMPLATE_GIT_URL = "https://github.com/solidusjs/solidus-site-template.git"
         
     | 
| 
      
 7 
     | 
    
         
            +
                  SITE_TEMPLATE_GIT_TAG = "v1.0.0"
         
     | 
| 
       7 
8 
     | 
    
         
             
                  SITE_STATUS_WATCHER_POLLING_FREQUENCY = 1
         
     | 
| 
       8 
9 
     | 
    
         
             
                  PROVISION_ID = 20140502
         
     | 
| 
       9 
10 
     | 
    
         | 
| 
         @@ -258,9 +259,12 @@ module VagrantPlugins 
     | 
|
| 
       258 
259 
     | 
    
         
             
                  #########################################################################
         
     | 
| 
       259 
260 
     | 
    
         | 
| 
       260 
261 
     | 
    
         
             
                  def clone_site_template(site_template_git_url)
         
     | 
| 
       261 
     | 
    
         
            -
                    site_template_git_url ||= SITE_TEMPLATE_GIT_URL
         
     | 
| 
       262 
262 
     | 
    
         
             
                    FileUtils.rm_rf(SITE_TEMPLATE_HOST_PATH)
         
     | 
| 
       263 
     | 
    
         
            -
                     
     | 
| 
      
 263 
     | 
    
         
            +
                    if site_template_git_url
         
     | 
| 
      
 264 
     | 
    
         
            +
                      fail("Site template could not be cloned") unless host_exec(:log_on_error, "git", "clone", site_template_git_url, SITE_TEMPLATE_HOST_PATH)
         
     | 
| 
      
 265 
     | 
    
         
            +
                    else
         
     | 
| 
      
 266 
     | 
    
         
            +
                      fail("Site template could not be cloned") unless host_exec(:log_on_error, "git", "clone", "--branch", SITE_TEMPLATE_GIT_TAG, SITE_TEMPLATE_GIT_URL, SITE_TEMPLATE_HOST_PATH)
         
     | 
| 
      
 267 
     | 
    
         
            +
                    end
         
     | 
| 
       264 
268 
     | 
    
         
             
                    wait_until_guest_directory_exists(SITE_TEMPLATE_GUEST_PATH)
         
     | 
| 
       265 
269 
     | 
    
         
             
                  end
         
     | 
| 
       266 
270 
     | 
    
         | 
| 
         @@ -307,7 +311,7 @@ module VagrantPlugins 
     | 
|
| 
       307 
311 
     | 
    
         
             
                  end
         
     | 
| 
       308 
312 
     | 
    
         | 
| 
       309 
313 
     | 
    
         
             
                  def site_template_command_line_options(opts)
         
     | 
| 
       310 
     | 
    
         
            -
                    opts.on("-g", "--template-git-url <URL>", "URL of the Solidus site template Git repository", "Default: #{SITE_TEMPLATE_GIT_URL}") do |url|
         
     | 
| 
      
 314 
     | 
    
         
            +
                    opts.on("-g", "--template-git-url <URL>", "URL of the Solidus site template Git repository", "Default: #{SITE_TEMPLATE_GIT_URL}, #{SITE_TEMPLATE_GIT_TAG} tag") do |url|
         
     | 
| 
       311 
315 
     | 
    
         
             
                      raise Vagrant::Errors::CLIInvalidUsage, help: opts.help.chomp if !url || url.empty?
         
     | 
| 
       312 
316 
     | 
    
         
             
                      @site_template_git_url = url
         
     | 
| 
       313 
317 
     | 
    
         
             
                    end
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: vagrant-solidus
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1.0.0 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.0.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Joannic Laborde
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2015-01- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2015-01-14 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: bundler
         
     | 
| 
         @@ -89,9 +89,9 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       89 
89 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       90 
90 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       91 
91 
     | 
    
         
             
              requirements:
         
     | 
| 
       92 
     | 
    
         
            -
              - - ! ' 
     | 
| 
      
 92 
     | 
    
         
            +
              - - ! '>='
         
     | 
| 
       93 
93 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       94 
     | 
    
         
            -
                  version:  
     | 
| 
      
 94 
     | 
    
         
            +
                  version: '0'
         
     | 
| 
       95 
95 
     | 
    
         
             
            requirements: []
         
     | 
| 
       96 
96 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       97 
97 
     | 
    
         
             
            rubygems_version: 2.4.4
         
     |