cloudapp-power-cli 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ pkg
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # cloudapp-power-cli
2
2
 
3
- A powerful CLI for [CloudApp](http://getcloudapp.com/) written in Ruby, formerly named *cloudapp-cli* that makes the complete CloudApp API available on command line.
3
+ [![works with regenwolken](http://mycrobase.de/wtf/works_with_regenwolken.png)](https://github.com/posativ/regenwolken)
4
4
 
5
- **[Works with regenwolken](https://github.com/posativ/regenwolken)**
5
+ A powerful CLI for [CloudApp](http://getcloudapp.com/) written in Ruby, formerly named *cloudapp-cli* that makes the complete CloudApp API available on command line.
6
6
 
7
7
  ## Installation
8
8
 
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
data/bin/cloudapp CHANGED
@@ -6,9 +6,10 @@ require 'optparse'
6
6
  require 'uri'
7
7
  require 'yaml'
8
8
 
9
- require 'rubygems'
10
9
  require 'cloudapp_api'
11
10
 
11
+ require 'cloudapp-power-cli/version'
12
+
12
13
  LIST_TIME_FMT = '%d.%m.%y %H:%M'
13
14
  VIEW_TIME_FMT = '%d. %b %Y %H:%M:%S'
14
15
  ACC_TIME_FMT = VIEW_TIME_FMT
@@ -184,6 +185,10 @@ end
184
185
  opts.on('--service URL', 'Specify service URL') do |url| @options[:service_url] = url end
185
186
  opts.on('-y', '--yes', 'Answer all questions with yes (useful e.g. in scripts)') do |y| @options[:yes] = true end
186
187
  opts.on('-v', '--verbose', 'Enables verbose mode on some commands (currently view, account)') do |v| @options[:verbose] = true end
188
+ opts.on('--version', 'Display version') do
189
+ puts CloudAppPowerCLI::VERSION
190
+ exit
191
+ end
187
192
  opts.on('-h', '-?', '--help', 'Display this screen') do
188
193
  puts opts
189
194
  exit
@@ -1,7 +1,11 @@
1
1
 
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+
4
+ require 'cloudapp-power-cli/version'
5
+
2
6
  Gem::Specification.new do |s|
3
7
  s.name = "cloudapp-power-cli"
4
- s.version = "1.0.0"
8
+ s.version = CloudAppPowerCLI::VERSION
5
9
  s.summary = "A powerful CLI for CloudApp written in Ruby."
6
10
  s.description = "A powerful CLI for CloudApp that makes the complete CloudApp API available on command line and works with Regenwolken."
7
11
  s.author = "Christian Nicolai"
@@ -0,0 +1,4 @@
1
+
2
+ module CloudAppPowerCLI
3
+ VERSION = "1.0.1"
4
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudapp-power-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2013-03-29 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cloudapp_api
16
- requirement: &79873160 !ruby/object:Gem::Requirement
16
+ requirement: &84325780 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *79873160
24
+ version_requirements: *84325780
25
25
  description: A powerful CLI for CloudApp that makes the complete CloudApp API available
26
26
  on command line and works with Regenwolken.
27
27
  email: cn@mycrobase.de
@@ -30,10 +30,13 @@ executables:
30
30
  extensions: []
31
31
  extra_rdoc_files: []
32
32
  files:
33
+ - .gitignore
33
34
  - Gemfile
34
35
  - README.md
36
+ - Rakefile
35
37
  - bin/cloudapp
36
38
  - cloudapp-power-cli.gemspec
39
+ - lib/cloudapp-power-cli/version.rb
37
40
  homepage: https://github.com/cmur2/cloudapp-power-cli
38
41
  licenses:
39
42
  - Apache License Version 2.0