metrika 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +22 -1
- data/README.md +5 -3
- data/lib/metrika/version.rb +1 -1
- data/metrika.gemspec +2 -0
- data/spec/helper.rb +4 -1
- metadata +29 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c66f2e65b8b06d2e96f53c9f790a40d910a83abb
|
4
|
+
data.tar.gz: 02dee3a29d663738f3b06b47feab4786619cc939
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f946e2249a71dfaf30033ed697b08f6ea52c9742ae2c90cbe150d9a722a66911f4bc7b439b3986d81610319f832c5526194556137d38a53e9f0398494f75b59
|
7
|
+
data.tar.gz: 3c23681f73d20ed6b0b9569a14ca10f3d9019631d21f5d4d6c6d52d902c998d457998289edd55565035ce95cf2729e8f2efee7acc1c5715b7369e75def7b575e
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
metrika (0.2.
|
4
|
+
metrika (0.2.1)
|
5
5
|
oauth2
|
6
6
|
yajl-ruby
|
7
7
|
|
@@ -16,15 +16,23 @@ GEM
|
|
16
16
|
tzinfo (~> 0.3.37)
|
17
17
|
addressable (2.3.5)
|
18
18
|
atomic (1.1.14)
|
19
|
+
coveralls (0.7.0)
|
20
|
+
multi_json (~> 1.3)
|
21
|
+
rest-client
|
22
|
+
simplecov (>= 0.7)
|
23
|
+
term-ansicolor
|
24
|
+
thor
|
19
25
|
crack (0.4.2)
|
20
26
|
safe_yaml (~> 1.0.0)
|
21
27
|
diff-lcs (1.2.5)
|
28
|
+
docile (1.1.2)
|
22
29
|
faraday (0.9.0)
|
23
30
|
multipart-post (>= 1.2, < 3)
|
24
31
|
i18n (0.6.9)
|
25
32
|
json (1.8.1)
|
26
33
|
jwt (0.1.11)
|
27
34
|
multi_json (>= 1.5)
|
35
|
+
mime-types (2.0)
|
28
36
|
minitest (4.7.5)
|
29
37
|
multi_json (1.8.4)
|
30
38
|
multi_xml (0.5.5)
|
@@ -39,6 +47,8 @@ GEM
|
|
39
47
|
rake (10.1.1)
|
40
48
|
rdoc (4.1.1)
|
41
49
|
json (~> 1.4)
|
50
|
+
rest-client (1.6.7)
|
51
|
+
mime-types (>= 1.16)
|
42
52
|
rspec (2.14.1)
|
43
53
|
rspec-core (~> 2.14.0)
|
44
54
|
rspec-expectations (~> 2.14.0)
|
@@ -54,8 +64,17 @@ GEM
|
|
54
64
|
shoulda-context (1.1.6)
|
55
65
|
shoulda-matchers (2.5.0)
|
56
66
|
activesupport (>= 3.0.0)
|
67
|
+
simplecov (0.8.2)
|
68
|
+
docile (~> 1.1.0)
|
69
|
+
multi_json
|
70
|
+
simplecov-html (~> 0.8.0)
|
71
|
+
simplecov-html (0.8.0)
|
72
|
+
term-ansicolor (1.2.2)
|
73
|
+
tins (~> 0.8)
|
74
|
+
thor (0.18.1)
|
57
75
|
thread_safe (0.1.3)
|
58
76
|
atomic
|
77
|
+
tins (0.13.1)
|
59
78
|
tzinfo (0.3.38)
|
60
79
|
vcr (2.8.0)
|
61
80
|
webmock (1.17.3)
|
@@ -68,10 +87,12 @@ PLATFORMS
|
|
68
87
|
|
69
88
|
DEPENDENCIES
|
70
89
|
bundler
|
90
|
+
coveralls
|
71
91
|
metrika!
|
72
92
|
rake
|
73
93
|
rdoc
|
74
94
|
rspec
|
75
95
|
shoulda
|
96
|
+
simplecov
|
76
97
|
vcr
|
77
98
|
webmock
|
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
-
[![Build Status](https://
|
2
|
-
[![
|
3
|
-
[![
|
1
|
+
[![Build Status](https://travis-ci.org/igor-alexandrov/metrika.png)](https://travis-ci.org/igor-alexandrov/metrika)
|
2
|
+
[![Code Climate](https://codeclimate.com/github/igor-alexandrov/metrika.png)](https://codeclimate.com/github/igor-alexandrov/metrika)
|
3
|
+
[![Coverage Status](https://coveralls.io/repos/igor-alexandrov/metrika/badge.png)](https://coveralls.io/r/igor-alexandrov/metrika)
|
4
|
+
[![Dependency Status](https://gemnasium.com/igor-alexandrov/metrika.png)](https://gemnasium.com/igor-alexandrov/metrika)
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/metrika.png)](http://badge.fury.io/rb/metrika)
|
4
6
|
|
5
7
|
# Metrika
|
6
8
|
|
data/lib/metrika/version.rb
CHANGED
data/metrika.gemspec
CHANGED
data/spec/helper.rb
CHANGED
@@ -6,6 +6,9 @@ require 'rspec'
|
|
6
6
|
require 'webmock/rspec'
|
7
7
|
require 'vcr'
|
8
8
|
|
9
|
+
require 'coveralls'
|
10
|
+
Coveralls.wear!
|
11
|
+
|
9
12
|
VCR.configure do |c|
|
10
13
|
c.cassette_library_dir = 'spec/fixtures/cassettes'
|
11
14
|
c.hook_into(:webmock)
|
@@ -23,7 +26,7 @@ APPLICATION_PASSWORD = 'fc2f76dc877e41a4a6cbe78d73faff85'
|
|
23
26
|
token_file = File.expand_path('../.access_token', __FILE__)
|
24
27
|
if File.exists?(token_file)
|
25
28
|
ACCESS_TOKEN = File.read(token_file).strip
|
26
|
-
else
|
29
|
+
else
|
27
30
|
ACCESS_TOKEN = 'FAKETOKEN'
|
28
31
|
puts "You are using a fake access token. You can only use API responds recorded by VCR"
|
29
32
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metrika
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Alexandrov
|
@@ -136,6 +136,34 @@ dependencies:
|
|
136
136
|
- - '>='
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: simplecov
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - '>='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - '>='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: coveralls
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - '>='
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - '>='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
139
167
|
description:
|
140
168
|
email: igor.alexandrov@gmail.com
|
141
169
|
executables: []
|