looker-sdk 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +52 -0
  3. data/.ruby-gemset +1 -0
  4. data/.travis.yml +16 -0
  5. data/Gemfile +22 -0
  6. data/LICENSE +21 -0
  7. data/Rakefile +37 -0
  8. data/authentication.md +104 -0
  9. data/examples/add_delete_users.rb +94 -0
  10. data/examples/change_credentials_email_address_for_users.rb +23 -0
  11. data/examples/create_credentials_email_for_users.rb +19 -0
  12. data/examples/delete_all_user_sessions.rb +15 -0
  13. data/examples/delete_credentials_google_for_users.rb +19 -0
  14. data/examples/generate_password_reset_tokens_for_users.rb +19 -0
  15. data/examples/ldap_roles_test.rb +50 -0
  16. data/examples/me.rb +3 -0
  17. data/examples/refresh_user_notification_addresses.rb +10 -0
  18. data/examples/roles_and_users_with_permission.rb +22 -0
  19. data/examples/sdk_setup.rb +21 -0
  20. data/examples/streaming_downloads.rb +20 -0
  21. data/examples/users_with_credentials_email.rb +6 -0
  22. data/examples/users_with_credentials_google.rb +8 -0
  23. data/examples/users_with_credentials_google_without_credentials_email.rb +6 -0
  24. data/lib/looker-sdk.rb +32 -0
  25. data/lib/looker-sdk/authentication.rb +104 -0
  26. data/lib/looker-sdk/client.rb +445 -0
  27. data/lib/looker-sdk/client/dynamic.rb +107 -0
  28. data/lib/looker-sdk/configurable.rb +116 -0
  29. data/lib/looker-sdk/default.rb +148 -0
  30. data/lib/looker-sdk/error.rb +235 -0
  31. data/lib/looker-sdk/rate_limit.rb +33 -0
  32. data/lib/looker-sdk/response/raise_error.rb +20 -0
  33. data/lib/looker-sdk/sawyer_patch.rb +33 -0
  34. data/lib/looker-sdk/version.rb +7 -0
  35. data/looker-sdk.gemspec +27 -0
  36. data/readme.md +117 -0
  37. data/shell/.gitignore +41 -0
  38. data/shell/Gemfile +6 -0
  39. data/shell/readme.md +18 -0
  40. data/shell/shell.rb +37 -0
  41. data/streaming.md +59 -0
  42. data/test/helper.rb +46 -0
  43. data/test/looker/swagger.json +1998 -0
  44. data/test/looker/test_client.rb +258 -0
  45. data/test/looker/test_dynamic_client.rb +158 -0
  46. data/test/looker/test_dynamic_client_agent.rb +131 -0
  47. data/test/looker/user.json +1 -0
  48. metadata +107 -0
@@ -0,0 +1 @@
1
+ {"first_name" : "Joe", "last_name" : "User"}
metadata ADDED
@@ -0,0 +1,107 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: looker-sdk
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.5
5
+ platform: ruby
6
+ authors:
7
+ - Looker
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-03-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - '='
17
+ - !ruby/object:Gem::Version
18
+ version: '0.6'
19
+ name: sawyer
20
+ prerelease: false
21
+ type: :runtime
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: '0.6'
27
+ description: Use this SDK to access the Looker API. The Looker API provides functions to perform administrative tasks such as provisioning users, configuring database connections, and so on. It also enables you to leverage the Looker data analytics engine to fetch data or render visualizations defined in your Looker data models. For more information, see https://looker.com.
28
+ email: support@looker.com
29
+ executables: []
30
+ extensions: []
31
+ extra_rdoc_files: []
32
+ files:
33
+ - .gitignore
34
+ - .ruby-gemset
35
+ - .travis.yml
36
+ - Gemfile
37
+ - LICENSE
38
+ - Rakefile
39
+ - authentication.md
40
+ - examples/.netrc
41
+ - examples/add_delete_users.rb
42
+ - examples/change_credentials_email_address_for_users.rb
43
+ - examples/create_credentials_email_for_users.rb
44
+ - examples/delete_all_user_sessions.rb
45
+ - examples/delete_credentials_google_for_users.rb
46
+ - examples/generate_password_reset_tokens_for_users.rb
47
+ - examples/ldap_roles_test.rb
48
+ - examples/me.rb
49
+ - examples/refresh_user_notification_addresses.rb
50
+ - examples/roles_and_users_with_permission.rb
51
+ - examples/sdk_setup.rb
52
+ - examples/streaming_downloads.rb
53
+ - examples/users_with_credentials_email.rb
54
+ - examples/users_with_credentials_google.rb
55
+ - examples/users_with_credentials_google_without_credentials_email.rb
56
+ - lib/looker-sdk.rb
57
+ - lib/looker-sdk/authentication.rb
58
+ - lib/looker-sdk/client.rb
59
+ - lib/looker-sdk/client/dynamic.rb
60
+ - lib/looker-sdk/configurable.rb
61
+ - lib/looker-sdk/default.rb
62
+ - lib/looker-sdk/error.rb
63
+ - lib/looker-sdk/rate_limit.rb
64
+ - lib/looker-sdk/response/raise_error.rb
65
+ - lib/looker-sdk/sawyer_patch.rb
66
+ - lib/looker-sdk/version.rb
67
+ - looker-sdk.gemspec
68
+ - readme.md
69
+ - shell/.gitignore
70
+ - shell/.netrc
71
+ - shell/Gemfile
72
+ - shell/readme.md
73
+ - shell/shell.rb
74
+ - streaming.md
75
+ - test/fixtures/.netrc
76
+ - test/helper.rb
77
+ - test/looker/swagger.json
78
+ - test/looker/test_client.rb
79
+ - test/looker/test_dynamic_client.rb
80
+ - test/looker/test_dynamic_client_agent.rb
81
+ - test/looker/user.json
82
+ homepage: https://github.com/looker/looker-sdk-ruby
83
+ licenses:
84
+ - MIT
85
+ metadata: {}
86
+ post_install_message:
87
+ rdoc_options: []
88
+ require_paths:
89
+ - lib
90
+ required_ruby_version: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - '>='
93
+ - !ruby/object:Gem::Version
94
+ version: 1.9.3
95
+ required_rubygems_version: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - '>='
98
+ - !ruby/object:Gem::Version
99
+ version: '0'
100
+ requirements:
101
+ - Looker version 4.0 or later
102
+ rubyforge_project:
103
+ rubygems_version: 2.4.5
104
+ signing_key:
105
+ specification_version: 4
106
+ summary: Looker Ruby SDK
107
+ test_files: []