gsmetrics 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +3 -1
- data/Gemfile.lock +57 -17
- data/README.md +2 -2
- data/gsmetrics.gemspec +4 -4
- data/lib/gsmetrics/gsmetrics.rb +2 -2
- metadata +14 -19
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ea46e4d6c3e59f65c33cc18daf90dd1adf488b3f
|
4
|
+
data.tar.gz: 3edbd425c61b05c07ced23b5fd18c2a8cc9d5b70
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d005921ec57d1d00baa31dd27e9e53de2080eac6482a7d73a2ca3f2bcaecf34b8c050d7ed339eddd4fcd9f57cba374a61e3fc38310101851ec5a872e4c789234
|
7
|
+
data.tar.gz: e6e386f65c1f168527c836550d433bb0eff5e3d3ae77ef9b27beab1004c524187f39b7784d42dc3505114ac52b6d4eaefcc8d34514b90affa193721dafed551d
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,31 +1,71 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
gsmetrics (0.1.
|
5
|
-
google_drive (~> 0.
|
4
|
+
gsmetrics (0.1.8)
|
5
|
+
google_drive (~> 1.0.0)
|
6
6
|
|
7
7
|
GEM
|
8
|
+
remote: https://rubygems.org/
|
8
9
|
specs:
|
9
|
-
|
10
|
-
|
11
|
-
|
10
|
+
activesupport (4.2.0)
|
11
|
+
i18n (~> 0.7)
|
12
|
+
json (~> 1.7, >= 1.7.7)
|
13
|
+
minitest (~> 5.1)
|
14
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
15
|
+
tzinfo (~> 1.1)
|
16
|
+
addressable (2.3.6)
|
17
|
+
autoparse (0.3.3)
|
18
|
+
addressable (>= 2.3.1)
|
19
|
+
extlib (>= 0.9.15)
|
20
|
+
multi_json (>= 1.0.0)
|
21
|
+
extlib (0.9.16)
|
22
|
+
faraday (0.9.0)
|
23
|
+
multipart-post (>= 1.2, < 3)
|
24
|
+
google-api-client (0.8.1.1)
|
25
|
+
activesupport (>= 3.2)
|
26
|
+
addressable (~> 2.3)
|
27
|
+
autoparse (~> 0.3)
|
28
|
+
extlib (~> 0.9)
|
29
|
+
faraday (~> 0.9)
|
30
|
+
launchy (~> 2.4)
|
31
|
+
multi_json (~> 1.10)
|
32
|
+
retriable (~> 1.4)
|
33
|
+
signet (~> 0.6)
|
34
|
+
google_drive (1.0.0)
|
35
|
+
google-api-client (>= 0.7.0)
|
12
36
|
nokogiri (>= 1.4.4, != 1.5.2, != 1.5.1)
|
13
37
|
oauth (>= 0.3.6)
|
14
38
|
oauth2 (>= 0.5.0)
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
39
|
+
i18n (0.7.0)
|
40
|
+
json (1.8.1)
|
41
|
+
jwt (1.2.0)
|
42
|
+
launchy (2.4.3)
|
43
|
+
addressable (~> 2.3)
|
44
|
+
mini_portile (0.6.1)
|
45
|
+
minitest (5.5.0)
|
46
|
+
multi_json (1.10.1)
|
47
|
+
multi_xml (0.5.5)
|
48
|
+
multipart-post (2.0.0)
|
49
|
+
nokogiri (1.6.5)
|
50
|
+
mini_portile (~> 0.6.0)
|
21
51
|
oauth (0.4.7)
|
22
|
-
oauth2 (0.
|
23
|
-
faraday (
|
24
|
-
|
25
|
-
|
26
|
-
|
52
|
+
oauth2 (1.0.0)
|
53
|
+
faraday (>= 0.8, < 0.10)
|
54
|
+
jwt (~> 1.0)
|
55
|
+
multi_json (~> 1.3)
|
56
|
+
multi_xml (~> 0.5)
|
27
57
|
rack (~> 1.2)
|
28
|
-
rack (1.
|
58
|
+
rack (1.6.0)
|
59
|
+
retriable (1.4.1)
|
60
|
+
signet (0.6.0)
|
61
|
+
addressable (~> 2.3)
|
62
|
+
extlib (~> 0.9)
|
63
|
+
faraday (~> 0.9)
|
64
|
+
jwt (~> 1.0)
|
65
|
+
multi_json (~> 1.10)
|
66
|
+
thread_safe (0.3.4)
|
67
|
+
tzinfo (1.2.2)
|
68
|
+
thread_safe (~> 0.1)
|
29
69
|
|
30
70
|
PLATFORMS
|
31
71
|
ruby
|
data/README.md
CHANGED
@@ -12,7 +12,7 @@ Create a new GSMetrics Session and a worksheet, then append to it and create as
|
|
12
12
|
|
13
13
|
```ruby
|
14
14
|
session = GSMetrics::Session.new("YOUR_GOOGLE_USERNAME", "YOUR_GOOGLE_PASSWORD")
|
15
|
-
session.worksheet "SPREADSHEET_TITLE", "WORKSHEET_TITLE"
|
15
|
+
worksheet = session.worksheet "SPREADSHEET_TITLE", "WORKSHEET_TITLE"
|
16
16
|
worksheet << 1
|
17
17
|
worksheet.append(5)
|
18
18
|
worksheet.next_row
|
@@ -41,4 +41,4 @@ GSMetrics doesn't suppot OAUTH login with Google any more, as it was painful to
|
|
41
41
|
|
42
42
|
Copyright (c) 2011-2012 Florian Motlik, licensed under MIT License
|
43
43
|
|
44
|
-
Based on the gem template by https://github.com/goncalossilva/gem_template
|
44
|
+
Based on the gem template by https://github.com/goncalossilva/gem_template
|
data/gsmetrics.gemspec
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "gsmetrics"
|
3
|
-
s.version = "0.1.
|
3
|
+
s.version = "0.1.8"
|
4
4
|
s.platform = Gem::Platform::RUBY
|
5
5
|
s.authors = ["Florian Motlik"]
|
6
|
-
s.email = ["flo@codeship.
|
7
|
-
s.homepage = "http://github.com/
|
6
|
+
s.email = ["flo@codeship.com"]
|
7
|
+
s.homepage = "http://github.com/codeship/gsmetrics"
|
8
8
|
s.summary = "Gem for pushing data to Google Docs"
|
9
9
|
s.description = "Simple Way to open a Session with Google Docs and push data into a Google Spreadsheet Worksheet. We use it primarily for metrics, but it can be used for basically anything regarding google spreadsheets."
|
10
10
|
s.rubyforge_project = s.name
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.required_rubygems_version = ">= 1.3.6"
|
13
13
|
|
14
14
|
# If you have runtime dependencies, add them here
|
15
|
-
s.add_dependency("google_drive", "~> 0.
|
15
|
+
s.add_dependency("google_drive", "~> 1.0.0")
|
16
16
|
|
17
17
|
# If you have development dependencies, add them here
|
18
18
|
# s.add_development_dependency "another", "= 0.9"
|
data/lib/gsmetrics/gsmetrics.rb
CHANGED
metadata
CHANGED
@@ -1,42 +1,39 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gsmetrics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.8
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Florian Motlik
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-12-30 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: google_drive
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.
|
19
|
+
version: 1.0.0
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- - ~>
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
26
|
+
version: 1.0.0
|
30
27
|
description: Simple Way to open a Session with Google Docs and push data into a Google
|
31
28
|
Spreadsheet Worksheet. We use it primarily for metrics, but it can be used for basically
|
32
29
|
anything regarding google spreadsheets.
|
33
30
|
email:
|
34
|
-
- flo@codeship.
|
31
|
+
- flo@codeship.com
|
35
32
|
executables: []
|
36
33
|
extensions: []
|
37
34
|
extra_rdoc_files: []
|
38
35
|
files:
|
39
|
-
- .gitignore
|
36
|
+
- ".gitignore"
|
40
37
|
- CHANGELOG.md
|
41
38
|
- Gemfile
|
42
39
|
- Gemfile.lock
|
@@ -46,29 +43,27 @@ files:
|
|
46
43
|
- gsmetrics.gemspec
|
47
44
|
- lib/gsmetrics.rb
|
48
45
|
- lib/gsmetrics/gsmetrics.rb
|
49
|
-
homepage: http://github.com/
|
46
|
+
homepage: http://github.com/codeship/gsmetrics
|
50
47
|
licenses: []
|
48
|
+
metadata: {}
|
51
49
|
post_install_message:
|
52
50
|
rdoc_options: []
|
53
51
|
require_paths:
|
54
52
|
- lib
|
55
53
|
required_ruby_version: !ruby/object:Gem::Requirement
|
56
|
-
none: false
|
57
54
|
requirements:
|
58
|
-
- -
|
55
|
+
- - ">="
|
59
56
|
- !ruby/object:Gem::Version
|
60
57
|
version: '0'
|
61
58
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
62
|
-
none: false
|
63
59
|
requirements:
|
64
|
-
- -
|
60
|
+
- - ">="
|
65
61
|
- !ruby/object:Gem::Version
|
66
62
|
version: 1.3.6
|
67
63
|
requirements: []
|
68
64
|
rubyforge_project: gsmetrics
|
69
|
-
rubygems_version:
|
65
|
+
rubygems_version: 2.2.2
|
70
66
|
signing_key:
|
71
|
-
specification_version:
|
67
|
+
specification_version: 4
|
72
68
|
summary: Gem for pushing data to Google Docs
|
73
69
|
test_files: []
|
74
|
-
has_rdoc:
|