thimbl 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,8 +8,6 @@ GEM
8
8
  echoe (4.3.1)
9
9
  gemcutter
10
10
  rubyforge
11
- fileutils (0.6)
12
- rmagick (>= 2.13.1)
13
11
  gemcutter (0.6.1)
14
12
  json (1.5.1)
15
13
  json_pure (1.5.1)
@@ -20,7 +18,6 @@ GEM
20
18
  net-ssh (>= 1.99.1)
21
19
  net-ssh (2.1.0)
22
20
  rake (0.8.7)
23
- rmagick (2.13.1)
24
21
  ruby-debug (0.10.4)
25
22
  columnize (>= 0.1)
26
23
  ruby-debug-base (~> 0.10.4.0)
@@ -35,7 +32,6 @@ PLATFORMS
35
32
  DEPENDENCIES
36
33
  delorean
37
34
  echoe
38
- fileutils
39
35
  json
40
36
  mocha
41
37
  net-scp
data/README.md CHANGED
@@ -11,6 +11,7 @@ I have follow the style of the [Thimbl Python client](https://github.com/blippy/
11
11
  * fetch
12
12
  * post
13
13
  * print
14
+ * push
14
15
 
15
16
  ## Architecture
16
17
 
@@ -29,10 +30,10 @@ This version is in development, not ready for any production environment.
29
30
  require 'rubygems'
30
31
  require 'thimbl'
31
32
  thimbl =
32
- Thimbl.new(
33
+ Thimbl::Base.new(
33
34
  'plan_path' => '/tmp/plan',
34
35
  'cache_path' => '/tmp/thimbl_cache',
35
- 'user' => 'fguillen@thimblserver.com'
36
+ 'user' => 'fguillen@thimblserver.com',
36
37
  'password' => 'my_thimblserver_password'
37
38
  )
38
39
  thimbl.setup(
@@ -49,6 +50,17 @@ This version is in development, not ready for any production environment.
49
50
  thimbl.post 'My first post'
50
51
  thimbl.push
51
52
 
53
+ ## Shell Command
54
+
55
+ The gem comes with a *shell command*, you can use it like this:
56
+
57
+ thimbl setup ~/thimbl_plan ~/thimbl_cache 'user@thimblserver.com' 'thimblpass'
58
+ thimbl follow 'dk' 'dk@telekommunisten.org'
59
+ thimbl fetch
60
+ thimbl print
61
+ thimbl post "My first message :)"
62
+ thimbl push
63
+
52
64
  ## TODO
53
65
 
54
66
  * Shell script /bin/thimbl
data/Rakefile CHANGED
@@ -2,12 +2,12 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('thimbl', '0.0.2') do |p|
5
+ Echoe.new('thimbl', '0.0.3') do |p|
6
6
  p.description = "Small client for the distributed microbloging protocol: [thimbl](http://www.thimbl.net/)"
7
7
  p.url = "http://github.com/fguillen/ThimblClient"
8
8
  p.author = "Fernando Guillen"
9
9
  p.email = "fguillen.mail@gmail.com"
10
10
  p.ignore_pattern = ['etc/*']
11
11
  p.development_dependencies = ['mocha', 'ruby-debug', 'delorean']
12
- p.runtime_dependencies = ['json', 'net-scp', 'fileutils']
12
+ p.runtime_dependencies = ['json', 'net-scp']
13
13
  end
data/bin/thimbl CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  # Use:
4
- # thimbl setup ~/thimbl_plan ~/thimbl_cache 'user@thimblserver.com', 'thimblpass'
4
+ # thimbl setup ~/thimbl_plan ~/thimbl_cache 'user@thimblserver.com' 'thimblpass'
5
5
  # thimbl follow 'dk' 'dk@telekommunisten.org'
6
6
  # thimbl fetch
7
7
  # thimbl print
@@ -5,27 +5,28 @@
5
5
  # Code: https://github.com/fguillen/ThimblClient
6
6
  #
7
7
  # Use:
8
- # require 'rubygems'
9
- # require 'thimbl'
10
- # thimbl =
11
- # Thimbl::Base.new(
12
- # :plan_path => '/tmp/plan',
13
- # :cache_path => '/tmp/thimbl_cache',
14
- # :user => 'fguillen@thimblserver.com'
15
- # :password => 'my_thimblserver_password'
16
- # )
17
- # thimbl.setup(
18
- # :bio => 'my bio',
19
- # :website => 'my website',
20
- # :mobile => 'my mobile',
21
- # :email => 'my email',
22
- # :address => 'my address',
23
- # :name => 'my name'
24
- # )
25
- # thimbl.follow 'dk', 'dk@telekommunisten.org'
26
- # thimbl.fetch
27
- # thimbl.print
28
- # thimbl.post 'My first post'
8
+ # require 'rubygems'
9
+ # require 'thimbl'
10
+ # thimbl =
11
+ # Thimbl::Base.new(
12
+ # 'plan_path' => '/tmp/plan',
13
+ # 'cache_path' => '/tmp/thimbl_cache',
14
+ # 'user' => 'fguillen@thimblserver.com',
15
+ # 'password' => 'my_thimblserver_password'
16
+ # )
17
+ # thimbl.setup(
18
+ # 'bio' => 'my bio',
19
+ # 'website' => 'my website',
20
+ # 'mobile' => 'my mobile',
21
+ # 'email' => 'my email',
22
+ # 'address' => 'my address',
23
+ # 'name' => 'my name'
24
+ # )
25
+ # thimbl.follow 'dk', 'dk@telekommunisten.org'
26
+ # thimbl.fetch
27
+ # thimbl.print
28
+ # thimbl.post 'My first post'
29
+ # thimbl.push
29
30
  #
30
31
  module Thimbl
31
32
  class Base
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{thimbl}
5
- s.version = "0.0.2"
5
+ s.version = "0.0.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Fernando Guillen"]
@@ -28,14 +28,12 @@ Gem::Specification.new do |s|
28
28
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
29
29
  s.add_runtime_dependency(%q<json>, [">= 0"])
30
30
  s.add_runtime_dependency(%q<net-scp>, [">= 0"])
31
- s.add_runtime_dependency(%q<fileutils>, [">= 0"])
32
31
  s.add_development_dependency(%q<mocha>, [">= 0"])
33
32
  s.add_development_dependency(%q<ruby-debug>, [">= 0"])
34
33
  s.add_development_dependency(%q<delorean>, [">= 0"])
35
34
  else
36
35
  s.add_dependency(%q<json>, [">= 0"])
37
36
  s.add_dependency(%q<net-scp>, [">= 0"])
38
- s.add_dependency(%q<fileutils>, [">= 0"])
39
37
  s.add_dependency(%q<mocha>, [">= 0"])
40
38
  s.add_dependency(%q<ruby-debug>, [">= 0"])
41
39
  s.add_dependency(%q<delorean>, [">= 0"])
@@ -43,7 +41,6 @@ Gem::Specification.new do |s|
43
41
  else
44
42
  s.add_dependency(%q<json>, [">= 0"])
45
43
  s.add_dependency(%q<net-scp>, [">= 0"])
46
- s.add_dependency(%q<fileutils>, [">= 0"])
47
44
  s.add_dependency(%q<mocha>, [">= 0"])
48
45
  s.add_dependency(%q<ruby-debug>, [">= 0"])
49
46
  s.add_dependency(%q<delorean>, [">= 0"])
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thimbl
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Fernando Guillen
@@ -47,7 +47,7 @@ dependencies:
47
47
  type: :runtime
48
48
  version_requirements: *id002
49
49
  - !ruby/object:Gem::Dependency
50
- name: fileutils
50
+ name: mocha
51
51
  prerelease: false
52
52
  requirement: &id003 !ruby/object:Gem::Requirement
53
53
  none: false
@@ -58,10 +58,10 @@ dependencies:
58
58
  segments:
59
59
  - 0
60
60
  version: "0"
61
- type: :runtime
61
+ type: :development
62
62
  version_requirements: *id003
63
63
  - !ruby/object:Gem::Dependency
64
- name: mocha
64
+ name: ruby-debug
65
65
  prerelease: false
66
66
  requirement: &id004 !ruby/object:Gem::Requirement
67
67
  none: false
@@ -75,7 +75,7 @@ dependencies:
75
75
  type: :development
76
76
  version_requirements: *id004
77
77
  - !ruby/object:Gem::Dependency
78
- name: ruby-debug
78
+ name: delorean
79
79
  prerelease: false
80
80
  requirement: &id005 !ruby/object:Gem::Requirement
81
81
  none: false
@@ -88,20 +88,6 @@ dependencies:
88
88
  version: "0"
89
89
  type: :development
90
90
  version_requirements: *id005
91
- - !ruby/object:Gem::Dependency
92
- name: delorean
93
- prerelease: false
94
- requirement: &id006 !ruby/object:Gem::Requirement
95
- none: false
96
- requirements:
97
- - - ">="
98
- - !ruby/object:Gem::Version
99
- hash: 3
100
- segments:
101
- - 0
102
- version: "0"
103
- type: :development
104
- version_requirements: *id006
105
91
  description: "Small client for the distributed microbloging protocol: [thimbl](http://www.thimbl.net/)"
106
92
  email: fguillen.mail@gmail.com
107
93
  executables: