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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b93a4e4a623dc81cccbe122dcecd09f37adf408b
4
- data.tar.gz: ebed4176090ce9d2046b34b9273aa3e85d873d4b
3
+ metadata.gz: 6d0b4cf97185a2825255b425b8a0f5841f7601a2
4
+ data.tar.gz: 9cc1611f61dca118aa7a16670b02825289b1a633
5
5
  SHA512:
6
- metadata.gz: 9986ae7afd37e0605113b81b641a5e5e0dbc52c01b971e9e54d42fdca9655f9305f31927be6d9be2b7df869642964d0b46181d8f01f75477df11682669fb0d91
7
- data.tar.gz: 2eecb6b945e59647fa851234ec610c0febf7e7ef4a2342bc2165014c75acc6fd8c2b11988a271c4cc1edd961725723f1d381140ffe4c36b41d067f54b67620fc
6
+ metadata.gz: dd6c9ff62f892b3ca29d085cc9e885626c3a860a4341aa84af0b04cce89dc08a0343d60e11424b01d832c4b2ee765edb11c4d3a2607e6b2b9d5060f9bbe0ff57
7
+ data.tar.gz: d0fbea8bb274c4ebd6569462c2b87efe152ad432b47d77956f0a8c2ca09f1da6b74686fb62f42a1407d1f9ee158a2a35e433dbc78c728890205f50f7f32d1dcd
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'tdiary', '4.0.2'
3
+ gem 'tdiary', '~> 4.0.2'
4
4
 
5
5
  gem 'rake'
6
6
  gem 'rspec', '~> 3.0.0.beta2'
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.4)
8
- rake (10.1.1)
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.2)
27
+ tdiary (4.0.3)
28
28
  bundler (~> 1.3)
29
29
  thor (~> 0.18)
30
- thor (0.18.1)
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 (= 4.0.2)
41
+ tdiary (~> 4.0.2)
@@ -1,5 +1,5 @@
1
1
  module TDiary
2
2
  class Contrib
3
- VERSION = "4.0.3"
3
+ VERSION = "4.0.4"
4
4
  end
5
5
  end
@@ -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/http'
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.start('www.flickr.com') {|http|
184
- response = http.get(query)
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.3
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-02-28 00:00:00.000000000 Z
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: