llremote 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,14 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ tmp
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in llremote.gemspec
4
+ gemspec
data/README.md ADDED
@@ -0,0 +1,64 @@
1
+ # LogiLogi Remote
2
+ "Your remote control for LogiLogi"
3
+
4
+ Allows you to update and create Logis on http://www.LogiLogi.org from
5
+ any application.
6
+
7
+ LLRemote is a library by the LogiLogi Foundation
8
+ (http://foundation.logilogi.org).
9
+
10
+ ## Usage
11
+
12
+ First require it.
13
+
14
+ $ irb
15
+
16
+ > require 'rubygems'
17
+ > require 'llremote'
18
+
19
+ First set it up for connecting
20
+
21
+ > LLRemote.setup(:access_token => <your API access token>)
22
+
23
+ Then initialize the remote logi
24
+
25
+ > logi = LLRemote::Logi.new(
26
+ > :link => "Interesting/New",
27
+ > :title => "My shiny new Logi",
28
+ > :body => "New things come about...")
29
+
30
+ And save it.
31
+
32
+ > logi.save
33
+
34
+ It's that easy.
35
+
36
+ ## Installation
37
+
38
+ Add this line to your application's Gemfile:
39
+
40
+ gem 'llremote'
41
+
42
+ And then execute:
43
+
44
+ $ bundle
45
+
46
+ Or install it yourself as:
47
+
48
+ $ gem install llremote
49
+
50
+ Feel free to report issues and to ask questions. For the latest news on
51
+ LLRemote:
52
+
53
+ * http://foundation.logilogi.org/tags/LLRemote
54
+
55
+ ## Contributing
56
+
57
+ If you wish to contribute, please create a pull-request and remember
58
+ to update the corresponding unit test(s).
59
+
60
+ 1. Fork it
61
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
62
+ 3. Commit your changes (`git commit -am 'Added some feature'`)
63
+ 4. Push to the branch (`git push origin my-new-feature`)
64
+ 5. Create new Pull Request
@@ -0,0 +1,7 @@
1
+ class LLRemote::Path < ActiveResource::Base
2
+ def self.setup
3
+ self.site = LLRemote.server_url + '/do/'
4
+ self.user = LLRemote.access_token
5
+ self.element_name = 'path'
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ class LLRemote::Step < ActiveResource::Base
2
+ def self.setup
3
+ self.site = LLRemote.server_url + '/do/'
4
+ self.user = LLRemote.access_token
5
+ self.element_name = 'step'
6
+ end
7
+ end
@@ -1,3 +1,3 @@
1
1
  class LLRemote
2
- VERSION = '0.7.1'
2
+ VERSION = '0.7.2'
3
3
  end
data/llremote.gemspec ADDED
@@ -0,0 +1,23 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require File.expand_path('../lib/l_l_remote/version', __FILE__)
3
+
4
+ Gem::Specification.new do |gem|
5
+ gem.authors = ['Wybo Wiersma']
6
+ gem.email = ['mail@wybowiersma.net']
7
+ gem.description = 'LogiLogi API wrapper that allows you to update and create Logis on http://www.LogiLogi.org from any application.'
8
+ gem.summary = 'A gem wrapping the LogiLogi API'
9
+ gem.homepage = 'http://github.com/wybo/llremote'
10
+
11
+ gem.files = `git ls-files`.split($\)
12
+ gem.test_files = gem.files.grep(%r{^test/test_.*})
13
+ gem.name = 'llremote'
14
+ gem.require_paths = ['lib']
15
+ gem.version = LLRemote::VERSION
16
+
17
+ gem.add_dependency 'activeresource'
18
+ gem.add_dependency 'ratom'
19
+
20
+ gem.add_development_dependency 'rake'
21
+ gem.add_development_dependency 'test-unit'
22
+ gem.add_development_dependency 'require_relative'
23
+ end
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.7.1
4
+ version: 0.7.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -99,13 +99,19 @@ executables: []
99
99
  extensions: []
100
100
  extra_rdoc_files: []
101
101
  files:
102
+ - .gitignore
102
103
  - CHANGELOG
104
+ - Gemfile
103
105
  - LICENSE
106
+ - README.md
104
107
  - Rakefile
105
108
  - lib/l_l_remote.rb
106
109
  - lib/l_l_remote/logi.rb
110
+ - lib/l_l_remote/path.rb
111
+ - lib/l_l_remote/step.rb
107
112
  - lib/l_l_remote/version.rb
108
113
  - lib/llremote.rb
114
+ - llremote.gemspec
109
115
  - test/helper.rb
110
116
  - test/test_l_l_remote.rb
111
117
  - test/test_logi.rb