heroker 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +15 -0
- data/Rakefile +1 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/exe/hct +2 -0
- data/exe/hdev +2 -0
- data/exe/hdv +2 -0
- data/exe/he1 +2 -0
- data/exe/het +2 -0
- data/exe/hpp +2 -0
- data/exe/hprod +2 -0
- data/exe/hqa +2 -0
- data/exe/hs3 +2 -0
- data/exe/hs4 +2 -0
- data/exe/hst +2 -0
- data/exe/manydo +6 -0
- data/exe/manypp +6 -0
- data/exe/manyprod +6 -0
- data/exe/manys3 +6 -0
- data/exe/manys4 +6 -0
- data/heroker.gemspec +32 -0
- data/lib/heroker.rb +5 -0
- data/lib/heroker/version.rb +3 -0
- metadata +115 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: dfa11827fccd0bbb0b719e3027e0bd3e754f9dc7
|
4
|
+
data.tar.gz: 0fbb836f495788df96986fe41a04181a9a0d1f99
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a66c7fc7a5caa175dbbac6dd290517d399f9498c23cc04e2b0e87f45eb2afdc4788bfbb2cc0ef612c3ff432d930b4a9b8e22d2e6b72beac1d9d142a39c31a3ab
|
7
|
+
data.tar.gz: 74c5fcfb23a56aabb2602d95565340c8b5737cebbbd901718f6bc0deb4edaeb6bf701b23e0d54cc627b3edcc3bd33c80eee748591a7557c05196c5b1fa74146d
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 Leo
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# Heroker
|
2
|
+
|
3
|
+
This is only an example on how to manage your envs.
|
4
|
+
|
5
|
+
These bash wrappers are nothing more but empty binstubs for heroku environment instances management.
|
6
|
+
Furthermore, list is predefined - this makes it of little use.
|
7
|
+
|
8
|
+
## Installation
|
9
|
+
|
10
|
+
$ gem install heroker
|
11
|
+
|
12
|
+
## Usage
|
13
|
+
|
14
|
+
heroku git:remote -a .. -r prod
|
15
|
+
hprod config
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "heroker"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
data/exe/hct
ADDED
data/exe/hdev
ADDED
data/exe/hdv
ADDED
data/exe/he1
ADDED
data/exe/het
ADDED
data/exe/hpp
ADDED
data/exe/hprod
ADDED
data/exe/hqa
ADDED
data/exe/hs3
ADDED
data/exe/hs4
ADDED
data/exe/hst
ADDED
data/exe/manydo
ADDED
data/exe/manypp
ADDED
data/exe/manyprod
ADDED
data/exe/manys3
ADDED
data/exe/manys4
ADDED
data/heroker.gemspec
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'heroker/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "heroker"
|
8
|
+
spec.version = Heroker::VERSION
|
9
|
+
spec.authors = ["Leo"]
|
10
|
+
spec.email = ["leonid.inbox@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{hprod config; hpp config; manyprod config}
|
13
|
+
spec.description = %q{hprod config; hpp config; manyprod config}
|
14
|
+
spec.homepage = "https://github.com/altV/heroker"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
18
|
+
# delete this section to allow pushing this gem to any host.
|
19
|
+
# if spec.respond_to?(:metadata)
|
20
|
+
# spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
|
21
|
+
# else
|
22
|
+
# raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
23
|
+
# end
|
24
|
+
|
25
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
|
+
spec.bindir = "exe"
|
27
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
|
+
spec.require_paths = ["lib"]
|
29
|
+
|
30
|
+
spec.add_development_dependency "bundler", "~> 1.9"
|
31
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
32
|
+
end
|
data/lib/heroker.rb
ADDED
metadata
ADDED
@@ -0,0 +1,115 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: heroker
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Leo
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-04-15 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.9'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.9'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
description: hprod config; hpp config; manyprod config
|
42
|
+
email:
|
43
|
+
- leonid.inbox@gmail.com
|
44
|
+
executables:
|
45
|
+
- hct
|
46
|
+
- hdev
|
47
|
+
- hdv
|
48
|
+
- he1
|
49
|
+
- het
|
50
|
+
- hpp
|
51
|
+
- hprod
|
52
|
+
- hqa
|
53
|
+
- hs3
|
54
|
+
- hs4
|
55
|
+
- hst
|
56
|
+
- manydo
|
57
|
+
- manypp
|
58
|
+
- manyprod
|
59
|
+
- manys3
|
60
|
+
- manys4
|
61
|
+
extensions: []
|
62
|
+
extra_rdoc_files: []
|
63
|
+
files:
|
64
|
+
- ".gitignore"
|
65
|
+
- Gemfile
|
66
|
+
- LICENSE.txt
|
67
|
+
- README.md
|
68
|
+
- Rakefile
|
69
|
+
- bin/console
|
70
|
+
- bin/setup
|
71
|
+
- exe/hct
|
72
|
+
- exe/hdev
|
73
|
+
- exe/hdv
|
74
|
+
- exe/he1
|
75
|
+
- exe/het
|
76
|
+
- exe/hpp
|
77
|
+
- exe/hprod
|
78
|
+
- exe/hqa
|
79
|
+
- exe/hs3
|
80
|
+
- exe/hs4
|
81
|
+
- exe/hst
|
82
|
+
- exe/manydo
|
83
|
+
- exe/manypp
|
84
|
+
- exe/manyprod
|
85
|
+
- exe/manys3
|
86
|
+
- exe/manys4
|
87
|
+
- heroker.gemspec
|
88
|
+
- lib/heroker.rb
|
89
|
+
- lib/heroker/version.rb
|
90
|
+
homepage: https://github.com/altV/heroker
|
91
|
+
licenses:
|
92
|
+
- MIT
|
93
|
+
metadata: {}
|
94
|
+
post_install_message:
|
95
|
+
rdoc_options: []
|
96
|
+
require_paths:
|
97
|
+
- lib
|
98
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
103
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
108
|
+
requirements: []
|
109
|
+
rubyforge_project:
|
110
|
+
rubygems_version: 2.2.2
|
111
|
+
signing_key:
|
112
|
+
specification_version: 4
|
113
|
+
summary: hprod config; hpp config; manyprod config
|
114
|
+
test_files: []
|
115
|
+
has_rdoc:
|