Amunds-rpx_now 0.5.8
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +23 -0
- data/MIGRATION +9 -0
- data/README.markdown +107 -0
- data/Rakefile +28 -0
- data/VERSION.yml +4 -0
- data/certs/ssl_cert.pem +3154 -0
- data/init.rb +2 -0
- data/lib/rpx_now.rb +185 -0
- data/lib/rpx_now/contacts_collection.rb +19 -0
- data/lib/rpx_now/user_integration.rb +7 -0
- data/lib/rpx_now/user_proxy.rb +19 -0
- data/rpx_now.gemspec +57 -0
- data/spec/fixtures/get_contacts_response.json +58 -0
- data/spec/rpx_now/contacts_collection_spec.rb +32 -0
- data/spec/rpx_now/user_proxy_spec.rb +31 -0
- data/spec/rpx_now_spec.rb +263 -0
- data/spec/spec_helper.rb +20 -0
- metadata +82 -0
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# ---- requirements
|
2
|
+
require 'rubygems'
|
3
|
+
require 'spec'
|
4
|
+
require 'mocha'
|
5
|
+
|
6
|
+
$LOAD_PATH << File.expand_path("../lib", File.dirname(__FILE__))
|
7
|
+
|
8
|
+
# ---- setup environment/plugin
|
9
|
+
require File.expand_path("../init", File.dirname(__FILE__))
|
10
|
+
API_KEY = '4b339169026742245b754fa338b9b0aebbd0a733'
|
11
|
+
API_VERSION = RPXNow.api_version
|
12
|
+
|
13
|
+
# ---- rspec
|
14
|
+
Spec::Runner.configure do |config|
|
15
|
+
config.mock_with :mocha
|
16
|
+
config.before :each do
|
17
|
+
RPXNow.api_key = API_KEY
|
18
|
+
RPXNow.api_version = API_VERSION
|
19
|
+
end
|
20
|
+
end
|
metadata
ADDED
@@ -0,0 +1,82 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: Amunds-rpx_now
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.5.8
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Michael Grosser
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-06-21 00:00:00 -07:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: activesupport
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "0"
|
24
|
+
version:
|
25
|
+
description:
|
26
|
+
email: grosser.michael@gmail.com
|
27
|
+
executables: []
|
28
|
+
|
29
|
+
extensions: []
|
30
|
+
|
31
|
+
extra_rdoc_files:
|
32
|
+
- README.markdown
|
33
|
+
files:
|
34
|
+
- CHANGELOG
|
35
|
+
- MIGRATION
|
36
|
+
- README.markdown
|
37
|
+
- Rakefile
|
38
|
+
- VERSION.yml
|
39
|
+
- certs/ssl_cert.pem
|
40
|
+
- init.rb
|
41
|
+
- lib/rpx_now.rb
|
42
|
+
- lib/rpx_now/contacts_collection.rb
|
43
|
+
- lib/rpx_now/user_integration.rb
|
44
|
+
- lib/rpx_now/user_proxy.rb
|
45
|
+
- rpx_now.gemspec
|
46
|
+
- spec/fixtures/get_contacts_response.json
|
47
|
+
- spec/rpx_now/contacts_collection_spec.rb
|
48
|
+
- spec/rpx_now/user_proxy_spec.rb
|
49
|
+
- spec/rpx_now_spec.rb
|
50
|
+
- spec/spec_helper.rb
|
51
|
+
has_rdoc: false
|
52
|
+
homepage: http://github.com/grosser/rpx_now
|
53
|
+
licenses:
|
54
|
+
post_install_message:
|
55
|
+
rdoc_options:
|
56
|
+
- --charset=UTF-8
|
57
|
+
require_paths:
|
58
|
+
- lib
|
59
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: "0"
|
64
|
+
version:
|
65
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: "0"
|
70
|
+
version:
|
71
|
+
requirements: []
|
72
|
+
|
73
|
+
rubyforge_project:
|
74
|
+
rubygems_version: 1.3.5
|
75
|
+
signing_key:
|
76
|
+
specification_version: 3
|
77
|
+
summary: Helper to simplify RPX Now user login/creation
|
78
|
+
test_files:
|
79
|
+
- spec/rpx_now_spec.rb
|
80
|
+
- spec/rpx_now/contacts_collection_spec.rb
|
81
|
+
- spec/rpx_now/user_proxy_spec.rb
|
82
|
+
- spec/spec_helper.rb
|