blogpost 0.1.3 → 0.1.4

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: 00d543107562e5c13f53ef25d6e732ed94db4ffd
4
- data.tar.gz: bf45236f9c9024c65d21f46d2e282b63778793b0
3
+ metadata.gz: 92373d5d37c490897dfc1415e736ffd53537d21f
4
+ data.tar.gz: c361e5d9cc3e979c1e4b3e22b433012a4786284f
5
5
  SHA512:
6
- metadata.gz: a58eee7a5e26af27f7c39e0cdd75d1fa36e21e2469c960f1ece7ba858d7b3f532f40af164c7cda0b65717eb5bbdeb6e702d40e935d4e91e295d9c92fb87649fc
7
- data.tar.gz: e32e7199ed731d6827673969203e3c8597f41130bdd25d2299c712c1670c4ca9c5ef9431034c94e156c2a2746c1074ec9b240f5020d88cb637c3f5489f939b37
6
+ metadata.gz: 1911e2f3a088c4811fe8e0f04ed1e46d2f2ce6b1c3046b757dfa56a6e60cf25c610364e56e5cbf1282dfa7066efd311571d39d5b4f31aca2ad44d7e4963d57cd
7
+ data.tar.gz: 6bd9b8adc9e4e63662cd437a0a6a3fd5c34dd751c941c8852d755a2ab722e703846a9d346c49edb5618a215ad04ccee9450ad2ae550fe846f6bb3852ba9314f2
@@ -4,7 +4,7 @@ module Blogpost
4
4
  opts = Blogpost.options.merge(opts)
5
5
  auth = Atompub::Auth::Wsse.new(username: opts[:user],password: opts[:pass])
6
6
  client = Atompub::Client.new(auth: auth)
7
- entry = Atom::Entry.new(title: opts[:title],content: opts[:content])
7
+ entry = Atom::Entry.new(title: opts[:title].encode("BINARY", "BINARY"),content: opts[:content].encode("BINARY", "BINARY"))
8
8
  service = client.get_service "http://livedoor.blogcms.jp/atom/"
9
9
  collection_uri = service.workspace.collections[0].href
10
10
  client.create_entry(collection_uri, entry)
@@ -1,3 +1,3 @@
1
1
  module Blogpost
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blogpost
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - shoprev