padma-deployment 0.0.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 +15 -0
 - data/lib/padma-deployment.rb +5 -0
 - data/lib/tasks/deployment.rake +29 -0
 - metadata +60 -0
 
    
        checksums.yaml
    ADDED
    
    | 
         @@ -0,0 +1,15 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            ---
         
     | 
| 
      
 2 
     | 
    
         
            +
            !binary "U0hBMQ==":
         
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: !binary |-
         
     | 
| 
      
 4 
     | 
    
         
            +
                OTYwNjZiM2Q0YjNkYmNhNGVhMjdkNDE4NGJlNjhmM2MyYzliMWUwZQ==
         
     | 
| 
      
 5 
     | 
    
         
            +
              data.tar.gz: !binary |-
         
     | 
| 
      
 6 
     | 
    
         
            +
                YWVkZGI1NmUzYjQ5MGEwMDZlZTc1NzJkNDRjOTRmNjI4ODk1NjRkMA==
         
     | 
| 
      
 7 
     | 
    
         
            +
            SHA512:
         
     | 
| 
      
 8 
     | 
    
         
            +
              metadata.gz: !binary |-
         
     | 
| 
      
 9 
     | 
    
         
            +
                ZjY3ZjllODFiZmEwMjBkYmIyZWUwMmM5Yzc2MjM1M2JmMGI0ODI2MzM5NGUx
         
     | 
| 
      
 10 
     | 
    
         
            +
                ODcyMjU4M2MxYTk2Zjg5Yjg1ZjA3M2I0MDZjN2I3ZDU0YWRkODIzMzI4ZDlj
         
     | 
| 
      
 11 
     | 
    
         
            +
                YjFjMzU2NmQ3ODkzNzQ0YTMzN2Y4YTlkYmRiMzAyNmFkN2Q0OGE=
         
     | 
| 
      
 12 
     | 
    
         
            +
              data.tar.gz: !binary |-
         
     | 
| 
      
 13 
     | 
    
         
            +
                ZmM1ZWE5ODA0YTg4NWNmYzNhZTJlMzc0ZmUyNGYwNGVhMDM4ZDYxODczMzU4
         
     | 
| 
      
 14 
     | 
    
         
            +
                MDk4Y2EzMzM2OTdmOWM4MTU0Nzc2MjdkYzFiZGQzMjMwZTc4NDgyYjFhNGM3
         
     | 
| 
      
 15 
     | 
    
         
            +
                NTcwNjI5ODQ2YjE4NTRjOWI2ZGUxZmVkMGU0MDE5YzY5ZWRjZGU=
         
     | 
| 
         @@ -0,0 +1,29 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            namespace :deploy do
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
              desc "deploys to staging server"
         
     | 
| 
      
 4 
     | 
    
         
            +
              task :staging do
         
     | 
| 
      
 5 
     | 
    
         
            +
                puts "deploying to staging..."
         
     | 
| 
      
 6 
     | 
    
         
            +
                `git checkout master`
         
     | 
| 
      
 7 
     | 
    
         
            +
                `git pull`
         
     | 
| 
      
 8 
     | 
    
         
            +
                `git fetch`
         
     | 
| 
      
 9 
     | 
    
         
            +
                `git checkout staging`
         
     | 
| 
      
 10 
     | 
    
         
            +
                `git rebase master`
         
     | 
| 
      
 11 
     | 
    
         
            +
                `git push staging staging:master --force`
         
     | 
| 
      
 12 
     | 
    
         
            +
                `git push origin staging:staging --force`
         
     | 
| 
      
 13 
     | 
    
         
            +
                `git checkout master`
         
     | 
| 
      
 14 
     | 
    
         
            +
              end
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
              desc "deploys to production server"
         
     | 
| 
      
 17 
     | 
    
         
            +
              task :production do
         
     | 
| 
      
 18 
     | 
    
         
            +
                puts "updating origin/production..."
         
     | 
| 
      
 19 
     | 
    
         
            +
                `git checkout master`
         
     | 
| 
      
 20 
     | 
    
         
            +
                `git pull`
         
     | 
| 
      
 21 
     | 
    
         
            +
                `git fetch`
         
     | 
| 
      
 22 
     | 
    
         
            +
                `git checkout production`
         
     | 
| 
      
 23 
     | 
    
         
            +
                `git rebase master`
         
     | 
| 
      
 24 
     | 
    
         
            +
                `git push origin production:production`
         
     | 
| 
      
 25 
     | 
    
         
            +
                `git checkout master`
         
     | 
| 
      
 26 
     | 
    
         
            +
                puts "you can ssh to serve to deploy"
         
     | 
| 
      
 27 
     | 
    
         
            +
              end
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
            end
         
     | 
    
        metadata
    ADDED
    
    | 
         @@ -0,0 +1,60 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            --- !ruby/object:Gem::Specification
         
     | 
| 
      
 2 
     | 
    
         
            +
            name: padma-deployment
         
     | 
| 
      
 3 
     | 
    
         
            +
            version: !ruby/object:Gem::Version
         
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.0.1
         
     | 
| 
      
 5 
     | 
    
         
            +
            platform: ruby
         
     | 
| 
      
 6 
     | 
    
         
            +
            authors:
         
     | 
| 
      
 7 
     | 
    
         
            +
            - Dwayne Macgowan
         
     | 
| 
      
 8 
     | 
    
         
            +
            autorequire: 
         
     | 
| 
      
 9 
     | 
    
         
            +
            bindir: bin
         
     | 
| 
      
 10 
     | 
    
         
            +
            cert_chain: []
         
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2014-02-14 00:00:00.000000000 Z
         
     | 
| 
      
 12 
     | 
    
         
            +
            dependencies:
         
     | 
| 
      
 13 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 14 
     | 
    
         
            +
              name: railties
         
     | 
| 
      
 15 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 16 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 17 
     | 
    
         
            +
                - - ! '>='
         
     | 
| 
      
 18 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 19 
     | 
    
         
            +
                    version: '3.1'
         
     | 
| 
      
 20 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
      
 21 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 22 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 23 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 24 
     | 
    
         
            +
                - - ! '>='
         
     | 
| 
      
 25 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 26 
     | 
    
         
            +
                    version: '3.1'
         
     | 
| 
      
 27 
     | 
    
         
            +
            description: Deployment rake tasks
         
     | 
| 
      
 28 
     | 
    
         
            +
            email:
         
     | 
| 
      
 29 
     | 
    
         
            +
            - dwaynemac@gmail.com
         
     | 
| 
      
 30 
     | 
    
         
            +
            executables: []
         
     | 
| 
      
 31 
     | 
    
         
            +
            extensions: []
         
     | 
| 
      
 32 
     | 
    
         
            +
            extra_rdoc_files: []
         
     | 
| 
      
 33 
     | 
    
         
            +
            files:
         
     | 
| 
      
 34 
     | 
    
         
            +
            - lib/padma-deployment.rb
         
     | 
| 
      
 35 
     | 
    
         
            +
            - lib/tasks/deployment.rake
         
     | 
| 
      
 36 
     | 
    
         
            +
            homepage: ''
         
     | 
| 
      
 37 
     | 
    
         
            +
            licenses: []
         
     | 
| 
      
 38 
     | 
    
         
            +
            metadata: {}
         
     | 
| 
      
 39 
     | 
    
         
            +
            post_install_message: 
         
     | 
| 
      
 40 
     | 
    
         
            +
            rdoc_options: []
         
     | 
| 
      
 41 
     | 
    
         
            +
            require_paths:
         
     | 
| 
      
 42 
     | 
    
         
            +
            - lib
         
     | 
| 
      
 43 
     | 
    
         
            +
            required_ruby_version: !ruby/object:Gem::Requirement
         
     | 
| 
      
 44 
     | 
    
         
            +
              requirements:
         
     | 
| 
      
 45 
     | 
    
         
            +
              - - ! '>='
         
     | 
| 
      
 46 
     | 
    
         
            +
                - !ruby/object:Gem::Version
         
     | 
| 
      
 47 
     | 
    
         
            +
                  version: '0'
         
     | 
| 
      
 48 
     | 
    
         
            +
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
      
 49 
     | 
    
         
            +
              requirements:
         
     | 
| 
      
 50 
     | 
    
         
            +
              - - ! '>='
         
     | 
| 
      
 51 
     | 
    
         
            +
                - !ruby/object:Gem::Version
         
     | 
| 
      
 52 
     | 
    
         
            +
                  version: '0'
         
     | 
| 
      
 53 
     | 
    
         
            +
            requirements: []
         
     | 
| 
      
 54 
     | 
    
         
            +
            rubyforge_project: 
         
     | 
| 
      
 55 
     | 
    
         
            +
            rubygems_version: 2.1.11
         
     | 
| 
      
 56 
     | 
    
         
            +
            signing_key: 
         
     | 
| 
      
 57 
     | 
    
         
            +
            specification_version: 4
         
     | 
| 
      
 58 
     | 
    
         
            +
            summary: Deployment rake tasks
         
     | 
| 
      
 59 
     | 
    
         
            +
            test_files: []
         
     | 
| 
      
 60 
     | 
    
         
            +
            has_rdoc: 
         
     |