reward_station-gilman 0.0.7

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.
Files changed (34) hide show
  1. data/.gitignore +5 -0
  2. data/.rspec +1 -0
  3. data/.rvmrc +1 -0
  4. data/Gemfile +9 -0
  5. data/LICENSE +0 -0
  6. data/README.md +228 -0
  7. data/Rakefile +5 -0
  8. data/lib/reward_station.rb +9 -0
  9. data/lib/reward_station/client.rb +210 -0
  10. data/lib/reward_station/errors.rb +33 -0
  11. data/lib/reward_station/responses/award_points.xml +12 -0
  12. data/lib/reward_station/responses/award_points_invalid_token.xml +12 -0
  13. data/lib/reward_station/responses/create_user.xml +34 -0
  14. data/lib/reward_station/responses/create_user_exists.xml +9 -0
  15. data/lib/reward_station/responses/create_user_missing_info.xml +9 -0
  16. data/lib/reward_station/responses/return_point_summary.xml +22 -0
  17. data/lib/reward_station/responses/return_point_summary_invalid_token.xml +12 -0
  18. data/lib/reward_station/responses/return_popular_products.xml +362 -0
  19. data/lib/reward_station/responses/return_popular_products_invalid_token.xml +10 -0
  20. data/lib/reward_station/responses/return_token.xml +10 -0
  21. data/lib/reward_station/responses/return_token_invalid.xml +10 -0
  22. data/lib/reward_station/responses/return_user.xml +35 -0
  23. data/lib/reward_station/responses/return_user_invalid_token.xml +10 -0
  24. data/lib/reward_station/responses/return_user_invalid_user.xml +10 -0
  25. data/lib/reward_station/stub_client.rb +22 -0
  26. data/lib/reward_station/stub_response.rb +45 -0
  27. data/lib/reward_station/version.rb +3 -0
  28. data/lib/saml/auth_response.rb +176 -0
  29. data/lib/wsdl/reward_services.xml +511 -0
  30. data/reward_station.gemspec +25 -0
  31. data/spec/reward_station/service_spec.rb +351 -0
  32. data/spec/savon_helper.rb +82 -0
  33. data/spec/spec_helper.rb +13 -0
  34. metadata +132 -0
@@ -0,0 +1,13 @@
1
+ require 'bundler'
2
+ Bundler.setup
3
+
4
+ require 'reward_station'
5
+
6
+ require 'savon_helper'
7
+
8
+ RSpec.configure do |config|
9
+ config.mock_with :rspec
10
+ config.include Savon::Macros
11
+ end
12
+
13
+
metadata ADDED
@@ -0,0 +1,132 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: reward_station-gilman
3
+ version: !ruby/object:Gem::Version
4
+ hash: 17
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 7
10
+ version: 0.0.7
11
+ platform: ruby
12
+ authors:
13
+ - Stepan Filatov
14
+ - Cloud Castle Inc.
15
+ autorequire:
16
+ bindir: bin
17
+ cert_chain: []
18
+
19
+ date: 2011-08-16 00:00:00 -04:00
20
+ default_executable:
21
+ dependencies:
22
+ - !ruby/object:Gem::Dependency
23
+ name: savon
24
+ prerelease: false
25
+ requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ hash: 55
31
+ segments:
32
+ - 0
33
+ - 9
34
+ - 6
35
+ version: 0.9.6
36
+ type: :runtime
37
+ version_requirements: *id001
38
+ - !ruby/object:Gem::Dependency
39
+ name: ruby-saml-bekk
40
+ prerelease: false
41
+ requirement: &id002 !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ hash: 21
47
+ segments:
48
+ - 0
49
+ - 3
50
+ - 3
51
+ version: 0.3.3
52
+ type: :runtime
53
+ version_requirements: *id002
54
+ description: ""
55
+ email:
56
+ - filatov.st@gmail.com
57
+ executables: []
58
+
59
+ extensions: []
60
+
61
+ extra_rdoc_files: []
62
+
63
+ files:
64
+ - .gitignore
65
+ - .rspec
66
+ - .rvmrc
67
+ - Gemfile
68
+ - LICENSE
69
+ - README.md
70
+ - Rakefile
71
+ - lib/reward_station.rb
72
+ - lib/reward_station/client.rb
73
+ - lib/reward_station/errors.rb
74
+ - lib/reward_station/responses/award_points.xml
75
+ - lib/reward_station/responses/award_points_invalid_token.xml
76
+ - lib/reward_station/responses/create_user.xml
77
+ - lib/reward_station/responses/create_user_exists.xml
78
+ - lib/reward_station/responses/create_user_missing_info.xml
79
+ - lib/reward_station/responses/return_point_summary.xml
80
+ - lib/reward_station/responses/return_point_summary_invalid_token.xml
81
+ - lib/reward_station/responses/return_popular_products.xml
82
+ - lib/reward_station/responses/return_popular_products_invalid_token.xml
83
+ - lib/reward_station/responses/return_token.xml
84
+ - lib/reward_station/responses/return_token_invalid.xml
85
+ - lib/reward_station/responses/return_user.xml
86
+ - lib/reward_station/responses/return_user_invalid_token.xml
87
+ - lib/reward_station/responses/return_user_invalid_user.xml
88
+ - lib/reward_station/stub_client.rb
89
+ - lib/reward_station/stub_response.rb
90
+ - lib/reward_station/version.rb
91
+ - lib/saml/auth_response.rb
92
+ - lib/wsdl/reward_services.xml
93
+ - reward_station.gemspec
94
+ - spec/reward_station/service_spec.rb
95
+ - spec/savon_helper.rb
96
+ - spec/spec_helper.rb
97
+ has_rdoc: true
98
+ homepage: https://github.com/cloudcastle/reward_station
99
+ licenses: []
100
+
101
+ post_install_message:
102
+ rdoc_options: []
103
+
104
+ require_paths:
105
+ - lib
106
+ required_ruby_version: !ruby/object:Gem::Requirement
107
+ none: false
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ hash: 3
112
+ segments:
113
+ - 0
114
+ version: "0"
115
+ required_rubygems_version: !ruby/object:Gem::Requirement
116
+ none: false
117
+ requirements:
118
+ - - ">="
119
+ - !ruby/object:Gem::Version
120
+ hash: 3
121
+ segments:
122
+ - 0
123
+ version: "0"
124
+ requirements: []
125
+
126
+ rubyforge_project: reward_station
127
+ rubygems_version: 1.6.2
128
+ signing_key:
129
+ specification_version: 3
130
+ summary: Reward Station is a client library for rewardstation.com
131
+ test_files: []
132
+