bog 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZjZjNmU2ZTQ1NzNjOWNjYTQ2NzNiZTFlYTQyZDk4ZTc0ZjQ0NjQyMg==
4
+ ODQ4YWY2ZWUzZDEwZDVjM2M5NjIyYWM5NjNjNTE1N2U0MjMzYTU1ZA==
5
5
  data.tar.gz: !binary |-
6
- NzM4NmJlZDFmZWZjNTM5ZTQ1ZGM3N2VkZWUxZjBjNWZmODExNzc5Zg==
6
+ MWViMjAyNzg4YjJmNzFlODVhMjE0NjczYTkwZmQ1NzVlODU2M2RhOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YzhmMzBmNTU1OWJlMThmZTgxMzJkYzY0YjdiYTZhNDBmNDViZGIzOGNlMmMx
10
- OWVlMGZiYjBjMzY1YTQ0MDY5NTE2NWZkMTM0YWE2M2Y5NWFmODRiMDg5ODky
11
- MGU5YmUwNWY4NjVmZWNhMmY0NTA5OTc5OTkwMzJmY2I2MTEwZDc=
9
+ NjZlODBhZTg0M2IyYTc3OWU2NWQxMGQ2NzhkYzk0ZTJiNTdkNzM5YjRkMGY4
10
+ MzQ3M2JlMjk3MzQ3NzEwODBjODRkNjdmM2FlOTJlZDFiYjY5ZWZmMDU5Nzc5
11
+ NDNjNDM4MWExOTQwYWI0YTQ3NTk2Nzc4MGY3ZjRkNTM5MGM2NzI=
12
12
  data.tar.gz: !binary |-
13
- ODA3ZmIyY2Y1YWIwMjNhYzJlZDYwNWU3ZTE1ZmMzYzg5ZmM3NzA3YzJhNTQx
14
- MTZhMzA0Y2M5ZTY2OGUzYzkzZWFkYzA2OWQ2OWI3MDcxMTQzZGU4ZTFlMWE2
15
- MTU2MjQ5N2I4NmQ3NDlmZjE3MGVkYzI5Yjk5ZjFhZjAzNDE2OTM=
13
+ NjljMzc5MjhiNTdhNTJkMWE4N2JhYTNkNTJjYWZjZDlhZDQ1NGViNGYyZDYx
14
+ MGFkZDM0ZmM1OGQwMDcwYmE5Y2VlNTZjOGJmM2M4ZmFlNTE1YjE5YWQwMjgz
15
+ ZDVkNTIyNGM3MmEyYjM4ZGFiNjNiZWQ0ZDgwNGE1NWFhYWYwYjI=
data/README.md CHANGED
@@ -1,10 +1,9 @@
1
- # bog [![Build Status](https://travis-ci.org/opsunit/bog.svg?branch=master)](https://travis-ci.org/opsunit/bog) [![Gem Version](https://badge.fury.io/rb/bog.svg)](http://badge.fury.io/rb/bog) ![](http://ruby-gem-downloads-badge.herokuapp.com/bog?type=total)
2
-
3
- ![OpsUnit Logo][99]
1
+ # bog [![Build Status](https://travis-ci.org/opsunit/bog.svg?branch=master)](https://travis-ci.org/opsunit/bog) [![Gem Version](https://badge.fury.io/rb/bog.svg)](http://badge.fury.io/rb/bog) ![](http://ruby-gem-downloads-badge.herokuapp.com/bog?type=total) <img align="right" width="185" height="40" src="http://opsunit.com/assets/images/opsunit-logo-large.png" alt="opsunit" />
4
2
 
3
+ <img align="right" width="160" height="160" src="etc/assets/toilet-icons-69981.png" alt="bog" />
5
4
  A tool for managing cloud API and configuration management credentials. rbenv for dotfiles.
6
5
 
7
- It is brought to you by the folks at [OpsUnit][1].
6
+ Brought to you by the folks at [OpsUnit][1].
8
7
 
9
8
  ## Introduction
10
9
  In a modern operations team it is common to have many different sets of credentials and dotfile configurations.
@@ -15,18 +14,19 @@ work with collections of dotfile configurations and to swap between those sets.
15
14
  The traditional form, where you manually switch profiles:
16
15
 
17
16
  ```bash
18
- $ bog myclient init --aws # Configure ~/.bog with a stub for AWS under profile 'myclient'
17
+ $ bog myclient init --aws # Configure ~/.bog with a stub for AWS under profile 'myclient'
19
18
  Enter your Amazon Secret Access Key:
20
19
  ...
21
- $ bog myclient # Switch to profile 'myclient'
20
+ $ bog myclient # Switch to profile 'myclient'
22
21
  $ knife client list
23
22
  $ aws s3 ls
24
23
  ...
25
- $ bog personal # Switch to another profile
24
+ $ bog personal # Switch to another profile
26
25
  ...
27
- $ bog # Show the current profile
26
+ $ bog # Show the current profile
28
27
  personal
29
- $ bog -l # List available profiles - * indicates current profile
28
+ ...
29
+ $ bog -l # List available profiles - * indicates current profile
30
30
  myclient
31
31
  personal*
32
32
  ```
@@ -58,10 +58,12 @@ $ bog myclient exec knife client list # switch back to previous profile
58
58
 
59
59
  ```
60
60
  .bog
61
- ├── current -> profiles/myclient/
62
- ├── plugins
61
+ ├── bog.sh
62
+ ├── current -> /home/me/.bog/profiles/myclient
63
+ ├── default
63
64
  └── profiles
64
65
  └── myclient
66
+
65
67
  ```
66
68
  `bog` will never touch your `~/.aws` and similar directories. You will need to:
67
69
 
@@ -89,9 +91,9 @@ There are plenty out there. `bog` aims to fit a modern operational workflow and
89
91
  The gem and its dependencies are tested against the following ruby versions:
90
92
 
91
93
  * 1.9.3
92
- * 2.0.0
93
- * 2.1.0
94
- * 2.2.2
94
+ * 2.0
95
+ * 2.1
96
+ * 2.2
97
+ * 2.3.1
95
98
 
96
99
  [1]: http://www.opsunit.com
97
- [99]: http://opsunit.com/assets/images/opsunit-logo-large.png
@@ -9,7 +9,7 @@ module Bog
9
9
  profiles.collect! { |p| p.split('/').last }
10
10
  profiles.select { |p|
11
11
  p == Bog::Profile.current.profile_name }[0] << "*"
12
- puts profiles
12
+ puts profiles.sort
13
13
  end
14
14
  end
15
15
  end
@@ -1,3 +1,3 @@
1
1
  module Bog
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - sam
@@ -98,6 +98,7 @@ files:
98
98
  - Rakefile
99
99
  - bin/bog
100
100
  - bog.gemspec
101
+ - etc/assets/toilet-icons-69981.png
101
102
  - lib/bog.rb
102
103
  - lib/bog/command.rb
103
104
  - lib/bog/command/default.rb