rhoconnect-rb 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -0
- data/lib/rhoconnect-rb.rb +1 -0
- data/lib/rhoconnect/railtie.rb +8 -0
- data/lib/rhoconnect/version.rb +1 -1
- data/spec/spec_helper.rb +3 -0
- data/tasks/setup.rake +7 -0
- data/templates/rhoconnect.rb +19 -0
- metadata +14 -9
data/Gemfile
CHANGED
data/lib/rhoconnect-rb.rb
CHANGED
data/lib/rhoconnect/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
data/tasks/setup.rake
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
Rhoconnect.configure do |config|
|
2
|
+
# Rhconnect.configure is used to set the url and token to your rhoconnect instance.
|
3
|
+
# If you are connecting to a rhconnect instance provisioned from Heroku the uri and token are already defined. Just leave commented out.
|
4
|
+
|
5
|
+
#config.uri = "http://myrhoconnect-server.com"
|
6
|
+
#config.token = "secrettoken"
|
7
|
+
|
8
|
+
# app_endpoint is the url of this rails app. It is used to tell the rhoconnect instance where this rails app is located. A rest call is sent on the startup of this rails app
|
9
|
+
# which will set the rhoconnect instance to point to this rails app.
|
10
|
+
# If you do not define app_endpoint, you will have to set this variable manually using the rhoconnect console.
|
11
|
+
|
12
|
+
#config.app_endpoint = "http://myapp.heroku.com"
|
13
|
+
|
14
|
+
# authenticate allows you to define your own custom authentication. credentials is a hash = {:login => login, :password => password}. Leave commented out or return true if you do not wish to authenticate yourself.
|
15
|
+
|
16
|
+
#config.authenticate = lambda { |credentials|
|
17
|
+
# return true
|
18
|
+
#}
|
19
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rhoconnect-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 7
|
10
|
+
version: 0.2.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Rhomobile
|
@@ -15,11 +15,12 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-09-02 00:00:00 -07:00
|
19
|
+
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
|
-
name: rest-client
|
22
22
|
prerelease: false
|
23
|
+
type: :runtime
|
23
24
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
24
25
|
none: false
|
25
26
|
requirements:
|
@@ -31,11 +32,11 @@ dependencies:
|
|
31
32
|
- 6
|
32
33
|
- 1
|
33
34
|
version: 1.6.1
|
34
|
-
type: :runtime
|
35
35
|
requirement: *id001
|
36
|
+
name: rest-client
|
36
37
|
- !ruby/object:Gem::Dependency
|
37
|
-
name: json
|
38
38
|
prerelease: false
|
39
|
+
type: :runtime
|
39
40
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
40
41
|
none: false
|
41
42
|
requirements:
|
@@ -47,8 +48,8 @@ dependencies:
|
|
47
48
|
- 4
|
48
49
|
- 6
|
49
50
|
version: 1.4.6
|
50
|
-
type: :runtime
|
51
51
|
requirement: *id002
|
52
|
+
name: json
|
52
53
|
description: Rhoconnect rails plugin
|
53
54
|
email:
|
54
55
|
- support@rhomobile.com
|
@@ -71,6 +72,7 @@ files:
|
|
71
72
|
- lib/rhoconnect/client.rb
|
72
73
|
- lib/rhoconnect/configuration.rb
|
73
74
|
- lib/rhoconnect/endpoints.rb
|
75
|
+
- lib/rhoconnect/railtie.rb
|
74
76
|
- lib/rhoconnect/resource.rb
|
75
77
|
- lib/rhoconnect/version.rb
|
76
78
|
- rhoconnect-rb.gemspec
|
@@ -78,6 +80,9 @@ files:
|
|
78
80
|
- spec/endpoints_spec.rb
|
79
81
|
- spec/resource_spec.rb
|
80
82
|
- spec/spec_helper.rb
|
83
|
+
- tasks/setup.rake
|
84
|
+
- templates/rhoconnect.rb
|
85
|
+
has_rdoc: true
|
81
86
|
homepage: http://rhomobile.com
|
82
87
|
licenses: []
|
83
88
|
|
@@ -107,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
112
|
requirements: []
|
108
113
|
|
109
114
|
rubyforge_project:
|
110
|
-
rubygems_version: 1.
|
115
|
+
rubygems_version: 1.5.3
|
111
116
|
signing_key:
|
112
117
|
specification_version: 3
|
113
118
|
summary: Rhoconnect rails plugin
|