knife-flip 0.1.3 → 0.1.4
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.
- data/knife-flip.gemspec +1 -1
 - data/lib/chef/knife/nodeflip.rb +4 -0
 - metadata +37 -50
 
    
        data/knife-flip.gemspec
    CHANGED
    
    | 
         @@ -13,7 +13,7 @@ Gem::Specification.new do |s| 
     | 
|
| 
       13 
13 
     | 
    
         
             
              ## If your rubyforge_project name is different, then edit it and comment out
         
     | 
| 
       14 
14 
     | 
    
         
             
              ## the sub! line in the Rakefile
         
     | 
| 
       15 
15 
     | 
    
         
             
              s.name              = 'knife-flip'
         
     | 
| 
       16 
     | 
    
         
            -
              s.version           = '0.1. 
     | 
| 
      
 16 
     | 
    
         
            +
              s.version           = '0.1.4'
         
     | 
| 
       17 
17 
     | 
    
         
             
              s.date              = '2012-02-01'
         
     | 
| 
       18 
18 
     | 
    
         
             
              s.rubyforge_project = 'knife-flip'
         
     | 
| 
       19 
19 
     | 
    
         | 
    
        data/lib/chef/knife/nodeflip.rb
    CHANGED
    
    | 
         @@ -54,6 +54,10 @@ module KnifeFlip 
     | 
|
| 
       54 
54 
     | 
    
         
             
                  node.save
         
     | 
| 
       55 
55 
     | 
    
         | 
| 
       56 
56 
     | 
    
         
             
                  knife_search = Chef::Knife::Search.new
         
     | 
| 
      
 57 
     | 
    
         
            +
                  # ensure that 'start' and 'rows' are set since we don't seem to properly inherit the +config+ hash and therefore don't get sane defaults
         
     | 
| 
      
 58 
     | 
    
         
            +
                  config[:start] = 0
         
     | 
| 
      
 59 
     | 
    
         
            +
                  config[:rows] = 1000
         
     | 
| 
      
 60 
     | 
    
         
            +
                  knife_search.config = config  # without this, the +config+ hash is empty
         
     | 
| 
       57 
61 
     | 
    
         
             
                  knife_search.name_args = ['node', "fqdn:#{@node_name}"]
         
     | 
| 
       58 
62 
     | 
    
         
             
                  knife_search.run
         
     | 
| 
       59 
63 
     | 
    
         | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,83 +1,70 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            --- !ruby/object:Gem::Specification 
     | 
| 
      
 1 
     | 
    
         
            +
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: knife-flip
         
     | 
| 
       3 
     | 
    
         
            -
            version: !ruby/object:Gem::Version 
     | 
| 
       4 
     | 
    
         
            -
               
     | 
| 
       5 
     | 
    
         
            -
               
     | 
| 
       6 
     | 
    
         
            -
              - 0
         
     | 
| 
       7 
     | 
    
         
            -
              - 1
         
     | 
| 
       8 
     | 
    
         
            -
              - 3
         
     | 
| 
       9 
     | 
    
         
            -
              version: 0.1.3
         
     | 
| 
      
 3 
     | 
    
         
            +
            version: !ruby/object:Gem::Version
         
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.1.4
         
     | 
| 
      
 5 
     | 
    
         
            +
              prerelease: 
         
     | 
| 
       10 
6 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       11 
     | 
    
         
            -
            authors: 
     | 
| 
      
 7 
     | 
    
         
            +
            authors:
         
     | 
| 
       12 
8 
     | 
    
         
             
            - Jon Cowie
         
     | 
| 
       13 
9 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       14 
10 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       15 
11 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
     | 
    
         
            -
             
     | 
| 
       18 
     | 
    
         
            -
             
     | 
| 
       19 
     | 
    
         
            -
            dependencies: 
         
     | 
| 
       20 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency 
         
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2012-02-01 00:00:00.000000000 Z
         
     | 
| 
      
 13 
     | 
    
         
            +
            dependencies:
         
     | 
| 
      
 14 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
       21 
15 
     | 
    
         
             
              name: chef
         
     | 
| 
       22 
     | 
    
         
            -
               
     | 
| 
       23 
     | 
    
         
            -
              requirement: &id001 !ruby/object:Gem::Requirement 
         
     | 
| 
      
 16 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       24 
17 
     | 
    
         
             
                none: false
         
     | 
| 
       25 
     | 
    
         
            -
                requirements: 
     | 
| 
       26 
     | 
    
         
            -
                - -  
     | 
| 
       27 
     | 
    
         
            -
                  - !ruby/object:Gem::Version 
     | 
| 
       28 
     | 
    
         
            -
                    segments: 
         
     | 
| 
       29 
     | 
    
         
            -
                    - 0
         
     | 
| 
       30 
     | 
    
         
            -
                    - 10
         
     | 
| 
       31 
     | 
    
         
            -
                    - 4
         
     | 
| 
      
 18 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 19 
     | 
    
         
            +
                - - ! '>='
         
     | 
| 
      
 20 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
       32 
21 
     | 
    
         
             
                    version: 0.10.4
         
     | 
| 
       33 
22 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       34 
     | 
    
         
            -
               
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
      
 23 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 24 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 25 
     | 
    
         
            +
                none: false
         
     | 
| 
      
 26 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 27 
     | 
    
         
            +
                - - ! '>='
         
     | 
| 
      
 28 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 29 
     | 
    
         
            +
                    version: 0.10.4
         
     | 
| 
      
 30 
     | 
    
         
            +
            description: A knife plugin to move a node, or all nodes in a role, to a specific
         
     | 
| 
      
 31 
     | 
    
         
            +
              environment
         
     | 
| 
       36 
32 
     | 
    
         
             
            email: jonlives@gmail.com
         
     | 
| 
       37 
33 
     | 
    
         
             
            executables: []
         
     | 
| 
       38 
     | 
    
         
            -
             
     | 
| 
       39 
34 
     | 
    
         
             
            extensions: []
         
     | 
| 
       40 
     | 
    
         
            -
             
     | 
| 
       41 
     | 
    
         
            -
            extra_rdoc_files: 
         
     | 
| 
      
 35 
     | 
    
         
            +
            extra_rdoc_files:
         
     | 
| 
       42 
36 
     | 
    
         
             
            - README.md
         
     | 
| 
       43 
     | 
    
         
            -
            files: 
     | 
| 
      
 37 
     | 
    
         
            +
            files:
         
     | 
| 
       44 
38 
     | 
    
         
             
            - README.md
         
     | 
| 
       45 
39 
     | 
    
         
             
            - Rakefile
         
     | 
| 
       46 
40 
     | 
    
         
             
            - knife-flip.gemspec
         
     | 
| 
       47 
41 
     | 
    
         
             
            - lib/chef/knife/nodeflip.rb
         
     | 
| 
       48 
42 
     | 
    
         
             
            - lib/chef/knife/roleflip.rb
         
     | 
| 
       49 
43 
     | 
    
         
             
            - lib/knife-flip.rb
         
     | 
| 
       50 
     | 
    
         
            -
            has_rdoc: true
         
     | 
| 
       51 
44 
     | 
    
         
             
            homepage: https://github.com/jonlives/knife-flip
         
     | 
| 
       52 
45 
     | 
    
         
             
            licenses: []
         
     | 
| 
       53 
     | 
    
         
            -
             
     | 
| 
       54 
46 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
       55 
     | 
    
         
            -
            rdoc_options: 
     | 
| 
      
 47 
     | 
    
         
            +
            rdoc_options:
         
     | 
| 
       56 
48 
     | 
    
         
             
            - --charset=UTF-8
         
     | 
| 
       57 
     | 
    
         
            -
            require_paths: 
     | 
| 
      
 49 
     | 
    
         
            +
            require_paths:
         
     | 
| 
       58 
50 
     | 
    
         
             
            - lib
         
     | 
| 
       59 
     | 
    
         
            -
            required_ruby_version: !ruby/object:Gem::Requirement 
     | 
| 
      
 51 
     | 
    
         
            +
            required_ruby_version: !ruby/object:Gem::Requirement
         
     | 
| 
       60 
52 
     | 
    
         
             
              none: false
         
     | 
| 
       61 
     | 
    
         
            -
              requirements: 
     | 
| 
       62 
     | 
    
         
            -
              - -  
     | 
| 
       63 
     | 
    
         
            -
                - !ruby/object:Gem::Version 
     | 
| 
       64 
     | 
    
         
            -
                   
     | 
| 
       65 
     | 
    
         
            -
             
     | 
| 
       66 
     | 
    
         
            -
                  version: "0"
         
     | 
| 
       67 
     | 
    
         
            -
            required_rubygems_version: !ruby/object:Gem::Requirement 
         
     | 
| 
      
 53 
     | 
    
         
            +
              requirements:
         
     | 
| 
      
 54 
     | 
    
         
            +
              - - ! '>='
         
     | 
| 
      
 55 
     | 
    
         
            +
                - !ruby/object:Gem::Version
         
     | 
| 
      
 56 
     | 
    
         
            +
                  version: '0'
         
     | 
| 
      
 57 
     | 
    
         
            +
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       68 
58 
     | 
    
         
             
              none: false
         
     | 
| 
       69 
     | 
    
         
            -
              requirements: 
     | 
| 
       70 
     | 
    
         
            -
              - -  
     | 
| 
       71 
     | 
    
         
            -
                - !ruby/object:Gem::Version 
     | 
| 
       72 
     | 
    
         
            -
                   
     | 
| 
       73 
     | 
    
         
            -
                  - 0
         
     | 
| 
       74 
     | 
    
         
            -
                  version: "0"
         
     | 
| 
      
 59 
     | 
    
         
            +
              requirements:
         
     | 
| 
      
 60 
     | 
    
         
            +
              - - ! '>='
         
     | 
| 
      
 61 
     | 
    
         
            +
                - !ruby/object:Gem::Version
         
     | 
| 
      
 62 
     | 
    
         
            +
                  version: '0'
         
     | 
| 
       75 
63 
     | 
    
         
             
            requirements: []
         
     | 
| 
       76 
     | 
    
         
            -
             
     | 
| 
       77 
64 
     | 
    
         
             
            rubyforge_project: knife-flip
         
     | 
| 
       78 
     | 
    
         
            -
            rubygems_version: 1. 
     | 
| 
      
 65 
     | 
    
         
            +
            rubygems_version: 1.8.24
         
     | 
| 
       79 
66 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       80 
67 
     | 
    
         
             
            specification_version: 2
         
     | 
| 
       81 
68 
     | 
    
         
             
            summary: A knife plugin to move a node, or all nodes in a role, to a specific environment
         
     | 
| 
       82 
69 
     | 
    
         
             
            test_files: []
         
     | 
| 
       83 
     | 
    
         
            -
             
     | 
| 
      
 70 
     | 
    
         
            +
            has_rdoc: 
         
     |