right_chimp 1.0 → 1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e09b15f187436252531ccd9b94d249cddceac907
4
- data.tar.gz: 95490f6e40c38ebeb1da91396ffc3b17db0c9916
3
+ metadata.gz: 634d307cab9b4664dd3a9ac2eb45814c485bc7cb
4
+ data.tar.gz: 86e20d30c6fc23dfe79704cc3085f4b8cc62d66a
5
5
  SHA512:
6
- metadata.gz: c979e8dd6652009e1c0b55f3345167eb868d97bf1edcf6ddb52448aba766954de662433735498c55fd0f984b65d48dbbde6d9e2a8891b4a88b69c567555dd7c7
7
- data.tar.gz: bb0e17fd39c8709770ca2792064028ddcb30361b85251b51b2fedf8b531335b3e450396ec1ddce8c991f0a65808be49007091e41ed44617a84a6b5bb6702f7b2
6
+ metadata.gz: b6bf575bd40a18cf89964b4cc01f333b2f689386ec64c933fbe042e1d3a52503bfc6605d5d5cd9965fb46cf79a0190875b5e93cf014fd483adf0e68a1873911f
7
+ data.tar.gz: 9ca670a07b44af6ed0bf700cabfbeba41bc851a520098829ad33b4c1af21d6de972cf0fbea6736ffd088bc2ab8ba18cd6f7028b6394070a1165483503ec9a8aa
data/CHANGES CHANGED
@@ -86,3 +86,10 @@ Version 0.5.5
86
86
  -------------
87
87
  * Bugfix: --limit flag wasn't sorting servers before executing
88
88
 
89
+ Version 1.0
90
+ -----------
91
+ * Initial open source release
92
+
93
+ Version 1.0.1
94
+ -------------
95
+ * Add missing ERB template for chimpd
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- right_chimp (1.0)
4
+ right_chimp (1.0.1)
5
5
  progressbar (~> 0.11.0)
6
6
  rake (~> 0.9.2.2)
7
7
  rest-client (~> 1.6.7)
data/INSTALL CHANGED
@@ -5,21 +5,28 @@ This is the easiest way to get up and running with chimp. Make sure you have
5
5
  Ruby and RubyGems installed. You can then install on your system by using the
6
6
  following command:
7
7
 
8
- gem install chimp-<version>.gem
8
+ gem install right_chimp
9
9
 
10
- INSTALLING FROM SOURCE
11
- ----------------------
10
+ Once you have the right_chimp gem installed, you'll need to get up your API
11
+ creds. First create a directory for the configuration file:
12
12
 
13
- If you want to hack on chimp or just run unstable code, then you've come to
14
- the right place! To install chimp from source, first make sure you have
15
- all the required gems installed. Change to the chimp source directory and
16
- execute:
13
+ mkdir ~/.rest_connection
17
14
 
18
- bundle install
15
+ Next create the configuration file. Name it rest_api_config.yaml and place it in the
16
+ .rest_connection folder. Use the following YAML as a template, replacing <email>, <password>
17
+ and <account> with your email address, RightScale password, and account number.
19
18
 
20
- Chimp uses a rakefile to perform most common operations. For a complete list
21
- of rake targets, please see "rake -T". To build and install the gem:
19
+ ---
20
+ :ssh_keys:
21
+ - ~/.ssh/id_rsa
22
+ :pass: <password>
23
+ :user: <email>
24
+ :api_url: https://my.rightscale.com/api/acct/<account>
25
+ :common_headers:
26
+ X_API_VERSION: "1.0"
22
27
 
23
- rake build
24
- rake install
28
+ Now you're ready to run a test query. The following chimp command should return
29
+ a list of all the operational servers in your account:
30
+
31
+ chimp --tag="rs_monitoring:state=active"
25
32
 
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2011-2012 RightScale, Inc.
1
+ Copyright (c) 2011-2013 RightScale, Inc.
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -383,9 +383,9 @@ module Chimp
383
383
 
384
384
  if not @template
385
385
  if ENV['CHIMP_TEST'] != 'TRUE'
386
- template_file_name = File.join(Gem.dir, 'gems', 'chimp-' + VERSION, 'lib/chimp/templates/all_jobs.erb')
386
+ template_file_name = File.join(Gem.dir, 'gems', 'right_chimp-' + VERSION, 'lib/right_chimp/templates/all_jobs.erb')
387
387
  else
388
- template_file_name = 'lib/chimp/templates/all_jobs.erb'
388
+ template_file_name = 'lib/right_chimp/templates/all_jobs.erb'
389
389
  end
390
390
 
391
391
  @template = ERB.new(File.read(template_file_name), nil, ">")
@@ -212,3 +212,4 @@ jobs.each do |j|
212
212
  </div>
213
213
 
214
214
  </body></html>
215
+
@@ -1,3 +1,3 @@
1
1
  module Chimp
2
- VERSION = "1.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: right_chimp
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Deutsch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-24 00:00:00.000000000 Z
11
+ date: 2013-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: progressbar