cloudpi-appmetric 0.2.0 → 0.2.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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{cloudpi-appmetric}
8
- s.version = "0.0.1"
8
+ s.version = "0.2.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Junsang Yang}]
12
- s.date = %q{2012-06-10}
12
+ s.date = %q{2012-06-11}
13
13
  s.description = %q{CloudPI PaaS - Application Metric Client for ruby}
14
14
  s.email = %q{junsang.yang@samsung.com}
15
15
  s.extra_rdoc_files = [
@@ -1,3 +1,4 @@
1
+ require 'rubygems'
1
2
  require 'socket'
2
3
  require 'json'
3
4
  require 'thread'
@@ -26,7 +27,7 @@ class AppMetric
26
27
  # log error "parsing error: ENV['VCAP_APPLICATION']"
27
28
  end
28
29
 
29
- @policy = parse(metric_policy)
30
+ @policy = parse(policy)
30
31
  @policy_published = false
31
32
 
32
33
  # log info "key: @#!$!"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudpi-appmetric
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Junsang Yang