tdiary-contrib 4.0.3 → 4.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +5 -5
- data/lib/tdiary/contrib/version.rb +1 -1
- data/plugin/facebook_comments.rb +1 -1
- data/plugin/flickr.rb +6 -3
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d0b4cf97185a2825255b425b8a0f5841f7601a2
|
4
|
+
data.tar.gz: 9cc1611f61dca118aa7a16670b02825289b1a633
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd6c9ff62f892b3ca29d085cc9e885626c3a860a4341aa84af0b04cce89dc08a0343d60e11424b01d832c4b2ee765edb11c4d3a2607e6b2b9d5060f9bbe0ff57
|
7
|
+
data.tar.gz: d0fbea8bb274c4ebd6569462c2b87efe152ad432b47d77956f0a8c2ca09f1da6b74686fb62f42a1407d1f9ee158a2a35e433dbc78c728890205f50f7f32d1dcd
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -4,8 +4,8 @@ GEM
|
|
4
4
|
diff-lcs (1.2.5)
|
5
5
|
docile (1.1.3)
|
6
6
|
json (1.8.1)
|
7
|
-
multi_json (1.
|
8
|
-
rake (10.
|
7
|
+
multi_json (1.9.2)
|
8
|
+
rake (10.2.2)
|
9
9
|
rcov (1.0.0)
|
10
10
|
rspec (3.0.0.beta2)
|
11
11
|
rspec-core (= 3.0.0.beta2)
|
@@ -24,10 +24,10 @@ GEM
|
|
24
24
|
multi_json
|
25
25
|
simplecov-html (~> 0.8.0)
|
26
26
|
simplecov-html (0.8.0)
|
27
|
-
tdiary (4.0.
|
27
|
+
tdiary (4.0.3)
|
28
28
|
bundler (~> 1.3)
|
29
29
|
thor (~> 0.18)
|
30
|
-
thor (0.
|
30
|
+
thor (0.19.1)
|
31
31
|
|
32
32
|
PLATFORMS
|
33
33
|
ruby
|
@@ -38,4 +38,4 @@ DEPENDENCIES
|
|
38
38
|
rcov
|
39
39
|
rspec (~> 3.0.0.beta2)
|
40
40
|
simplecov
|
41
|
-
tdiary (
|
41
|
+
tdiary (~> 4.0.2)
|
data/plugin/facebook_comments.rb
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
add_header_proc do
|
6
6
|
<<-HTML
|
7
|
-
<meta property="fb:admins" content="#{h @conf['facebook_comments.YOUR_FACEBOOK_USER_ID']}"
|
7
|
+
<meta property="fb:admins" content="#{h @conf['facebook_comments.YOUR_FACEBOOK_USER_ID']}">
|
8
8
|
<meta property="fb:app_id" content="#{h @conf['facebook_comments.YOUR_APPLICATION_ID']}">
|
9
9
|
HTML
|
10
10
|
end
|
data/plugin/flickr.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
1
2
|
# show photo image on Flickr.com
|
2
3
|
#
|
3
4
|
# usage:
|
@@ -18,7 +19,7 @@
|
|
18
19
|
# Copyright (c) MATSUOKA Kohei <http://www.machu.jp/>
|
19
20
|
# Distributed under the GPL
|
20
21
|
#
|
21
|
-
require 'net/
|
22
|
+
require 'net/https'
|
22
23
|
require 'digest/md5'
|
23
24
|
require 'rexml/document'
|
24
25
|
|
@@ -180,8 +181,10 @@ module Flickr
|
|
180
181
|
|
181
182
|
def open
|
182
183
|
Net::HTTP.version_1_2
|
183
|
-
Net::HTTP.
|
184
|
-
|
184
|
+
https = Net::HTTP.new('www.flickr.com', 443)
|
185
|
+
https.use_ssl = true
|
186
|
+
https.start {
|
187
|
+
response = https.get(query)
|
185
188
|
response.body
|
186
189
|
}
|
187
190
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tdiary-contrib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tDiary contributors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tdiary
|
@@ -477,4 +477,3 @@ test_files:
|
|
477
477
|
- spec/title_anchor_spec.rb
|
478
478
|
- spec/twitter_js_spec.rb
|
479
479
|
- spec/youtube_spec.rb
|
480
|
-
has_rdoc:
|