masuda 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/README.txt +28 -0
  2. metadata +4 -3
@@ -0,0 +1,28 @@
1
+ = masuda.rb
2
+
3
+ Copyright (c) 2007 SUGAWARA Genki <sgwr_dts@yahoo.co.jp>
4
+
5
+ == Example
6
+
7
+ require 'masuda'
8
+
9
+ diary = Masuda::Diary.new
10
+ diary.entries.each {|entry| puts entry.content }
11
+ entry = diary.entry('20070712231804')
12
+ puts <<EOS
13
+ #{entry.title}
14
+ #{entry.content}
15
+ EOS
16
+ entry.trackbacks.each {|trackback| puts trackback.snippet }
17
+
18
+ diary.login('my_id', 'my_pass')
19
+ diary.my_entries.each {|entry| puts entry.content }
20
+ diary.post('Ruby is ...', <<EOS)
21
+ A dynamic, open source
22
+ programming language with a
23
+ ...
24
+ EOS
25
+
26
+ session[:diary] = diary.raw
27
+ ...
28
+ diary = Masuda::Diary.restore(session[:diary])
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: masuda
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.5.0
6
+ version: 0.5.1
7
7
  date: 2007-10-18 00:00:00 +09:00
8
8
  summary: Hatena AnonymouseDiary Reader/Writer
9
9
  require_paths:
@@ -29,14 +29,15 @@ post_install_message:
29
29
  authors:
30
30
  - winebarrel
31
31
  files:
32
+ - README.txt
32
33
  - lib/masuda.rb
33
34
  test_files: []
34
35
 
35
36
  rdoc_options:
36
37
  - --main
37
38
  - README.txt
38
- extra_rdoc_files: []
39
-
39
+ extra_rdoc_files:
40
+ - README.txt
40
41
  executables: []
41
42
 
42
43
  extensions: []