insta-monitis 0.1.7 → 0.1.8

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b4c610009584b9c42d128e9c367db0bb87da205
4
- data.tar.gz: 42b12eb535298f050122f6979ab53c221feb98bb
3
+ metadata.gz: c4c95e8aba1b09ce69d714ab2489045962ad4d00
4
+ data.tar.gz: ad2d133fe1598582ba249af6b984de64535c465a
5
5
  SHA512:
6
- metadata.gz: 7b33ef7801ec5f7869c514aa83e976d32fd5490a13f2318597f41c60d941697a5a44fde4ac349141ef5a478f9b0ab1fb076f974736817ccef34a238b4dfde5bf
7
- data.tar.gz: 8a271f08d4586195f8e4f652e4442790c54721d37d54aba298321e51faa4d1058ec6d592b74d2e86940437937557ed9e66fe98a6243819a7683db45cd7363476
6
+ metadata.gz: a4a4836742f7167f07978110292ad926c75094b8967ca4a79a142678ff858de6130cb16fb124ba326b1114f162ad62e2d09e8268d597513bccafc7942deee399
7
+ data.tar.gz: bb9eb5093cf24784f751404e4e7178ae77b8a1c1c1fce702f1f171cb1726ad34a5042221df163de8da292b1994caf6fcb34a5763232150f16888c6a25ef4c88d
@@ -8,7 +8,7 @@ module InstaMonitis
8
8
  class Api
9
9
  @@host = 'https://api.monitis.com'
10
10
  @@prefix = '/api'
11
- @@version = 'version=2'
11
+ @@version = 'version=3'
12
12
 
13
13
  def initialize opts={}
14
14
  @key = opts["key"]
@@ -198,14 +198,14 @@ module InstaMonitis
198
198
  class Report < Thor
199
199
  include RunnerHelper
200
200
  class_option :id, :aliases => '-i', :type => :numeric, :desc => 'Id of test'
201
- class_option :days, :aliases => '-d', :type => :numeric, :desc => 'How many days', :default => 150
201
+ class_option :days, :aliases => '-d', :type => :numeric, :desc => 'How many days', :default => 25
202
202
  desc "http --[ID]=[N] --[DAYS]=[N]", "Generate report for given http test"
203
203
  long_desc <<-LONGDESC
204
204
  Using the API, generate a .csv report of a HTTP Monitor going back [x] days.
205
205
 
206
206
  For a given id ( -i, --id ), use the api to pull every day going back to [x] days.
207
207
 
208
- If the amount of days ( -d, --days ), isn't set, it will default to 150 days.
208
+ If the amount of days ( -d, --days ), isn't set, it will default to 25 days.
209
209
 
210
210
  Combine the results sanely, and dump it into a .csv file.
211
211
  LONGDESC
@@ -1,3 +1,3 @@
1
1
  module InstaMonitis
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: insta-monitis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Pramann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-24 00:00:00.000000000 Z
11
+ date: 2015-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor