desi 0.7.0 → 0.7.1
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/README.md +2 -4
 - data/lib/desi/local_install.rb +1 -0
 - data/lib/desi/version.rb +1 -1
 - metadata +3 -3
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 898829d177296f18bf160341541aa0be1725e08b
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: dca72e48e4374d128a4acbfeb62bdb6a5429f452
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 986cb2ac1e0670d468a7d45198300584d62696f8eff4ce2c613fc939619e531a165e764345478156653cc00b839b8def8b5d9b05680dfa9ee95be2fdb165ac1a
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 353d9a3a1078f6c9b1d7eb542abbc06e7cd7a4698f8798834c40ddff7b9fbcb95748c837581d34beb171906cb2ecb3021597fdb1561c348bd92bbfb73590162f
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -27,11 +27,11 @@ It can be used both as a command-line tool and as a library. 
     | 
|
| 
       27 
27 
     | 
    
         
             
                $ desi status [--host HOST]  # Show running cluster info
         
     | 
| 
       28 
28 
     | 
    
         
             
                $ desi tail                  # Show tail output from Elastic Search's log file
         
     | 
| 
       29 
29 
     | 
    
         
             
                $ desi current               # Show current version
         
     | 
| 
       30 
     | 
    
         
            -
                $ desi current  
     | 
| 
      
 30 
     | 
    
         
            +
                $ desi current VERSION       # Change the symlink pointing to current version
         
     | 
| 
       31 
31 
     | 
    
         | 
| 
       32 
32 
     | 
    
         
             
                $ desi indices "^foo"          # List all indices whose name match /^foo/
         
     | 
| 
       33 
33 
     | 
    
         
             
                $ desi indices "^foo" --delete # Delete all matching indices
         
     | 
| 
       34 
     | 
    
         
            -
                $ desi indices "^foo" --close  #  
     | 
| 
      
 34 
     | 
    
         
            +
                $ desi indices "^foo" --close  # Close all matching indices
         
     | 
| 
       35 
35 
     | 
    
         
             
                $ desi indices "bar$" --empty  # Remove all records from the matching indices
         
     | 
| 
       36 
36 
     | 
    
         | 
| 
       37 
37 
     | 
    
         
             
            ## Examples (command-line and Ruby)
         
     | 
| 
         @@ -188,8 +188,6 @@ Or install it yourself as: 
     | 
|
| 
       188 
188 
     | 
    
         | 
| 
       189 
189 
     | 
    
         
             
              * add more tests
         
     | 
| 
       190 
190 
     | 
    
         | 
| 
       191 
     | 
    
         
            -
              * `desi upgrade` (Upgrade to latest version and migrate data)
         
     | 
| 
       192 
     | 
    
         
            -
              * `desi switch VERSION` (Switch currently active ES version to VERSION)
         
     | 
| 
       193 
191 
     | 
    
         
             
              * plugin management ? (list, install, remove ES plugins)
         
     | 
| 
       194 
192 
     | 
    
         | 
| 
       195 
193 
     | 
    
         
             
            ## Contributing
         
     | 
    
        data/lib/desi/local_install.rb
    CHANGED
    
    | 
         @@ -36,6 +36,7 @@ module Desi 
     | 
|
| 
       36 
36 
     | 
    
         
             
                def add_data_symlink(release_dir)
         
     | 
| 
       37 
37 
     | 
    
         
             
                  current_dir_must_be_nil_or_symlink!
         
     | 
| 
       38 
38 
     | 
    
         
             
                  symlink = current_dir.join('data')
         
     | 
| 
      
 39 
     | 
    
         
            +
                  FileUtils.mkdir_p data_dir
         
     | 
| 
       39 
40 
     | 
    
         
             
                  puts " * Updating data dir symlink (#{symlink} -> #{data_dir})" if @verbose
         
     | 
| 
       40 
41 
     | 
    
         
             
                  FileUtils.ln_sf(data_dir, symlink)
         
     | 
| 
       41 
42 
     | 
    
         
             
                  self
         
     | 
    
        data/lib/desi/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: desi
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.7. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.7.1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Dominique Rose-Rosette
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2015-02- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2015-02-27 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: boson
         
     | 
| 
         @@ -225,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       225 
225 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       226 
226 
     | 
    
         
             
            requirements: []
         
     | 
| 
       227 
227 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       228 
     | 
    
         
            -
            rubygems_version: 2. 
     | 
| 
      
 228 
     | 
    
         
            +
            rubygems_version: 2.4.5
         
     | 
| 
       229 
229 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       230 
230 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       231 
231 
     | 
    
         
             
            summary: A developer tool to quickly set up an Elastic Search local install.
         
     |