legato 0.0.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.
- data/.gitignore +5 -0
- data/.rspec +2 -0
- data/Gemfile +4 -0
- data/README.md +171 -0
- data/Rakefile +31 -0
- data/legato.gemspec +29 -0
- data/lib/legato/core_ext/array.rb +13 -0
- data/lib/legato/core_ext/string.rb +49 -0
- data/lib/legato/filter.rb +57 -0
- data/lib/legato/filter_set.rb +27 -0
- data/lib/legato/list_parameter.rb +29 -0
- data/lib/legato/management/account.rb +31 -0
- data/lib/legato/management/finder.rb +14 -0
- data/lib/legato/management/profile.rb +33 -0
- data/lib/legato/management/web_property.rb +28 -0
- data/lib/legato/model.rb +42 -0
- data/lib/legato/profile_methods.rb +16 -0
- data/lib/legato/query.rb +183 -0
- data/lib/legato/reports.rb +16 -0
- data/lib/legato/request.rb +21 -0
- data/lib/legato/response.rb +91 -0
- data/lib/legato/result_set.rb +21 -0
- data/lib/legato/user.rb +34 -0
- data/lib/legato/version.rb +3 -0
- data/lib/legato.rb +51 -0
- data/spec/cassettes/management/accounts.json +1 -0
- data/spec/cassettes/management/profiles.json +1 -0
- data/spec/cassettes/management/web_properties.json +1 -0
- data/spec/cassettes/model/basic.json +1 -0
- data/spec/fixtures/simple_response.json +1 -0
- data/spec/integration/management_spec.rb +34 -0
- data/spec/integration/model_spec.rb +20 -0
- data/spec/lib/legato/filter_spec.rb +49 -0
- data/spec/lib/legato/list_parameter_spec.rb +35 -0
- data/spec/lib/legato/management/account_spec.rb +39 -0
- data/spec/lib/legato/management/profile_spec.rb +45 -0
- data/spec/lib/legato/management/web_property_spec.rb +34 -0
- data/spec/lib/legato/model_spec.rb +77 -0
- data/spec/lib/legato/query_spec.rb +324 -0
- data/spec/lib/legato/response_spec.rb +15 -0
- data/spec/lib/legato/user_spec.rb +38 -0
- data/spec/spec_helper.rb +23 -0
- data/spec/support/examples/management_finder.rb +18 -0
- data/spec/support/macros/oauth.rb +26 -0
- metadata +182 -0
metadata
ADDED
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: legato
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
prerelease:
|
|
6
|
+
platform: ruby
|
|
7
|
+
authors:
|
|
8
|
+
- Tony Pitale
|
|
9
|
+
autorequire:
|
|
10
|
+
bindir: bin
|
|
11
|
+
cert_chain: []
|
|
12
|
+
date: 2012-01-14 00:00:00.000000000Z
|
|
13
|
+
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
15
|
+
name: rspec
|
|
16
|
+
requirement: &70178713324740 !ruby/object:Gem::Requirement
|
|
17
|
+
none: false
|
|
18
|
+
requirements:
|
|
19
|
+
- - ! '>='
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: '0'
|
|
22
|
+
type: :development
|
|
23
|
+
prerelease: false
|
|
24
|
+
version_requirements: *70178713324740
|
|
25
|
+
- !ruby/object:Gem::Dependency
|
|
26
|
+
name: mocha
|
|
27
|
+
requirement: &70178713323760 !ruby/object:Gem::Requirement
|
|
28
|
+
none: false
|
|
29
|
+
requirements:
|
|
30
|
+
- - ! '>='
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '0'
|
|
33
|
+
type: :development
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: *70178713323760
|
|
36
|
+
- !ruby/object:Gem::Dependency
|
|
37
|
+
name: bourne
|
|
38
|
+
requirement: &70178713322240 !ruby/object:Gem::Requirement
|
|
39
|
+
none: false
|
|
40
|
+
requirements:
|
|
41
|
+
- - ! '>='
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: '0'
|
|
44
|
+
type: :development
|
|
45
|
+
prerelease: false
|
|
46
|
+
version_requirements: *70178713322240
|
|
47
|
+
- !ruby/object:Gem::Dependency
|
|
48
|
+
name: vcr
|
|
49
|
+
requirement: &70178713320200 !ruby/object:Gem::Requirement
|
|
50
|
+
none: false
|
|
51
|
+
requirements:
|
|
52
|
+
- - =
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: 2.0.0.beta2
|
|
55
|
+
type: :development
|
|
56
|
+
prerelease: false
|
|
57
|
+
version_requirements: *70178713320200
|
|
58
|
+
- !ruby/object:Gem::Dependency
|
|
59
|
+
name: fakeweb
|
|
60
|
+
requirement: &70178713319120 !ruby/object:Gem::Requirement
|
|
61
|
+
none: false
|
|
62
|
+
requirements:
|
|
63
|
+
- - ! '>='
|
|
64
|
+
- !ruby/object:Gem::Version
|
|
65
|
+
version: '0'
|
|
66
|
+
type: :development
|
|
67
|
+
prerelease: false
|
|
68
|
+
version_requirements: *70178713319120
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: oauth2
|
|
71
|
+
requirement: &70178713318020 !ruby/object:Gem::Requirement
|
|
72
|
+
none: false
|
|
73
|
+
requirements:
|
|
74
|
+
- - ! '>='
|
|
75
|
+
- !ruby/object:Gem::Version
|
|
76
|
+
version: '0'
|
|
77
|
+
type: :runtime
|
|
78
|
+
prerelease: false
|
|
79
|
+
version_requirements: *70178713318020
|
|
80
|
+
description: Access the Google Analytics Core Reporting and Management APIs with Ruby.
|
|
81
|
+
Create models for metrics and dimensions. Filter your data to tell you what you
|
|
82
|
+
need.
|
|
83
|
+
email:
|
|
84
|
+
- tpitale@gmail.com
|
|
85
|
+
executables: []
|
|
86
|
+
extensions: []
|
|
87
|
+
extra_rdoc_files: []
|
|
88
|
+
files:
|
|
89
|
+
- .gitignore
|
|
90
|
+
- .rspec
|
|
91
|
+
- Gemfile
|
|
92
|
+
- README.md
|
|
93
|
+
- Rakefile
|
|
94
|
+
- legato.gemspec
|
|
95
|
+
- lib/legato.rb
|
|
96
|
+
- lib/legato/core_ext/array.rb
|
|
97
|
+
- lib/legato/core_ext/string.rb
|
|
98
|
+
- lib/legato/filter.rb
|
|
99
|
+
- lib/legato/filter_set.rb
|
|
100
|
+
- lib/legato/list_parameter.rb
|
|
101
|
+
- lib/legato/management/account.rb
|
|
102
|
+
- lib/legato/management/finder.rb
|
|
103
|
+
- lib/legato/management/profile.rb
|
|
104
|
+
- lib/legato/management/web_property.rb
|
|
105
|
+
- lib/legato/model.rb
|
|
106
|
+
- lib/legato/profile_methods.rb
|
|
107
|
+
- lib/legato/query.rb
|
|
108
|
+
- lib/legato/reports.rb
|
|
109
|
+
- lib/legato/request.rb
|
|
110
|
+
- lib/legato/response.rb
|
|
111
|
+
- lib/legato/result_set.rb
|
|
112
|
+
- lib/legato/user.rb
|
|
113
|
+
- lib/legato/version.rb
|
|
114
|
+
- spec/cassettes/management/accounts.json
|
|
115
|
+
- spec/cassettes/management/profiles.json
|
|
116
|
+
- spec/cassettes/management/web_properties.json
|
|
117
|
+
- spec/cassettes/model/basic.json
|
|
118
|
+
- spec/fixtures/simple_response.json
|
|
119
|
+
- spec/integration/management_spec.rb
|
|
120
|
+
- spec/integration/model_spec.rb
|
|
121
|
+
- spec/lib/legato/filter_spec.rb
|
|
122
|
+
- spec/lib/legato/list_parameter_spec.rb
|
|
123
|
+
- spec/lib/legato/management/account_spec.rb
|
|
124
|
+
- spec/lib/legato/management/profile_spec.rb
|
|
125
|
+
- spec/lib/legato/management/web_property_spec.rb
|
|
126
|
+
- spec/lib/legato/model_spec.rb
|
|
127
|
+
- spec/lib/legato/query_spec.rb
|
|
128
|
+
- spec/lib/legato/response_spec.rb
|
|
129
|
+
- spec/lib/legato/user_spec.rb
|
|
130
|
+
- spec/spec_helper.rb
|
|
131
|
+
- spec/support/examples/management_finder.rb
|
|
132
|
+
- spec/support/macros/oauth.rb
|
|
133
|
+
homepage: http://github.com/tpitale/legato
|
|
134
|
+
licenses: []
|
|
135
|
+
post_install_message:
|
|
136
|
+
rdoc_options: []
|
|
137
|
+
require_paths:
|
|
138
|
+
- lib
|
|
139
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
140
|
+
none: false
|
|
141
|
+
requirements:
|
|
142
|
+
- - ! '>='
|
|
143
|
+
- !ruby/object:Gem::Version
|
|
144
|
+
version: '0'
|
|
145
|
+
segments:
|
|
146
|
+
- 0
|
|
147
|
+
hash: 4156627960004650884
|
|
148
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
149
|
+
none: false
|
|
150
|
+
requirements:
|
|
151
|
+
- - ! '>='
|
|
152
|
+
- !ruby/object:Gem::Version
|
|
153
|
+
version: '0'
|
|
154
|
+
segments:
|
|
155
|
+
- 0
|
|
156
|
+
hash: 4156627960004650884
|
|
157
|
+
requirements: []
|
|
158
|
+
rubyforge_project: legato
|
|
159
|
+
rubygems_version: 1.8.6
|
|
160
|
+
signing_key:
|
|
161
|
+
specification_version: 3
|
|
162
|
+
summary: Access the Google Analytics API with Ruby
|
|
163
|
+
test_files:
|
|
164
|
+
- spec/cassettes/management/accounts.json
|
|
165
|
+
- spec/cassettes/management/profiles.json
|
|
166
|
+
- spec/cassettes/management/web_properties.json
|
|
167
|
+
- spec/cassettes/model/basic.json
|
|
168
|
+
- spec/fixtures/simple_response.json
|
|
169
|
+
- spec/integration/management_spec.rb
|
|
170
|
+
- spec/integration/model_spec.rb
|
|
171
|
+
- spec/lib/legato/filter_spec.rb
|
|
172
|
+
- spec/lib/legato/list_parameter_spec.rb
|
|
173
|
+
- spec/lib/legato/management/account_spec.rb
|
|
174
|
+
- spec/lib/legato/management/profile_spec.rb
|
|
175
|
+
- spec/lib/legato/management/web_property_spec.rb
|
|
176
|
+
- spec/lib/legato/model_spec.rb
|
|
177
|
+
- spec/lib/legato/query_spec.rb
|
|
178
|
+
- spec/lib/legato/response_spec.rb
|
|
179
|
+
- spec/lib/legato/user_spec.rb
|
|
180
|
+
- spec/spec_helper.rb
|
|
181
|
+
- spec/support/examples/management_finder.rb
|
|
182
|
+
- spec/support/macros/oauth.rb
|