new_relic_rest_client 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +12 -0
- data/.rspec +2 -0
- data/.travis.yml +3 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +180 -0
- data/Rakefile +1 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/lib/new_relic_rest_client/common_routes.rb +38 -0
- data/lib/new_relic_rest_client/route_helpers.rb +73 -0
- data/lib/new_relic_rest_client/routes/application_specifics.rb +38 -0
- data/lib/new_relic_rest_client/routes/applications.rb +42 -0
- data/lib/new_relic_rest_client/routes/browser_applications.rb +19 -0
- data/lib/new_relic_rest_client/routes/components.rb +9 -0
- data/lib/new_relic_rest_client/routes/key_transations.rb +9 -0
- data/lib/new_relic_rest_client/routes/labels.rb +26 -0
- data/lib/new_relic_rest_client/routes/mobile_applications.rb +10 -0
- data/lib/new_relic_rest_client/routes/notification_channels.rb +9 -0
- data/lib/new_relic_rest_client/routes/plugins.rb +9 -0
- data/lib/new_relic_rest_client/routes/servers.rb +11 -0
- data/lib/new_relic_rest_client/routes/users.rb +15 -0
- data/lib/new_relic_rest_client/version.rb +3 -0
- data/lib/new_relic_rest_client.rb +20 -0
- data/new_relic_rest_client.gemspec +25 -0
- metadata +112 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 41599b8dff9b094d222b17b2ac87bec4e8c1d23c
|
4
|
+
data.tar.gz: a2a8df7a159e20e8daad80c94fb337d0b7c5b82d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4235713cebed874949994da4a2250c05a273125c76d758c3b4d95a0be92673e83d65a4b870de051fd68a996595393f80063b9e3bc64af491c642ca8f60396a4c
|
7
|
+
data.tar.gz: 303c6c97034e42a7badf1107487c40448a3df327c4a94174a8b0155ab9c3a7c47bb4aa91a2b918b3a05301b249d046037ab1106b10a578d14fb62ff3c27c0745
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
4
|
+
|
5
|
+
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
|
6
|
+
|
7
|
+
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
|
8
|
+
|
9
|
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
|
10
|
+
|
11
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
|
12
|
+
|
13
|
+
This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 Thermatix
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,180 @@
|
|
1
|
+
# new_relic_rest_client
|
2
|
+
|
3
|
+
This is a ruby client to access the new relic API.
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'new_relic_rest_client'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install new_relic_rest_client
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
First set your api key like so:
|
26
|
+
|
27
|
+
```ruby
|
28
|
+
NRRC.api_key = "23423423948239040jf0asdfjsdjifnasdkhlbashbfasfb"
|
29
|
+
```
|
30
|
+
|
31
|
+
Then make a request for data.
|
32
|
+
|
33
|
+
``` ruby
|
34
|
+
puts NRRC::Routes::Applications.list
|
35
|
+
puts NRRC::Routes::Applications.show "23423423"
|
36
|
+
```
|
37
|
+
|
38
|
+
you can also pass in params
|
39
|
+
|
40
|
+
```ruby
|
41
|
+
puts NRRC::Routes::Applications.list({"filter[ids]" => ["23423423"]})
|
42
|
+
```
|
43
|
+
|
44
|
+
It does support updating,creating and deleting in the same way
|
45
|
+
|
46
|
+
##Function listing
|
47
|
+
|
48
|
+
Here's the list of functions and there arguments, grouped by route.
|
49
|
+
|
50
|
+
### Applications
|
51
|
+
|
52
|
+
```ruby
|
53
|
+
NRRC::Routes::Applications
|
54
|
+
list params={}
|
55
|
+
show app_id
|
56
|
+
update app_id, data={}
|
57
|
+
delete app_id
|
58
|
+
metric_names app_id, params={}
|
59
|
+
metric_data app_id, params={}
|
60
|
+
event_list app_id, params={}
|
61
|
+
event_show app_id,event_id
|
62
|
+
event_close app_id, event_id
|
63
|
+
create_event app_id, data={}
|
64
|
+
downtime_list app_id, params={}
|
65
|
+
downtime_show app_id,event_id
|
66
|
+
```
|
67
|
+
|
68
|
+
### Application Hosts
|
69
|
+
|
70
|
+
```ruby
|
71
|
+
NRRC::Routes::Application_Hosts
|
72
|
+
list app_id, params={}
|
73
|
+
show app_id, host_id
|
74
|
+
metric_names app_id, host_id, params={}
|
75
|
+
metric_data app_id, host_id, params={}
|
76
|
+
```
|
77
|
+
|
78
|
+
### Application Instances
|
79
|
+
|
80
|
+
```ruby
|
81
|
+
NRRC::Routes::Application_Instances
|
82
|
+
list app_id, params={}
|
83
|
+
show app_id, instance_id
|
84
|
+
metric_names app_id, instance_id, params={}
|
85
|
+
metric_data app_id, instance_id, params={}
|
86
|
+
```
|
87
|
+
|
88
|
+
### Mobile Applications
|
89
|
+
|
90
|
+
```ruby
|
91
|
+
NRRC::Routes::Mobile_applications
|
92
|
+
list params={}
|
93
|
+
show app_id
|
94
|
+
metric_names app_id, params={}
|
95
|
+
metric_data app_id, params={}
|
96
|
+
```
|
97
|
+
|
98
|
+
### Browser Applications
|
99
|
+
|
100
|
+
```ruby
|
101
|
+
NRRC::Routes::Browser_Applications
|
102
|
+
list params={}
|
103
|
+
create data={}
|
104
|
+
```
|
105
|
+
|
106
|
+
### Key Transactions
|
107
|
+
|
108
|
+
```ruby
|
109
|
+
NRRC::Routes::Key_Transactions
|
110
|
+
list app_id, params={}
|
111
|
+
show app_id
|
112
|
+
```
|
113
|
+
|
114
|
+
### Servers
|
115
|
+
|
116
|
+
```ruby
|
117
|
+
NRRC::Routes::Servers
|
118
|
+
list params={}
|
119
|
+
show app_id
|
120
|
+
update app_id, data={}
|
121
|
+
delete app_id
|
122
|
+
metric_names app_id, params={}
|
123
|
+
metric_data app_id, params={}
|
124
|
+
```
|
125
|
+
|
126
|
+
### Notification Channels
|
127
|
+
|
128
|
+
```ruby
|
129
|
+
NRRC::Routes::Notification_Channels
|
130
|
+
list params={}
|
131
|
+
show app_id
|
132
|
+
```
|
133
|
+
|
134
|
+
### Users
|
135
|
+
|
136
|
+
```ruby
|
137
|
+
NRRC::Routes::Servers
|
138
|
+
list params={}
|
139
|
+
show app_id
|
140
|
+
reset_password user_id
|
141
|
+
```
|
142
|
+
|
143
|
+
### Plugins
|
144
|
+
|
145
|
+
```ruby
|
146
|
+
NRRC::Routes::Plugins
|
147
|
+
list params={}
|
148
|
+
show plugin_id
|
149
|
+
```
|
150
|
+
|
151
|
+
### Components
|
152
|
+
|
153
|
+
```ruby
|
154
|
+
NRRC::Routes::Components
|
155
|
+
list params={}
|
156
|
+
show component_id
|
157
|
+
```
|
158
|
+
|
159
|
+
### Labels
|
160
|
+
|
161
|
+
```ruby
|
162
|
+
NRRC::Routes::Labels
|
163
|
+
list params={}
|
164
|
+
create data
|
165
|
+
delete label_id
|
166
|
+
```
|
167
|
+
|
168
|
+
## Development
|
169
|
+
|
170
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
|
171
|
+
|
172
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
173
|
+
|
174
|
+
## Contributing
|
175
|
+
|
176
|
+
1. Fork it ( https://github.com/[my-github-username]/new_relic_rest_client/fork )
|
177
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
178
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
179
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
180
|
+
5. Create a new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "new_relic_rest_client"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
module NRRC
|
2
|
+
module Routes
|
3
|
+
module Common
|
4
|
+
def list params={}
|
5
|
+
get_action({url:"#{@url_base}.json"},params)
|
6
|
+
end
|
7
|
+
|
8
|
+
def show id
|
9
|
+
get_action(url: "#{url id}.json")
|
10
|
+
end
|
11
|
+
|
12
|
+
module Metrics
|
13
|
+
def metric_names id, params={}
|
14
|
+
get_action({url: "#{url id}/metrics.json"},params)
|
15
|
+
end
|
16
|
+
|
17
|
+
def metric_data id, params={}
|
18
|
+
get_action({url: "#{url id}/metrics/data.json"},params)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
module Unsafe
|
23
|
+
|
24
|
+
def update id, data
|
25
|
+
put_action({
|
26
|
+
payload: data,
|
27
|
+
url: "#{url id}.json"
|
28
|
+
})
|
29
|
+
end
|
30
|
+
|
31
|
+
|
32
|
+
def delete id
|
33
|
+
delete_action(url: "#{url id}.json")
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,73 @@
|
|
1
|
+
require 'rest-client'
|
2
|
+
|
3
|
+
module NRRC
|
4
|
+
module Routes
|
5
|
+
class << self
|
6
|
+
attr_accessor :api_key
|
7
|
+
end
|
8
|
+
Base = 'https://api.newrelic.com/v2'
|
9
|
+
module Helpers
|
10
|
+
|
11
|
+
def url id
|
12
|
+
"#{@url_base}/%s" % [id]
|
13
|
+
end
|
14
|
+
|
15
|
+
def get_action with,params={}
|
16
|
+
action = deep_copy({
|
17
|
+
method: :get,
|
18
|
+
headers: {
|
19
|
+
:"X-Api-Key" => Routes.api_key
|
20
|
+
}
|
21
|
+
}).update(with)
|
22
|
+
action[:headers].update(params: params)
|
23
|
+
make_request(action)
|
24
|
+
end
|
25
|
+
|
26
|
+
def put_action with,params={}
|
27
|
+
action = deep_copy({
|
28
|
+
method: :put,
|
29
|
+
headers: {
|
30
|
+
:"X-Api-Key" => Routes.api_key,
|
31
|
+
content_type: :json,
|
32
|
+
}
|
33
|
+
}).update(with)
|
34
|
+
action[:headers].update(params: params)
|
35
|
+
make_request(action)
|
36
|
+
end
|
37
|
+
|
38
|
+
def delete_action with,params={}
|
39
|
+
action = deep_copy({
|
40
|
+
method: :delete,
|
41
|
+
headers: {
|
42
|
+
:"X-Api-Key" => Routes.api_key
|
43
|
+
}
|
44
|
+
}).update(with)
|
45
|
+
action[:headers].update(params: params)
|
46
|
+
make_request(action)
|
47
|
+
end
|
48
|
+
|
49
|
+
def create_action with,params={}
|
50
|
+
action = deep_copy({
|
51
|
+
method: :post,
|
52
|
+
headers: {
|
53
|
+
:"X-Api-Key" => Routes.api_key,
|
54
|
+
content_type: :json,
|
55
|
+
}
|
56
|
+
}).update(with)
|
57
|
+
action[:headers].update(params: params)
|
58
|
+
make_request(action)
|
59
|
+
end
|
60
|
+
private
|
61
|
+
|
62
|
+
def make_request request_hash
|
63
|
+
puts request_hash
|
64
|
+
::RestClient::Request.execute request_hash
|
65
|
+
end
|
66
|
+
|
67
|
+
def deep_copy(object)
|
68
|
+
Marshal.load(Marshal.dump(object))
|
69
|
+
end
|
70
|
+
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
module NRRC
|
2
|
+
module Routes
|
3
|
+
class Application_Specific_Extras
|
4
|
+
extend Helpers
|
5
|
+
class << self
|
6
|
+
|
7
|
+
@url_base = "#{Base}/applications"
|
8
|
+
def url id
|
9
|
+
"#{@url_base}/%s/#{@specific}" % [id]
|
10
|
+
end
|
11
|
+
|
12
|
+
def list id, params={}
|
13
|
+
get_action({url: "#{url id}.json"},params)
|
14
|
+
end
|
15
|
+
|
16
|
+
def show id, specific_id
|
17
|
+
get_action(url: "#{url id}/#{specific_id}.json")
|
18
|
+
end
|
19
|
+
|
20
|
+
def metric_names id, specific_id, params={}
|
21
|
+
get_action({url: "#{url id}/#{specific_id}/metrics.json"},params)
|
22
|
+
end
|
23
|
+
|
24
|
+
def metric_data id, specific_id, params={}
|
25
|
+
get_action({url: "#{url id}/#{specific_id}/metrics/data.json"},params)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
class Application_Hosts < Application_Specific_Extras
|
31
|
+
@specific = 'hosts'
|
32
|
+
end
|
33
|
+
|
34
|
+
class Application_Instances < Application_Specific_Extras
|
35
|
+
@specific = 'instances'
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
module NRRC
|
2
|
+
module Routes
|
3
|
+
module Applications
|
4
|
+
extend Helpers
|
5
|
+
extend Common
|
6
|
+
extend Common::Metrics
|
7
|
+
extend Common::Unsafe
|
8
|
+
@url_base = "#{Base}/applications"
|
9
|
+
class << self
|
10
|
+
|
11
|
+
|
12
|
+
def event_list id, params={}
|
13
|
+
get_action({url: "#{url id}/events.json"},params)
|
14
|
+
end
|
15
|
+
|
16
|
+
def event_show id,event_id
|
17
|
+
get_action(url: "#{url id}/events/#{event_id}.json")
|
18
|
+
end
|
19
|
+
|
20
|
+
def event_close id, event_id
|
21
|
+
put_action(url: "#{url id}/events/#{event_id}/close.json")
|
22
|
+
end
|
23
|
+
|
24
|
+
def create_event id, data
|
25
|
+
create_action(
|
26
|
+
payload: data,
|
27
|
+
url: "#{url id}/events.json"
|
28
|
+
)
|
29
|
+
end
|
30
|
+
|
31
|
+
def downtime_list id, params={}
|
32
|
+
get_action({url: "#{url id}/target_downtime_events.json"},params)
|
33
|
+
end
|
34
|
+
|
35
|
+
def downtime_show id,event_id
|
36
|
+
get_action(url: "#{url id}/target_downtime_events/#{event_id}.json")
|
37
|
+
end
|
38
|
+
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module NRRC
|
2
|
+
module Routes
|
3
|
+
class Browser_Applications
|
4
|
+
extend Helpers
|
5
|
+
extend Common
|
6
|
+
@url_base = "#{Base}/browser_applications"
|
7
|
+
|
8
|
+
class << self
|
9
|
+
def create data
|
10
|
+
create_action.update({
|
11
|
+
payload: data,
|
12
|
+
url: "#{@url_base}.json"
|
13
|
+
})
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
module NRRC
|
2
|
+
module Routes
|
3
|
+
class Labels
|
4
|
+
extend Helpers
|
5
|
+
@url_base = "#{Base}/labels"
|
6
|
+
|
7
|
+
class << self
|
8
|
+
def list params={}
|
9
|
+
get_action({url: "#{@url_base}.json"},params)
|
10
|
+
end
|
11
|
+
|
12
|
+
def create data
|
13
|
+
put_action(
|
14
|
+
payload: data,
|
15
|
+
url: "#{@url_base}.json"
|
16
|
+
)
|
17
|
+
end
|
18
|
+
|
19
|
+
def delete id
|
20
|
+
delete_action(url: "#{url id}.json")
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
nrrc_root = File.expand_path('..', __FILE__)
|
2
|
+
|
3
|
+
require "new_relic_rest_client/version"
|
4
|
+
require "new_relic_rest_client/route_helpers"
|
5
|
+
require "new_relic_rest_client/common_routes"
|
6
|
+
|
7
|
+
|
8
|
+
Dir["#{nrrc_root}/new_relic_rest_client/routes/*.rb"].each do |file|
|
9
|
+
require file
|
10
|
+
end
|
11
|
+
|
12
|
+
|
13
|
+
module NRRC
|
14
|
+
class << self
|
15
|
+
def api_key= key
|
16
|
+
Routes.api_key = key
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'new_relic_rest_client/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "new_relic_rest_client"
|
8
|
+
spec.version = NRRC::VERSION
|
9
|
+
spec.authors = ["Thermatix"]
|
10
|
+
spec.email = ["mbeckerwork@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{a rest client to access the new relic rest api}
|
13
|
+
spec.homepage = "https://github.com/Thermatix/new_relic_rest_client"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
|
+
spec.bindir = "exe"
|
18
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_runtime_dependency "rest-client" , "~> 1.8"
|
22
|
+
|
23
|
+
spec.add_development_dependency "bundler", "~> 1.9"
|
24
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,112 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: new_relic_rest_client
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Thermatix
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-08-05 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rest-client
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.8'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.8'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.9'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.9'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
- mbeckerwork@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- ".gitignore"
|
63
|
+
- ".rspec"
|
64
|
+
- ".travis.yml"
|
65
|
+
- CODE_OF_CONDUCT.md
|
66
|
+
- Gemfile
|
67
|
+
- LICENSE.txt
|
68
|
+
- README.md
|
69
|
+
- Rakefile
|
70
|
+
- bin/console
|
71
|
+
- bin/setup
|
72
|
+
- lib/new_relic_rest_client.rb
|
73
|
+
- lib/new_relic_rest_client/common_routes.rb
|
74
|
+
- lib/new_relic_rest_client/route_helpers.rb
|
75
|
+
- lib/new_relic_rest_client/routes/application_specifics.rb
|
76
|
+
- lib/new_relic_rest_client/routes/applications.rb
|
77
|
+
- lib/new_relic_rest_client/routes/browser_applications.rb
|
78
|
+
- lib/new_relic_rest_client/routes/components.rb
|
79
|
+
- lib/new_relic_rest_client/routes/key_transations.rb
|
80
|
+
- lib/new_relic_rest_client/routes/labels.rb
|
81
|
+
- lib/new_relic_rest_client/routes/mobile_applications.rb
|
82
|
+
- lib/new_relic_rest_client/routes/notification_channels.rb
|
83
|
+
- lib/new_relic_rest_client/routes/plugins.rb
|
84
|
+
- lib/new_relic_rest_client/routes/servers.rb
|
85
|
+
- lib/new_relic_rest_client/routes/users.rb
|
86
|
+
- lib/new_relic_rest_client/version.rb
|
87
|
+
- new_relic_rest_client.gemspec
|
88
|
+
homepage: https://github.com/Thermatix/new_relic_rest_client
|
89
|
+
licenses:
|
90
|
+
- MIT
|
91
|
+
metadata: {}
|
92
|
+
post_install_message:
|
93
|
+
rdoc_options: []
|
94
|
+
require_paths:
|
95
|
+
- lib
|
96
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '0'
|
101
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - ">="
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '0'
|
106
|
+
requirements: []
|
107
|
+
rubyforge_project:
|
108
|
+
rubygems_version: 2.4.5
|
109
|
+
signing_key:
|
110
|
+
specification_version: 4
|
111
|
+
summary: a rest client to access the new relic rest api
|
112
|
+
test_files: []
|