smartdc 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 43aca47bac65dbbea7f700de8a255dad549a2c4c
4
- data.tar.gz: f08ee46200f3a180d6275d64ff3a8d441bf1d045
3
+ metadata.gz: a42f41cff5e0b0aa55fcfd53586fa06aa8e6b3b4
4
+ data.tar.gz: a461d8600042ef64c1d718bcd93b77db570323a9
5
5
  SHA512:
6
- metadata.gz: d59373cf0eed55bf36af8aa155fedf954c5c5e02c7b9516b87de3e2b034756be6037b0b29edffe32978118faf00d04a394e04fc8c0dc0d1f06d0787e729dddd0
7
- data.tar.gz: 5f5299ad3d49c477b8367188f9440c70b38116e6294ae34caa81cac367d03c31bf3c0c602af5f29fe123f92547e6d6c63b724f2659b39604284b1dc64012868e
6
+ metadata.gz: 133096219ff1ffb3334e2b48e3c5a0b08026173bc21cf51a5a64520ceecd9c0ff29618cd5f75f797c93a96c0c62bbef464380840f59a7b5687cabeea56113671
7
+ data.tar.gz: 9f90b49550fab14403bf0e1109617dc123db2ecef60450487659b46ef88f4664d6da07f75c1e23e30705cb224540f3107e25f407f79fbdf7d5df9fd615d01517
data/.gitignore CHANGED
@@ -1,4 +1,5 @@
1
1
  .bundle
2
+ doc/cassettes
2
3
  pkg
3
4
  tmp
4
5
  .rspec
data/Rakefile CHANGED
@@ -7,3 +7,19 @@ end
7
7
 
8
8
  task test: :spec
9
9
  task default: :spec
10
+
11
+ require 'cassette-rack'
12
+
13
+ namespace :vcr do
14
+ desc "Draw cassettes of VCR"
15
+ task :draw do
16
+ root_path = File.dirname(__FILE__)
17
+ CassetteRack.configure do |config|
18
+ config.content_layout = File.join(root_path, 'doc/caracal/content.md.liquid')
19
+ end
20
+
21
+ dest_path = ENV['path'] ||= File.join(root_path, 'doc/cassettes')
22
+ CassetteRack::Cli.draw(dest_path)
23
+ puts "drawing cassettes to #{dest_path}"
24
+ end
25
+ end
@@ -0,0 +1,18 @@
1
+ ---
2
+ layout: default
3
+ title: {{ title }}
4
+ ---
5
+
6
+ ## Request
7
+
8
+ ~~~
9
+ {{ request.method }} {{ request.path }}
10
+ ~~~
11
+
12
+ ## Response
13
+
14
+ ~~~
15
+ {{ response.status_code }} {{ response.status_message }}
16
+
17
+ {{ response.body }}
18
+ ~~~
@@ -1,3 +1,3 @@
1
1
  module Smartdc
2
- VERSION = '2.0.0'.freeze
2
+ VERSION = '2.0.1'.freeze
3
3
  end
data/smartdc.gemspec CHANGED
@@ -13,14 +13,14 @@ Gem::Specification.new do |spec|
13
13
  spec.homepage = "http://github.com/ogom/ruby-smartdc"
14
14
  spec.license = "MIT"
15
15
 
16
- spec.files = `git ls-files`.split($/)
16
+ spec.files = `git ls-files -z`.split("\x0")
17
17
  spec.executables = spec.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency 'cassette-rack'
22
- spec.add_dependency 'thor'
23
- spec.add_dependency 'terminal-table'
21
+ spec.add_dependency 'cassette-rack', '~> 0.7'
22
+ spec.add_dependency 'thor', '~> 0.19'
23
+ spec.add_dependency 'terminal-table', '~> 1.4'
24
24
 
25
25
  spec.add_development_dependency 'bundler'
26
26
  spec.add_development_dependency 'rake'
metadata CHANGED
@@ -1,57 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartdc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ogom
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-15 00:00:00.000000000 Z
11
+ date: 2015-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cassette-rack
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '0.7'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '0.7'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: thor
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '0.19'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '0.19'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: terminal-table
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '1.4'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '1.4'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -95,6 +95,7 @@ files:
95
95
  - Rakefile
96
96
  - bin/sdc
97
97
  - config.ru
98
+ - doc/caracal/content.md.liquid
98
99
  - lib/smartdc.rb
99
100
  - lib/smartdc/api/analytics.rb
100
101
  - lib/smartdc/api/analytics/heatmap.rb