llremote 0.6.2 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/lib/l_l_remote/path.rb +19 -0
- data/lib/l_l_remote/step.rb +19 -0
- data/lib/l_l_remote/version.rb +2 -2
- data/lib/l_l_remote.rb +6 -0
- metadata +7 -5
data/CHANGELOG
CHANGED
@@ -0,0 +1,19 @@
|
|
1
|
+
#--#
|
2
|
+
# Copyright: (c) 2009 The LogiLogi Foundation <foundation@logilogi.org>
|
3
|
+
#
|
4
|
+
# License:
|
5
|
+
# This file is part of the LLRemote Library. LLRemote is Free
|
6
|
+
# Software. You can run/distribute/modify LLRemote under the terms
|
7
|
+
# of the GNU Lesser General Public License version 3. This license
|
8
|
+
# states that you can use LLRemote in applications that are not Free
|
9
|
+
# Software but LLRemote itself remains Free Software. (LICENSE contains
|
10
|
+
# the full text of the legally binding license).
|
11
|
+
#++#
|
12
|
+
|
13
|
+
class LLRemote::Path < ActiveResource::Base
|
14
|
+
def self.setup
|
15
|
+
self.site = LLRemote.server_url + "/do/"
|
16
|
+
self.user = LLRemote.access_token
|
17
|
+
self.element_name = "path"
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
#--#
|
2
|
+
# Copyright: (c) 2009 The LogiLogi Foundation <foundation@logilogi.org>
|
3
|
+
#
|
4
|
+
# License:
|
5
|
+
# This file is part of the LLRemote Library. LLRemote is Free
|
6
|
+
# Software. You can run/distribute/modify LLRemote under the terms
|
7
|
+
# of the GNU Lesser General Public License version 3. This license
|
8
|
+
# states that you can use LLRemote in applications that are not Free
|
9
|
+
# Software but LLRemote itself remains Free Software. (LICENSE contains
|
10
|
+
# the full text of the legally binding license).
|
11
|
+
#++#
|
12
|
+
|
13
|
+
class LLRemote::Step < ActiveResource::Base
|
14
|
+
def self.setup
|
15
|
+
self.site = LLRemote.server_url + "/do/"
|
16
|
+
self.user = LLRemote.access_token
|
17
|
+
self.element_name = "step"
|
18
|
+
end
|
19
|
+
end
|
data/lib/l_l_remote/version.rb
CHANGED
data/lib/l_l_remote.rb
CHANGED
@@ -13,9 +13,11 @@
|
|
13
13
|
# LLRemote allows you to save logis remotely.
|
14
14
|
|
15
15
|
require 'rubygems'
|
16
|
+
gem 'activeresource'
|
16
17
|
gem 'ratom'
|
17
18
|
require 'atom'
|
18
19
|
require 'atom/pub'
|
20
|
+
require 'active_resource'
|
19
21
|
|
20
22
|
$:.unshift(File.dirname(__FILE__)) unless
|
21
23
|
$:.include?(File.dirname(__FILE__)) || $:.include?(
|
@@ -54,6 +56,8 @@ FUN
|
|
54
56
|
else
|
55
57
|
LLRemote.server_url = "http://en.logilogi.org"
|
56
58
|
end
|
59
|
+
LLRemote::Path.setup
|
60
|
+
LLRemote::Step.setup
|
57
61
|
end
|
58
62
|
|
59
63
|
# Loads a ratom Atom::Entry for the given link.
|
@@ -71,3 +75,5 @@ FUN
|
|
71
75
|
end
|
72
76
|
|
73
77
|
require 'l_l_remote/logi'
|
78
|
+
require 'l_l_remote/path'
|
79
|
+
require 'l_l_remote/step'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: llremote
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wybo Wiersma
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-10-23 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -27,13 +27,15 @@ files:
|
|
27
27
|
- README
|
28
28
|
- CHANGELOG
|
29
29
|
- LICENSE
|
30
|
-
- lib/l_l_remote/
|
30
|
+
- lib/l_l_remote/step.rb
|
31
31
|
- lib/l_l_remote/logi.rb
|
32
|
+
- lib/l_l_remote/version.rb
|
33
|
+
- lib/l_l_remote/path.rb
|
32
34
|
- lib/l_l_remote.rb
|
33
35
|
- lib/llremote.rb
|
34
|
-
- test/logi_test.rb
|
35
36
|
- test/l_l_remote_test.rb
|
36
37
|
- test/test_helper.rb
|
38
|
+
- test/logi_test.rb
|
37
39
|
has_rdoc: true
|
38
40
|
homepage: http://llremote.rubyforge.org
|
39
41
|
licenses: []
|
@@ -58,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
58
60
|
requirements:
|
59
61
|
- none
|
60
62
|
rubyforge_project: llremote
|
61
|
-
rubygems_version: 1.3.
|
63
|
+
rubygems_version: 1.3.5
|
62
64
|
signing_key:
|
63
65
|
specification_version: 3
|
64
66
|
summary: Your remote control for LogiLogi.
|