gsmetrics 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/README.md +11 -1
- data/gsmetrics.gemspec +1 -1
- data/lib/gsmetrics.rb +1 -1
- data/lib/{gem → gsmetrics}/gsmetrics.rb +0 -0
- metadata +3 -3
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,10 +1,14 @@
|
|
1
1
|
GSMetrics is a simple Gem to help you with pushing data into Google Spreadsheets.
|
2
2
|
|
3
|
+
You can install it by calling
|
4
|
+
|
5
|
+
```gem install gsmetrics```
|
6
|
+
|
3
7
|
Development was started so we could run a cron job in regular intervals and push metrics data about Railsonfire to a Google Spreadsheet.
|
4
8
|
|
5
9
|
To start using it simply run
|
6
10
|
|
7
|
-
gsmetrics
|
11
|
+
``` gsmetrics ```
|
8
12
|
|
9
13
|
and follow the instructions given. You will have to create a new google API Project and after
|
10
14
|
finishing all steps get code you can simply paste into your codebase.
|
@@ -21,6 +25,12 @@ worksheet.append(5)
|
|
21
25
|
worksheet.save_row
|
22
26
|
```
|
23
27
|
|
28
|
+
After saving a row all appended data is removed and you can start with a new row.
|
29
|
+
Please make sure there are only empty lines at the end of the spreadsheet as the first empty line is used to write the data.
|
30
|
+
|
31
|
+
|
32
|
+
### Worksheet ID
|
33
|
+
|
24
34
|
You can find out what your worksheet_id is by going to
|
25
35
|
|
26
36
|
https://spreadsheets.google.com/feeds/worksheets/#{your_document_id}/private/full
|
data/gsmetrics.gemspec
CHANGED
data/lib/gsmetrics.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
require "
|
1
|
+
require "gsmetrics/gsmetrics"
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gsmetrics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -30,8 +30,8 @@ files:
|
|
30
30
|
- Rakefile
|
31
31
|
- bin/gsmetrics
|
32
32
|
- gsmetrics.gemspec
|
33
|
-
- lib/gem/gsmetrics.rb
|
34
33
|
- lib/gsmetrics.rb
|
34
|
+
- lib/gsmetrics/gsmetrics.rb
|
35
35
|
homepage: http://github.com/flomotlik/gsmetrics
|
36
36
|
licenses: []
|
37
37
|
post_install_message:
|
@@ -46,7 +46,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
46
46
|
version: '0'
|
47
47
|
segments:
|
48
48
|
- 0
|
49
|
-
hash:
|
49
|
+
hash: 4362391559656995454
|
50
50
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|