ga_collect 0.1.0 → 0.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bf5907829af46de04e773e9c922dbea14155f52e
4
- data.tar.gz: 5db8c408e45bb6fca4d5b3e3242c7fa8528db786
3
+ metadata.gz: 79c14b6e1afd319bd1b0ba2e8be6d464e007b41a
4
+ data.tar.gz: 09b8faabe24a750b16a910cfe8449c42576e6c69
5
5
  SHA512:
6
- metadata.gz: 423f342bceb51c14402012ce4f847108a16e6d773a687c0edcf32de646799a4d96ed22bf2eed297628fececcb0c1770aff8e95e4c8fe3d814f85aafe96b9eb84
7
- data.tar.gz: 8de3155cb3e886f674e1af77b7dd5f4109745709f9171506114a082d4fa1416476c73866ad5beaac8f935dbe0bb312145a5e35b0db8a62bf1b15bad512197b36
6
+ metadata.gz: 74310edd2aecb2084c7fa9e2a25f4d66610d7e5560e4e7a1da4091280f386385c88777e5056b664d6049fcbf6e17799d990af1fa87d0ffcd1568c0112a32fbc3
7
+ data.tar.gz: 468b1a4f4a89b9b91ccc991383452adac20b8610eded183398cf7ee9599365f3c6de8e34901727e4fcd85896717bca1df51f378959b2d77e1b9fb3abc32e9bc4
data/.travis.yml CHANGED
@@ -1,3 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
+ - 1.9
3
4
  - 2.0.0
data/Gemfile CHANGED
@@ -2,3 +2,7 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in ga_collect.gemspec
4
4
  gemspec
5
+
6
+ group :development, :test do
7
+ gem "rspec"
8
+ end
data/README.md CHANGED
@@ -1,7 +1,6 @@
1
- # GaCollect
2
-
3
- GaCollect is a simple Ruby library which collects metrics on the server side and sends them to google analytics using its measurement protocol https://developers.google.com/analytics/devguides/collection/protocol/v1/devguide#usertiming
1
+ # GaCollect [![Build Status](https://travis-ci.org/jsanroman/ga_collect.svg)](https://travis-ci.org/jsanroman/ga_collect)
4
2
 
3
+ A simple Ruby library which to collects metrics on the server side and sends them to google analytics using its measurement protocol https://developers.google.com/analytics/devguides/collection/protocol/v1/devguide#usertiming
5
4
 
6
5
  ## Installation
7
6
 
data/Rakefile CHANGED
@@ -1 +1,5 @@
1
1
  require "bundler/gem_tasks"
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+ task :default => :spec
data/ga_collect.gemspec CHANGED
@@ -6,12 +6,15 @@ require 'ga_collect/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'ga_collect'
8
8
  spec.version = GaCollect::VERSION
9
+ spec.platform = Gem::Platform::RUBY
10
+ spec.required_ruby_version = '>= 1.9'
11
+
9
12
  spec.licenses = ["MIT"]
10
13
  spec.authors = ["Javi Sanromán"]
11
14
  spec.email = ["javisanroman@gmail.com"]
12
15
 
13
- spec.summary = %q{GaCollect is a simple Ruby library which collects metrics on the server side and sends them to google analytics using its measurement protocol}
14
- spec.description = %q{GaCollect is a simple Ruby library which collects metrics on the server side and sends them to google analytics using its measurement protocol https://developers.google.com/analytics/devguides/collection/protocol/v1/devguide#usertiming}
16
+ spec.summary = %q{A simple Ruby library which to collects metrics on the server side and sends them to google analytics using its measurement protocol}
17
+ spec.description = %q{A simple Ruby library which to collects metrics on the server side and sends them to google analytics using its measurement protocol https://developers.google.com/analytics/devguides/collection/protocol/v1/devguide#usertiming}
15
18
  spec.homepage = "https://github.com/jsanroman/ga_collect"
16
19
 
17
20
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
@@ -19,6 +22,6 @@ Gem::Specification.new do |spec|
19
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
23
  spec.require_paths = ["lib"]
21
24
 
22
- spec.add_development_dependency "bundler", "~> 1.9"
25
+ spec.add_development_dependency "bundler", "~> 1.7"
23
26
  spec.add_development_dependency "rake", "~> 10.0"
24
27
  end
@@ -7,7 +7,6 @@ module GaCollect
7
7
  raise ArgumentError, 'action is required' if options[:ea].nil? || options[:ea].empty?
8
8
 
9
9
  params = {ec: '', ea: '', el: '', ev: ''}.merge(options)
10
- params.merge!({t: :event})
11
10
 
12
11
  GaCollect::HTTP.get(params)
13
12
  end
@@ -1,3 +1,3 @@
1
1
  module GaCollect
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,54 +1,54 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ga_collect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javi Sanromán
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-11-20 00:00:00.000000000 Z
11
+ date: 2015-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.9'
19
+ version: '1.7'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.9'
26
+ version: '1.7'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
- description: GaCollect is a simple Ruby library which collects metrics on the server
42
- side and sends them to google analytics using its measurement protocol https://developers.google.com/analytics/devguides/collection/protocol/v1/devguide#usertiming
41
+ description: A simple Ruby library which to collects metrics on the server side and
42
+ sends them to google analytics using its measurement protocol https://developers.google.com/analytics/devguides/collection/protocol/v1/devguide#usertiming
43
43
  email:
44
44
  - javisanroman@gmail.com
45
45
  executables: []
46
46
  extensions: []
47
47
  extra_rdoc_files: []
48
48
  files:
49
- - .gitignore
50
- - .rspec
51
- - .travis.yml
49
+ - ".gitignore"
50
+ - ".rspec"
51
+ - ".travis.yml"
52
52
  - Gemfile
53
53
  - README.md
54
54
  - Rakefile
@@ -76,19 +76,19 @@ require_paths:
76
76
  - lib
77
77
  required_ruby_version: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - '>='
79
+ - - ">="
80
80
  - !ruby/object:Gem::Version
81
- version: '0'
81
+ version: '1.9'
82
82
  required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  requirements:
84
- - - '>='
84
+ - - ">="
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
87
  requirements: []
88
88
  rubyforge_project:
89
- rubygems_version: 2.0.14
89
+ rubygems_version: 2.2.2
90
90
  signing_key:
91
91
  specification_version: 4
92
- summary: GaCollect is a simple Ruby library which collects metrics on the server side
93
- and sends them to google analytics using its measurement protocol
92
+ summary: A simple Ruby library which to collects metrics on the server side and sends
93
+ them to google analytics using its measurement protocol
94
94
  test_files: []