hatena-bookmark 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,20 +1,12 @@
1
- Copyright (c) 2011 kkosuge
1
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2
2
2
 
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
3
+ Copyright (c) 2011 kkosuge
10
4
 
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
5
+ Everyone is permitted to copy and distribute verbatim or modified
6
+ copies of this license document, and changing it is allowed as long
7
+ as the name is changed.
13
8
 
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
10
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
11
+
12
+ 0. You just DO WHAT THE FUCK YOU WANT TO.
@@ -0,0 +1,37 @@
1
+ # hatena-bookmark
2
+
3
+ [はてなブックマークAtomAPI](http://developer.hatena.ne.jp/ja/documents/bookmark/apis/atom)を手軽に使えるようにするやつです。
4
+ OAuthに必要なtokenとかは[Hatena Developer Center](http://developer.hatena.ne.jp/ja/documents/auth/apis/oauth/consumer)を参考にして作ってください。
5
+
6
+ ## Install
7
+
8
+ ```
9
+ gem install hatena-bookmark
10
+ ```
11
+
12
+ ## Exapmle
13
+
14
+ ```ruby
15
+ require 'hatena-bookmark'
16
+
17
+ hatebu = Hatena::Bookmark.new(
18
+ consumer_key: 'examplembAdCJpQ==',
19
+ consumer_secret: 'examplePcepenTfulWNiQfohCuw=',
20
+ request_token: 'exampleuydlgZg==',
21
+ request_secret: 'exampleEADUA2F4cMecY8Vlx+eY='
22
+ )
23
+
24
+ hatebu.create(:url => 'http://www.example.com/', :comment => 'ブコメ〜〜')
25
+
26
+ puts hatebu.feed
27
+ ```
28
+
29
+ ## Requirement
30
+
31
+ gem "crack", "~> 0.3.1"
32
+ gem "oauth", "~> 0.4.5"
33
+
34
+ ## Copyright
35
+
36
+ Copyright (c) 2011 kkosuge under the WTFPL license.
37
+ See LICENSE.txt for further details.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{hatena-bookmark}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["kkosuge"]
@@ -14,14 +14,14 @@ Gem::Specification.new do |s|
14
14
  s.email = %q{kkosuge@about.me}
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
17
- "README.rdoc"
17
+ "README.md"
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
21
21
  ".rspec",
22
22
  "Gemfile",
23
23
  "LICENSE.txt",
24
- "README.rdoc",
24
+ "README.md",
25
25
  "Rakefile",
26
26
  "VERSION",
27
27
  "hatena-bookmark.gemspec",
@@ -1,4 +1,3 @@
1
- require 'rubygems'
2
1
  require 'oauth'
3
2
  require 'crack'
4
3
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: hatena-bookmark
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - kkosuge
@@ -87,13 +87,13 @@ extensions: []
87
87
 
88
88
  extra_rdoc_files:
89
89
  - LICENSE.txt
90
- - README.rdoc
90
+ - README.md
91
91
  files:
92
92
  - .document
93
93
  - .rspec
94
94
  - Gemfile
95
95
  - LICENSE.txt
96
- - README.rdoc
96
+ - README.md
97
97
  - Rakefile
98
98
  - VERSION
99
99
  - hatena-bookmark.gemspec
@@ -114,7 +114,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="
116
116
  - !ruby/object:Gem::Version
117
- hash: -2145791571653149923
117
+ hash: 2280648175901441462
118
118
  segments:
119
119
  - 0
120
120
  version: "0"
@@ -1,7 +0,0 @@
1
- = hatena-bookmark
2
-
3
- == Copyright
4
-
5
- Copyright (c) 2011 kkosuge. See LICENSE.txt for
6
- further details.
7
-