livedoor_blog 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5596a802701c31bfdb4f0c672b147e3283b72b14
4
- data.tar.gz: 27d644d3733733f89cb52bef5b4b24595fbb0c42
3
+ metadata.gz: 765eb41db1e93c37a54394a8814b7c2331630726
4
+ data.tar.gz: 34e680a7c024e2e5bd126abcb16bf497e8e8e26b
5
5
  SHA512:
6
- metadata.gz: 2b8eb2d27e00da579143c4e15403b67731c4ed93520c2b3d11d4c3ba75167807bdc4444d04bb5b7342e98978263cc94550a2c3d466e051398ca99b0a2b846563
7
- data.tar.gz: 87bf1701fa1dfd352e308e28d8503a0d5c29fc010454300f60e7bc5cf1581897249db3c8c9271233244eb0e5bb0e8f174b517a59566f642cca2de0596f164d7d
6
+ metadata.gz: 8fc122d567e32971f12a27aa0682563c8b4212c42cfb7f12edb5578fa9ac416a1bc01c06652b397e043f9c0b26b0f964f6376496e978c596ceec0e40e026a3d8
7
+ data.tar.gz: 091554e602a7676527dc1ac806cf5a35fceb5c1c85b069e0a420c6b13a26daed9479c75937bf52bda3d61af0f999199aad1dbb1fb1eeb690574c4dee87380ca4
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # LivedoorBlog
2
2
 
3
- TODO: Write a gem description
3
+ The LivedoorBlog library is used for automating interactions with a livedoor blog.
4
+
5
+ It can submit entry and upload images.
4
6
 
5
7
  ## Installation
6
8
 
@@ -20,7 +22,14 @@ Or install it yourself as:
20
22
 
21
23
  ## Usage
22
24
 
23
- TODO: Write usage instructions here
25
+ ```ruby
26
+ require 'livedoor_blog'
27
+
28
+ blog = LivedoorBlog.new
29
+ blog.login(ENV["livedoor_id"], ENV["password"])
30
+ url = blog.upload_image("images/test.jpg")
31
+ blog.submit_entry("Test", "Test image: <img src='#{url}'>")
32
+ ```
24
33
 
25
34
  ## Contributing
26
35
 
@@ -29,3 +38,4 @@ TODO: Write usage instructions here
29
38
  3. Commit your changes (`git commit -am 'Add some feature'`)
30
39
  4. Push to the branch (`git push origin my-new-feature`)
31
40
  5. Create a new Pull Request
41
+
@@ -1,3 +1,3 @@
1
1
  class LivedoorBlog
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: livedoor_blog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - oirakuma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-21 00:00:00.000000000 Z
11
+ date: 2014-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler