gosquared 3.0.8 → 3.1.0

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: 309ca7ef73e75ec39499fb1a9829252e005becf1
4
- data.tar.gz: 9bc864358cf057b48bf20309ac27d5ccbf9c1419
3
+ metadata.gz: 4b08adf61eaf083d34f944c45d22f919be153296
4
+ data.tar.gz: c80660918a18f39b0b0d39ca683e9c7724a0c3c7
5
5
  SHA512:
6
- metadata.gz: e45e02c53f0b434d3febef577d0a103df52050becd72656f0a37ae94f5173008ab044e00ae5d73fcfab7255c8dcb652e9cad25fb14217d809addc9aa34f709f2
7
- data.tar.gz: 921a827fd9a71960975fd729d16f97a8a88b46588de9e266a10e460387d8883bab7fd7a02392142d1b591ce4a2040996cfeb01556d17c9af1a30b1c8b5c16489
6
+ metadata.gz: f94fd4812bcc3261561e7156732e5cefb686e74c8ea116dd78e2097821cb03d4b41baa55aa4892556626009b6e18e95c0f8f79c00b05df61dc624bd96158e16a
7
+ data.tar.gz: e7da126fc50218f2d2ea58e876eccf7707c065ceae7cd103ea6853bd67bb5bd0227521a71ac43a402eda915478554105e68241ff2fbd2bdad35512ff0e944389
data/Gemfile CHANGED
@@ -1,8 +1,8 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- ruby '2.2.2'
3
+ ruby '2.7.2'
4
4
 
5
5
  group :development, :test do
6
6
  gem 'rspec'
7
- gem 'webmock'
7
+ gem 'webmock', ">= 2.3"
8
8
  end
@@ -5,7 +5,7 @@ require_relative 'gosquared/now'
5
5
  require_relative 'gosquared/account'
6
6
 
7
7
  module Gosquared
8
- VERSION = '3.0.7'.freeze
8
+ VERSION = '3.1.0'.freeze
9
9
 
10
10
  class RubyLibrary
11
11
  def initialize(api_key, site_id)
@@ -61,7 +61,6 @@ module Gosquared
61
61
  response = false
62
62
  end
63
63
  end
64
-
65
64
  response
66
65
  end
67
66
  end
@@ -1,6 +1,6 @@
1
1
  describe Gosquared::Account do
2
2
  subject(:gs) { described_class.new('demo', 'GSN-2194840-F') }
3
- VERSION = '3.0.7'.freeze
3
+ VERSION = '3.1.0'.freeze
4
4
 
5
5
  Gosquared::Account::DIMENSIONS.each do |dimension|
6
6
  before do
@@ -107,9 +107,9 @@ describe Gosquared::People do
107
107
 
108
108
  it 'deletes a person from a project' do
109
109
  stub_request(:delete, "https://api.gosquared.com/people/v1/people/1?api_key=demo&site_token=GSN-106863-S").
110
- with(:body => "[{}]",
111
- :headers => {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'Content-Type'=>'application/json', 'User-Agent'=>'Ruby'}).
112
- to_return(:status => 200, :body => "", :headers => {})
110
+ with(:body => "[{}]",
111
+ :headers => {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'Content-Type'=>'application/json', 'User-Agent'=>'Ruby'}).
112
+ to_return(:status => 200, :body => "", :headers => {})
113
113
  gs.people.people.person_id('1')
114
114
  response = gs.people.delete
115
115
  expect(response.code).to eq("200")
@@ -1,7 +1,7 @@
1
1
  describe Gosquared::Tracking do
2
2
  subject(:gs) { described_class.new('demo', 'GSN-2194840-F') }
3
3
 
4
- VERSION = '3.0.7'.freeze
4
+ VERSION = '3.1.0'.freeze
5
5
 
6
6
  Gosquared::Tracking::DIMENSIONS.each do |dimension|
7
7
  before do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gosquared
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.8
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Russell Vaughan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-14 00:00:00.000000000 Z
11
+ date: 2020-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -38,8 +38,9 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- description: A Ruby library for posting data from your application to the GoSquared
42
- Tracking API and fetching metrics from the GoSquared Reporting API.
41
+ description: |-
42
+ GoSquared is the all-in-one growth software for SaaS businesses.
43
+ This gem is for posting data from your application to the GoSquared Tracking API and fetching metrics from the GoSquared Reporting API.
43
44
  email:
44
45
  - russell@gosquared.com
45
46
  executables: []