smartdc 1.1.1 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,22 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+
19
+ .DS_Store
20
+ .rspec
21
+ .sdccfg
22
+ .sdccfg.*
data/Gemfile CHANGED
@@ -1,8 +1,7 @@
1
- source "http://rubygems.org"
1
+ source 'https://rubygems.org'
2
2
 
3
3
  group :development do
4
4
  gem "bundler", "~> 1.1"
5
- gem "jeweler", "~> 1.8"
6
5
  gem "rspec", "~> 2.12"
7
6
  end
8
7
 
@@ -10,4 +9,4 @@ group :runtime do
10
9
  gem "faraday", "~> 0.8"
11
10
  gem "thor", "~> 0.16"
12
11
  gem "terminal-table", "~> 1.4"
13
- end
12
+ end
data/Rakefile CHANGED
@@ -1,47 +1 @@
1
- # encoding: utf-8
2
-
3
- require 'rubygems'
4
- require 'bundler'
5
- begin
6
- Bundler.setup(:default, :development)
7
- rescue Bundler::BundlerError => e
8
- $stderr.puts e.message
9
- $stderr.puts "Run `bundle install` to install missing gems"
10
- exit e.status_code
11
- end
12
- require 'rake'
13
-
14
- require 'jeweler'
15
- Jeweler::Tasks.new do |gem|
16
- gem.name = "smartdc"
17
- gem.homepage = "http://github.com/ogom/ruby-smartdc"
18
- gem.license = "MIT"
19
- gem.summary = " Joyent SmartDataCenter CloudApi client by ruby."
20
- gem.description = "SmartDataCenter client and SmartDataCenter Command Line Interface."
21
- gem.email = "ogom@hotmail.co.jp"
22
- gem.authors = ["ogom"]
23
- end
24
- Jeweler::RubygemsDotOrgTasks.new
25
-
26
- require 'rspec/core'
27
- require 'rspec/core/rake_task'
28
- RSpec::Core::RakeTask.new(:spec) do |spec|
29
- spec.pattern = FileList['spec/**/*_spec.rb']
30
- end
31
-
32
- RSpec::Core::RakeTask.new(:rcov) do |spec|
33
- spec.pattern = 'spec/**/*_spec.rb'
34
- spec.rcov = true
35
- end
36
-
37
- task :default => :spec
38
-
39
- require 'rdoc/task'
40
- Rake::RDocTask.new do |rdoc|
41
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
42
-
43
- rdoc.rdoc_dir = 'rdoc'
44
- rdoc.title = "smartdc #{version}"
45
- rdoc.rdoc_files.include('README*')
46
- rdoc.rdoc_files.include('lib/**/*.rb')
47
- end
1
+ require "bundler/gem_tasks"
@@ -1,4 +1,4 @@
1
- require 'pp'
1
+ require 'smartdc/version'
2
2
  require 'smartdc/client'
3
3
  require 'smartdc/request'
4
4
  require 'smartdc/response'
@@ -0,0 +1,4 @@
1
+ module Smartdc
2
+ VERSION = "1.2.1"
3
+ end
4
+
@@ -1,102 +1,26 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
1
  # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'smartdc/version'
5
5
 
6
- Gem::Specification.new do |s|
7
- s.name = "smartdc"
8
- s.version = "1.1.1"
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "smartdc"
8
+ gem.version = Smartdc::VERSION
9
+ gem.authors = ["ogom"]
10
+ gem.email = ["ogom@hotmail.co.jp"]
11
+ gem.description = %q{SmartDataCenter client and SmartDataCenter Command Line Interface.}
12
+ gem.summary = %q{Joyent SmartDataCenter CloudApi client by ruby.}
13
+ gem.homepage = "http://github.com/ogom/ruby-smartdc"
9
14
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["ogom"]
12
- s.date = "2012-12-23"
13
- s.description = "SmartDataCenter client and SmartDataCenter Command Line Interface."
14
- s.email = "ogom@hotmail.co.jp"
15
- s.executables = ["sdc"]
16
- s.extra_rdoc_files = [
17
- "README.md"
18
- ]
19
- s.files = [
20
- ".document",
21
- ".travis.yml",
22
- "Gemfile",
23
- "README.md",
24
- "Rakefile",
25
- "VERSION",
26
- "bin/sdc",
27
- "lib/cli_helper.rb",
28
- "lib/configure.rb",
29
- "lib/smartdc.rb",
30
- "lib/smartdc/api/analytics.rb",
31
- "lib/smartdc/api/analytics/heatmap.rb",
32
- "lib/smartdc/api/datacenters.rb",
33
- "lib/smartdc/api/datasets.rb",
34
- "lib/smartdc/api/keys.rb",
35
- "lib/smartdc/api/machine/metadata.rb",
36
- "lib/smartdc/api/machine/snapshots.rb",
37
- "lib/smartdc/api/machine/tags.rb",
38
- "lib/smartdc/api/machines.rb",
39
- "lib/smartdc/api/packages.rb",
40
- "lib/smartdc/auth.rb",
41
- "lib/smartdc/client.rb",
42
- "lib/smartdc/error.rb",
43
- "lib/smartdc/request.rb",
44
- "lib/smartdc/response.rb",
45
- "lib/smartdc/response/raise_error.rb",
46
- "smartdc.gemspec",
47
- "spec/fixtures/analytics.json",
48
- "spec/fixtures/datacenter.json",
49
- "spec/fixtures/datacenters.json",
50
- "spec/fixtures/datasets.json",
51
- "spec/fixtures/keys.json",
52
- "spec/fixtures/machines.json",
53
- "spec/fixtures/packages.json",
54
- "spec/fixtures/snapshots.json",
55
- "spec/fixtures/tag.json",
56
- "spec/spec_helper.rb",
57
- "spec/unit/smartdc/api/analytics_spec.rb",
58
- "spec/unit/smartdc/api/datacenters_spec.rb",
59
- "spec/unit/smartdc/api/datasets_spec.rb",
60
- "spec/unit/smartdc/api/keys_spec.rb",
61
- "spec/unit/smartdc/api/machine/metadata_spec.rb",
62
- "spec/unit/smartdc/api/machine/snapshots_spec.rb",
63
- "spec/unit/smartdc/api/machine/tags_spec.rb",
64
- "spec/unit/smartdc/api/machines_spec.rb",
65
- "spec/unit/smartdc/api/packages_spec.rb",
66
- "spec/unit/smartdc/client_spec.rb",
67
- "spec/unit/smartdc_spec.rb"
68
- ]
69
- s.homepage = "http://github.com/ogom/ruby-smartdc"
70
- s.licenses = ["MIT"]
71
- s.require_paths = ["lib"]
72
- s.rubygems_version = "1.8.23"
73
- s.summary = "Joyent SmartDataCenter CloudApi client by ruby."
15
+ gem.files = `git ls-files`.split($/)
16
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
+ gem.require_paths = ["lib"]
74
19
 
75
- if s.respond_to? :specification_version then
76
- s.specification_version = 3
77
-
78
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
79
- s.add_runtime_dependency(%q<faraday>, ["~> 0.8"])
80
- s.add_runtime_dependency(%q<thor>, ["~> 0.16"])
81
- s.add_runtime_dependency(%q<terminal-table>, ["~> 1.4"])
82
- s.add_development_dependency(%q<bundler>, ["~> 1.1"])
83
- s.add_development_dependency(%q<jeweler>, ["~> 1.8"])
84
- s.add_development_dependency(%q<rspec>, ["~> 2.12"])
85
- else
86
- s.add_dependency(%q<faraday>, ["~> 0.8"])
87
- s.add_dependency(%q<thor>, ["~> 0.16"])
88
- s.add_dependency(%q<terminal-table>, ["~> 1.4"])
89
- s.add_dependency(%q<bundler>, ["~> 1.1"])
90
- s.add_dependency(%q<jeweler>, ["~> 1.8"])
91
- s.add_dependency(%q<rspec>, ["~> 2.12"])
92
- end
93
- else
94
- s.add_dependency(%q<faraday>, ["~> 0.8"])
95
- s.add_dependency(%q<thor>, ["~> 0.16"])
96
- s.add_dependency(%q<terminal-table>, ["~> 1.4"])
97
- s.add_dependency(%q<bundler>, ["~> 1.1"])
98
- s.add_dependency(%q<jeweler>, ["~> 1.8"])
99
- s.add_dependency(%q<rspec>, ["~> 2.12"])
100
- end
20
+ gem.add_runtime_dependency(%q<faraday>, ["~> 0.8"])
21
+ gem.add_runtime_dependency(%q<thor>, ["~> 0.16"])
22
+ gem.add_runtime_dependency(%q<terminal-table>, ["~> 1.4"])
23
+ gem.add_development_dependency(%q<bundler>, ["~> 1.1"])
24
+ gem.add_development_dependency(%q<jeweler>, ["~> 1.8"])
25
+ gem.add_development_dependency(%q<rspec>, ["~> 2.12"])
101
26
  end
102
-
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartdc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-23 00:00:00.000000000 Z
12
+ date: 2013-01-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
@@ -108,19 +108,18 @@ dependencies:
108
108
  - !ruby/object:Gem::Version
109
109
  version: '2.12'
110
110
  description: SmartDataCenter client and SmartDataCenter Command Line Interface.
111
- email: ogom@hotmail.co.jp
111
+ email:
112
+ - ogom@hotmail.co.jp
112
113
  executables:
113
114
  - sdc
114
115
  extensions: []
115
- extra_rdoc_files:
116
- - README.md
116
+ extra_rdoc_files: []
117
117
  files:
118
- - .document
118
+ - .gitignore
119
119
  - .travis.yml
120
120
  - Gemfile
121
121
  - README.md
122
122
  - Rakefile
123
- - VERSION
124
123
  - bin/sdc
125
124
  - lib/cli_helper.rb
126
125
  - lib/configure.rb
@@ -141,6 +140,7 @@ files:
141
140
  - lib/smartdc/request.rb
142
141
  - lib/smartdc/response.rb
143
142
  - lib/smartdc/response/raise_error.rb
143
+ - lib/smartdc/version.rb
144
144
  - smartdc.gemspec
145
145
  - spec/fixtures/analytics.json
146
146
  - spec/fixtures/datacenter.json
@@ -164,8 +164,7 @@ files:
164
164
  - spec/unit/smartdc/client_spec.rb
165
165
  - spec/unit/smartdc_spec.rb
166
166
  homepage: http://github.com/ogom/ruby-smartdc
167
- licenses:
168
- - MIT
167
+ licenses: []
169
168
  post_install_message:
170
169
  rdoc_options: []
171
170
  require_paths:
@@ -176,9 +175,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
176
175
  - - ! '>='
177
176
  - !ruby/object:Gem::Version
178
177
  version: '0'
179
- segments:
180
- - 0
181
- hash: -4139368408175416003
182
178
  required_rubygems_version: !ruby/object:Gem::Requirement
183
179
  none: false
184
180
  requirements:
@@ -191,4 +187,25 @@ rubygems_version: 1.8.23
191
187
  signing_key:
192
188
  specification_version: 3
193
189
  summary: Joyent SmartDataCenter CloudApi client by ruby.
194
- test_files: []
190
+ test_files:
191
+ - spec/fixtures/analytics.json
192
+ - spec/fixtures/datacenter.json
193
+ - spec/fixtures/datacenters.json
194
+ - spec/fixtures/datasets.json
195
+ - spec/fixtures/keys.json
196
+ - spec/fixtures/machines.json
197
+ - spec/fixtures/packages.json
198
+ - spec/fixtures/snapshots.json
199
+ - spec/fixtures/tag.json
200
+ - spec/spec_helper.rb
201
+ - spec/unit/smartdc/api/analytics_spec.rb
202
+ - spec/unit/smartdc/api/datacenters_spec.rb
203
+ - spec/unit/smartdc/api/datasets_spec.rb
204
+ - spec/unit/smartdc/api/keys_spec.rb
205
+ - spec/unit/smartdc/api/machine/metadata_spec.rb
206
+ - spec/unit/smartdc/api/machine/snapshots_spec.rb
207
+ - spec/unit/smartdc/api/machine/tags_spec.rb
208
+ - spec/unit/smartdc/api/machines_spec.rb
209
+ - spec/unit/smartdc/api/packages_spec.rb
210
+ - spec/unit/smartdc/client_spec.rb
211
+ - spec/unit/smartdc_spec.rb
data/.document DELETED
@@ -1,4 +0,0 @@
1
- lib/**/*.rb
2
- bin/*
3
- -
4
- features/**/*.feature
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 1.1.1