google_api 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,4 +1,10 @@
1
- Google Analytics [![Build Status](https://secure.travis-ci.org/ondra-m/google_api.png)](http://travis-ci.org/ondra-m/google_api)
1
+ Google Api [![Build Status](https://secure.travis-ci.org/ondra-m/google_api.png)](http://travis-ci.org/ondra-m/google_api)
2
+ ==========
3
+
4
+ Analytics - v1.0.0<br>
5
+ Calendar - will be soon
6
+
7
+ Google Analytics
2
8
  ================
3
9
 
4
10
  <a href="#examples">examples</a>
@@ -26,6 +32,8 @@ Or install it yourself as:
26
32
  Configuration
27
33
  -------------
28
34
 
35
+ First you must create project at <a href="https://code.google.com/apis/console" target="_blank">google console</a>.
36
+
29
37
  ```ruby
30
38
  GoogleApi.configure do
31
39
  client_id "1"
@@ -102,7 +110,7 @@ Cache must have these methods:
102
110
  Session
103
111
  -------
104
112
 
105
- There is a 3 way for starting sesssion.
113
+ There is a 3 way for starting sesssion. Client login with username and password is deprecated.
106
114
 
107
115
  ### By cert file
108
116
 
@@ -212,7 +220,7 @@ GoogleApi::Ga::Goal
212
220
  #### Segment
213
221
 
214
222
  ```ruby
215
- # Variables: segmentId, definition
223
+ # Variables: id, name, created, updated, segmentId, definition
216
224
  GoogleApi::Ga::Segment
217
225
  ```
218
226
 
@@ -384,7 +392,6 @@ clear and fetch new:<br>
384
392
  Examples
385
393
  --------
386
394
 
387
-
388
395
  ```ruby
389
396
  # Start session
390
397
  # =============
@@ -26,6 +26,8 @@ module GoogleApi
26
26
  if to_return.nil?
27
27
  raise GoogleApi::CanBeNilError, "#{key} can be nil."
28
28
  end
29
+
30
+ to_return
29
31
  end
30
32
  METHOD
31
33
  end
@@ -1,3 +1,3 @@
1
1
  module GoogleApi
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-20 00:00:00.000000000 Z
12
+ date: 2012-08-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-api-client