giraffi 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -7,4 +7,21 @@ source "http://rubygems.org"
7
7
  # Include everything needed to run rake, tests, features, etc.
8
8
  #
9
9
 
10
- gemspec
10
+ #gemspec
11
+
12
+ gem 'multi_json', '~> 1.0'
13
+ gem 'httparty', '~> 0.8'
14
+
15
+ group :development do
16
+ gem "bundler"
17
+ gem "jeweler"
18
+ gem "rb-fsevent"
19
+ gem "rcov"
20
+ gem "redcarpet"
21
+ gem "shoulda"
22
+ gem "turn"
23
+ gem "vcr"
24
+ gem "watchr"
25
+ gem "webmock"
26
+ gem "yard"
27
+ end
data/HISTORY.md CHANGED
@@ -1,6 +1,6 @@
1
1
  HISTORY
2
2
  =======
3
3
 
4
- 0.1.0 - December 9, 2011
4
+ 0.1.3 - December 9, 2011
5
5
  -------------------------
6
6
  * [Initial release](http://github.com/giraffi/giraffi/commit/)
@@ -25,7 +25,7 @@ axion_attrs = {
25
25
  item_attrs = {
26
26
  name: "web01",
27
27
  host: "localhost",
28
- ip: "210.152.132.21",
28
+ ip: "127.0.0.1",
29
29
  normalinterval: 120,
30
30
  warninginterval: 60,
31
31
  warningretry: 2,
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "giraffi"
8
- s.version = "0.1.3"
8
+ s.version = "0.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["azukiwasher"]
@@ -3,7 +3,7 @@ require 'json'
3
3
 
4
4
  class ApplogsTest < Test::Unit::TestCase
5
5
 
6
- context "Testing Giraffi Ruby Gem for the Giraffi RESTful" do
6
+ context "Testing Giraffi Ruby Gem for the Giraffi RESTful API" do
7
7
  setup do
8
8
  @applog_attrs = {
9
9
  :level => "error",
@@ -1,7 +1,7 @@
1
1
  require 'test_helper'
2
2
 
3
3
  class AxionsTest < Test::Unit::TestCase
4
- context "Testing Giraffi Ruby Gem for the Giraffi RESTful" do
4
+ context "Testing Giraffi Ruby Gem for the Giraffi RESTful API" do
5
5
  setup do
6
6
  @medium_id = '522'
7
7
  @axion_id = '425'
@@ -1,7 +1,7 @@
1
1
  require 'test_helper'
2
2
 
3
3
  class ItemsTest < Test::Unit::TestCase
4
- context "Testing Giraffi Ruby Gem for the Giraffi RESTful" do
4
+ context "Testing Giraffi Ruby Gem for the Giraffi RESTful API" do
5
5
  setup do
6
6
 
7
7
  @customkey = "26cfa4e2-e493-44d7-8322-4f03b467b412"
@@ -1,7 +1,7 @@
1
1
  require 'test_helper'
2
2
 
3
3
  class LogsTest < Test::Unit::TestCase
4
- context "Testing Giraffi Ruby Gem for the Giraffi RESTful" do
4
+ context "Testing Giraffi Ruby Gem for the Giraffi RESTful API" do
5
5
  setup do
6
6
  @axion_id = '425'
7
7
  end
@@ -1,7 +1,7 @@
1
1
  require 'test_helper'
2
2
 
3
3
  class MediaTest < Test::Unit::TestCase
4
- context "Testing Giraffi Ruby Gem for the Giraffi RESTful" do
4
+ context "Testing Giraffi Ruby Gem for the Giraffi RESTful API" do
5
5
  setup do
6
6
  @medium_id = '522'
7
7
  @medium_attrs = {
@@ -1,7 +1,7 @@
1
1
  require 'test_helper'
2
2
 
3
3
  class MonitoringdataTest < Test::Unit::TestCase
4
- context "Testing Giraffi Ruby Gem for the Giraffi RESTful" do
4
+ context "Testing Giraffi Ruby Gem for the Giraffi RESTful API" do
5
5
  setup do
6
6
  @monitoringdata_attrs = {
7
7
  :service_id => "17972",
@@ -2,7 +2,7 @@ require 'test_helper'
2
2
  require 'json'
3
3
 
4
4
  class MyCurrentStatusTest < Test::Unit::TestCase
5
- context "Testing Giraffi Ruby Gem for the Giraffi RESTful" do
5
+ context "Testing Giraffi Ruby Gem for the Giraffi RESTful API" do
6
6
 
7
7
  context 'about the API related to the current status of the Giraffi API' do
8
8
  should 'return the status related to the requested URI' do
@@ -1,7 +1,7 @@
1
1
  require 'test_helper'
2
2
 
3
3
  class RegionsTest < Test::Unit::TestCase
4
- context "Testing Giraffi Ruby Gem for the Giraffi RESTful" do
4
+ context "Testing Giraffi Ruby Gem for the Giraffi RESTful API" do
5
5
 
6
6
  context 'about the API related to the regions' do
7
7
  should 'return all the valid regions' do
@@ -1,7 +1,7 @@
1
1
  require 'test_helper'
2
2
 
3
3
  class ServicesTest < Test::Unit::TestCase
4
- context "Testing Giraffi Ruby Gem for the Giraffi RESTful" do
4
+ context "Testing Giraffi Ruby Gem for the Giraffi RESTful API" do
5
5
  setup do
6
6
  @item_id = 3681
7
7
  @service_id = 17972
@@ -1,7 +1,7 @@
1
1
  require 'test_helper'
2
2
 
3
3
  class TrendsTest < Test::Unit::TestCase
4
- context "Testing Giraffi Ruby Gem for the Giraffi RESTful" do
4
+ context "Testing Giraffi Ruby Gem for the Giraffi RESTful API" do
5
5
  setup do
6
6
  @service_id = 17972
7
7
  end
@@ -1,7 +1,7 @@
1
1
  require 'test_helper'
2
2
 
3
3
  class TriggersGiraffi < Test::Unit::TestCase
4
- context "Testing Giraffi Ruby Gem for the Giraffi RESTful" do
4
+ context "Testing Giraffi Ruby Gem for the Giraffi RESTful API" do
5
5
  setup do
6
6
  @axion_id = '425'
7
7
  @trigger_id = '123'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: giraffi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-12-09 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_json
16
- requirement: &8288920 !ruby/object:Gem::Requirement
16
+ requirement: &70270791040180 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '1.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *8288920
24
+ version_requirements: *70270791040180
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: httparty
27
- requirement: &8287840 !ruby/object:Gem::Requirement
27
+ requirement: &70270791038720 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0.8'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *8287840
35
+ version_requirements: *70270791038720
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: shoulda
38
- requirement: &8286500 !ruby/object:Gem::Requirement
38
+ requirement: &70270791037540 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *8286500
46
+ version_requirements: *70270791037540
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: jeweler
49
- requirement: &8284200 !ruby/object:Gem::Requirement
49
+ requirement: &70270791036480 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *8284200
57
+ version_requirements: *70270791036480
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: bundler
60
- requirement: &8281420 !ruby/object:Gem::Requirement
60
+ requirement: &70270791035240 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *8281420
68
+ version_requirements: *70270791035240
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rcov
71
- requirement: &8278720 !ruby/object:Gem::Requirement
71
+ requirement: &70270791033380 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *8278720
79
+ version_requirements: *70270791033380
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: webmock
82
- requirement: &8275780 !ruby/object:Gem::Requirement
82
+ requirement: &70270791031860 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '0'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *8275780
90
+ version_requirements: *70270791031860
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: vcr
93
- requirement: &8273500 !ruby/object:Gem::Requirement
93
+ requirement: &70270791030700 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: '0'
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *8273500
101
+ version_requirements: *70270791030700
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: turn
104
- requirement: &9239140 !ruby/object:Gem::Requirement
104
+ requirement: &70270791017880 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ! '>='
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: '0'
110
110
  type: :development
111
111
  prerelease: false
112
- version_requirements: *9239140
112
+ version_requirements: *70270791017880
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: watchr
115
- requirement: &9303940 !ruby/object:Gem::Requirement
115
+ requirement: &70270791015720 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ! '>='
@@ -120,10 +120,10 @@ dependencies:
120
120
  version: '0'
121
121
  type: :development
122
122
  prerelease: false
123
- version_requirements: *9303940
123
+ version_requirements: *70270791015720
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: rb-fsevent
126
- requirement: &9317760 !ruby/object:Gem::Requirement
126
+ requirement: &70270791013700 !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
129
129
  - - ! '>='
@@ -131,10 +131,10 @@ dependencies:
131
131
  version: '0'
132
132
  type: :development
133
133
  prerelease: false
134
- version_requirements: *9317760
134
+ version_requirements: *70270791013700
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: redcarpet
137
- requirement: &9328160 !ruby/object:Gem::Requirement
137
+ requirement: &70270791012900 !ruby/object:Gem::Requirement
138
138
  none: false
139
139
  requirements:
140
140
  - - ! '>='
@@ -142,10 +142,10 @@ dependencies:
142
142
  version: '0'
143
143
  type: :development
144
144
  prerelease: false
145
- version_requirements: *9328160
145
+ version_requirements: *70270791012900
146
146
  - !ruby/object:Gem::Dependency
147
147
  name: yard
148
- requirement: &10160740 !ruby/object:Gem::Requirement
148
+ requirement: &70270791011600 !ruby/object:Gem::Requirement
149
149
  none: false
150
150
  requirements:
151
151
  - - ! '>='
@@ -153,7 +153,7 @@ dependencies:
153
153
  version: '0'
154
154
  type: :development
155
155
  prerelease: false
156
- version_requirements: *10160740
156
+ version_requirements: *70270791011600
157
157
  description: A Ruby wrapper for the Giraffi API
158
158
  email: azukiwasher@yahoo.co.jp
159
159
  executables: []
@@ -263,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
263
263
  version: '0'
264
264
  requirements: []
265
265
  rubyforge_project:
266
- rubygems_version: 1.8.10
266
+ rubygems_version: 1.8.11
267
267
  signing_key:
268
268
  specification_version: 3
269
269
  summary: A Ruby wrapper for the Giraffi API