tumblr-sync 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.rvmrc +48 -0
- data/Gemfile +11 -0
- data/Gemfile.lock +46 -0
- data/LICENSE.txt +20 -0
- data/README.md +40 -0
- data/Rakefile +46 -0
- data/VERSION +1 -0
- data/bin/tumblr-sync +11 -0
- data/lib/tumblr-sync.rb +4 -0
- data/lib/tumblr-sync/runner.rb +75 -0
- data/lib/tumblr-sync/site.rb +39 -0
- data/test/helper.rb +19 -0
- data/test/test_tumblr-sync.rb +7 -0
- data/tumblr-sync.gemspec +70 -0
- metadata +162 -0
data/.document
ADDED
data/.rvmrc
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
#!/usr/bin/env bash
|
2
|
+
|
3
|
+
# This is an RVM Project .rvmrc file, used to automatically load the ruby
|
4
|
+
# development environment upon cd'ing into the directory
|
5
|
+
|
6
|
+
# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional,
|
7
|
+
# Only full ruby name is supported here, for short names use:
|
8
|
+
# echo "rvm use 1.9.3" > .rvmrc
|
9
|
+
environment_id="ruby-1.9.3-p194@tumblr-sync"
|
10
|
+
|
11
|
+
# Uncomment the following lines if you want to verify rvm version per project
|
12
|
+
# rvmrc_rvm_version="1.16.17 (latest)" # 1.10.1 seams as a safe start
|
13
|
+
# eval "$(echo ${rvm_version}.${rvmrc_rvm_version} | awk -F. '{print "[[ "$1*65536+$2*256+$3" -ge "$4*65536+$5*256+$6" ]]"}' )" || {
|
14
|
+
# echo "This .rvmrc file requires at least RVM ${rvmrc_rvm_version}, aborting loading."
|
15
|
+
# return 1
|
16
|
+
# }
|
17
|
+
|
18
|
+
# First we attempt to load the desired environment directly from the environment
|
19
|
+
# file. This is very fast and efficient compared to running through the entire
|
20
|
+
# CLI and selector. If you want feedback on which environment was used then
|
21
|
+
# insert the word 'use' after --create as this triggers verbose mode.
|
22
|
+
if [[ -d "${rvm_path:-$HOME/.rvm}/environments"
|
23
|
+
&& -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
|
24
|
+
then
|
25
|
+
\. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
|
26
|
+
[[ -s "${rvm_path:-$HOME/.rvm}/hooks/after_use" ]] &&
|
27
|
+
\. "${rvm_path:-$HOME/.rvm}/hooks/after_use" || true
|
28
|
+
else
|
29
|
+
# If the environment file has not yet been created, use the RVM CLI to select.
|
30
|
+
rvm --create "$environment_id" || {
|
31
|
+
echo "Failed to create RVM environment '${environment_id}'."
|
32
|
+
return 1
|
33
|
+
}
|
34
|
+
fi
|
35
|
+
|
36
|
+
# If you use bundler, this might be useful to you:
|
37
|
+
# if [[ -s Gemfile ]] && {
|
38
|
+
# ! builtin command -v bundle >/dev/null ||
|
39
|
+
# builtin command -v bundle | GREP_OPTIONS= \grep $rvm_path/bin/bundle >/dev/null
|
40
|
+
# }
|
41
|
+
# then
|
42
|
+
# printf "%b" "The rubygem 'bundler' is not installed. Installing it now.\n"
|
43
|
+
# gem install bundler
|
44
|
+
# fi
|
45
|
+
# if [[ -s Gemfile ]] && builtin command -v bundle >/dev/null
|
46
|
+
# then
|
47
|
+
# bundle install | GREP_OPTIONS= \grep -vE '^Using|Your bundle is complete'
|
48
|
+
# fi
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://rubygems.org/
|
3
|
+
specs:
|
4
|
+
domain_name (0.5.4)
|
5
|
+
unf (~> 0.0.3)
|
6
|
+
git (1.2.5)
|
7
|
+
jeweler (1.8.4)
|
8
|
+
bundler (~> 1.0)
|
9
|
+
git (>= 1.2.5)
|
10
|
+
rake
|
11
|
+
rdoc
|
12
|
+
json (1.7.5)
|
13
|
+
mechanize (2.5.1)
|
14
|
+
domain_name (~> 0.5, >= 0.5.1)
|
15
|
+
mime-types (~> 1.17, >= 1.17.2)
|
16
|
+
net-http-digest_auth (~> 1.1, >= 1.1.1)
|
17
|
+
net-http-persistent (~> 2.5, >= 2.5.2)
|
18
|
+
nokogiri (~> 1.4)
|
19
|
+
ntlm-http (~> 0.1, >= 0.1.1)
|
20
|
+
webrobots (~> 0.0, >= 0.0.9)
|
21
|
+
mime-types (1.19)
|
22
|
+
minitest (4.1.0)
|
23
|
+
net-http-digest_auth (1.2.1)
|
24
|
+
net-http-persistent (2.8)
|
25
|
+
nokogiri (1.5.5)
|
26
|
+
ntlm-http (0.1.1)
|
27
|
+
rake (0.9.2.2)
|
28
|
+
rdoc (3.12)
|
29
|
+
json (~> 1.4)
|
30
|
+
ruby-progressbar (1.0.2)
|
31
|
+
unf (0.0.5)
|
32
|
+
unf_ext
|
33
|
+
unf_ext (0.0.5)
|
34
|
+
webrobots (0.0.13)
|
35
|
+
yard (0.8.3)
|
36
|
+
|
37
|
+
PLATFORMS
|
38
|
+
ruby
|
39
|
+
|
40
|
+
DEPENDENCIES
|
41
|
+
bundler (~> 1.2.1)
|
42
|
+
jeweler (~> 1.8.4)
|
43
|
+
mechanize (~> 2.5.1)
|
44
|
+
minitest
|
45
|
+
ruby-progressbar (~> 1.0.2)
|
46
|
+
yard (~> 0.8.3)
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2012 Vincent Durand
|
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:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
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.
|
data/README.md
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
## tumblr-sync
|
2
|
+
|
3
|
+
MultiThread Tumblr Synchronization
|
4
|
+
|
5
|
+
You like download and fill your hard drive with tons of funny pictures, this is the tool for you!
|
6
|
+
|
7
|
+
### Install
|
8
|
+
|
9
|
+
gem install tumblr-sync
|
10
|
+
|
11
|
+
### Usage
|
12
|
+
|
13
|
+
tumblr-sync -h
|
14
|
+
|
15
|
+
Synchronize some funny Tumblr with a lot of so cute catz !
|
16
|
+
|
17
|
+
tumblr-sync socutecatz.tumblr.com
|
18
|
+
|
19
|
+
### Why ?
|
20
|
+
|
21
|
+
Ruby Multithreading and Queue testing for fun
|
22
|
+
|
23
|
+
### Todo
|
24
|
+
|
25
|
+
* Improve multithreading
|
26
|
+
* Add some tests (han! there's no tests! so wrong…)
|
27
|
+
|
28
|
+
### Contributing to tumblr-sync
|
29
|
+
|
30
|
+
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
31
|
+
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
|
32
|
+
* Fork the project.
|
33
|
+
* Start a feature/bugfix branch.
|
34
|
+
* Commit and push until you are happy with your contribution.
|
35
|
+
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
36
|
+
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
37
|
+
|
38
|
+
### Copyright
|
39
|
+
|
40
|
+
Copyright (c) 2012 Vincent Durand. See LICENSE.txt for further details.
|
data/Rakefile
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
require 'bundler'
|
5
|
+
begin
|
6
|
+
Bundler.setup(:default, :development)
|
7
|
+
rescue Bundler::BundlerError => e
|
8
|
+
$stderr.puts e.message
|
9
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
10
|
+
exit e.status_code
|
11
|
+
end
|
12
|
+
require 'rake'
|
13
|
+
|
14
|
+
require 'jeweler'
|
15
|
+
Jeweler::Tasks.new do |gem|
|
16
|
+
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
17
|
+
gem.name = "tumblr-sync"
|
18
|
+
gem.homepage = "http://github.com/madwork/tumblr-sync"
|
19
|
+
gem.license = "MIT"
|
20
|
+
gem.summary = %Q{Synchronize pictures from a Thumblr blog}
|
21
|
+
gem.description = %Q{Synchronize pictures from a Thumblr blog, with multithreading}
|
22
|
+
gem.email = "vincent.durand@madwork.org"
|
23
|
+
gem.authors = ["Vincent Durand"]
|
24
|
+
# dependencies defined in Gemfile
|
25
|
+
end
|
26
|
+
Jeweler::RubygemsDotOrgTasks.new
|
27
|
+
|
28
|
+
require 'rake/testtask'
|
29
|
+
Rake::TestTask.new(:test) do |test|
|
30
|
+
test.libs << 'lib' << 'test'
|
31
|
+
test.pattern = 'test/**/test_*.rb'
|
32
|
+
test.verbose = true
|
33
|
+
end
|
34
|
+
|
35
|
+
# require 'rcov/rcovtask'
|
36
|
+
# Rcov::RcovTask.new do |test|
|
37
|
+
# test.libs << 'test'
|
38
|
+
# test.pattern = 'test/**/test_*.rb'
|
39
|
+
# test.verbose = true
|
40
|
+
# test.rcov_opts << '--exclude "gems/*"'
|
41
|
+
# end
|
42
|
+
|
43
|
+
task :default => :test
|
44
|
+
|
45
|
+
require 'yard'
|
46
|
+
YARD::Rake::YardocTask.new
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.0
|
data/bin/tumblr-sync
ADDED
data/lib/tumblr-sync.rb
ADDED
@@ -0,0 +1,75 @@
|
|
1
|
+
require 'optparse'
|
2
|
+
require 'thread'
|
3
|
+
require 'ruby-progressbar'
|
4
|
+
|
5
|
+
module TumblrSync
|
6
|
+
class Runner
|
7
|
+
CONCURRENCY = 12
|
8
|
+
|
9
|
+
def initialize(arguments)
|
10
|
+
@arguments = arguments
|
11
|
+
end
|
12
|
+
|
13
|
+
def run
|
14
|
+
parse_options
|
15
|
+
|
16
|
+
@concurrency ||= CONCURRENCY
|
17
|
+
@tumblr = TumblrSync::Site.new(@arguments.last)
|
18
|
+
@progress = ProgressBar.create(:format => '%a |%B| %c/%C - %p%%', :starting_at => 0, :total => @tumblr.total)
|
19
|
+
|
20
|
+
FileUtils.mkdir_p(@tumblr.host)
|
21
|
+
|
22
|
+
queue = Queue.new
|
23
|
+
@tumblr.times do |i|
|
24
|
+
Thread.new { queue << @tumblr.images(i*MAX, MAX) }
|
25
|
+
end
|
26
|
+
|
27
|
+
downloader = Thread.new do
|
28
|
+
@tumblr.times do
|
29
|
+
images = queue.pop
|
30
|
+
images.each_slice(@concurrency).each do |group|
|
31
|
+
threads = []
|
32
|
+
group.each do |url|
|
33
|
+
threads << Thread.new {
|
34
|
+
begin
|
35
|
+
file = Mechanize::File.new(URI(url))
|
36
|
+
unless File.exists?("#{@tumblr.host}/#{file.filename}")
|
37
|
+
http = Mechanize.new
|
38
|
+
http.get(url) do |page|
|
39
|
+
filename = page.uri.path.split(/\//).last
|
40
|
+
next if File.exists?("#{@tumblr.host}/#{filename}")
|
41
|
+
page.save("#{@tumblr.host}/#{filename}")
|
42
|
+
end
|
43
|
+
end
|
44
|
+
rescue Mechanize::ResponseCodeError
|
45
|
+
ensure
|
46
|
+
@progress.increment
|
47
|
+
end
|
48
|
+
}
|
49
|
+
end
|
50
|
+
threads.each{ |thread| thread.join }
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
downloader.join
|
56
|
+
end
|
57
|
+
|
58
|
+
private
|
59
|
+
|
60
|
+
def parse_options
|
61
|
+
options = OptionParser.new
|
62
|
+
options.banner = "Usage: #{$0} [options] [tumblr]"
|
63
|
+
options.on('-c', '--concurrency NUMBER', "Specify concurrency option (Default: #{CONCURRENCY})") { |concurrency| @concurrency = concurrency.to_i }
|
64
|
+
options.on('-h', '--help', "Show this message") { puts(options); exit }
|
65
|
+
begin
|
66
|
+
raise "Missing argument tumblr website" if ARGV.empty?
|
67
|
+
options.parse!(@arguments)
|
68
|
+
rescue => ex
|
69
|
+
puts ex.message
|
70
|
+
puts options
|
71
|
+
exit
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
require 'mechanize'
|
2
|
+
|
3
|
+
module TumblrSync
|
4
|
+
MAX = 50
|
5
|
+
|
6
|
+
class Site
|
7
|
+
attr_reader :host
|
8
|
+
|
9
|
+
# Example:
|
10
|
+
#
|
11
|
+
# t = TumblrSync::Site.new("citieslight.tumblr.com") { |a| a.user_agent_alias = 'Mac Safari' }
|
12
|
+
#
|
13
|
+
def initialize(host, &block)
|
14
|
+
@host = host
|
15
|
+
@endpoint = "http://#{host}/api/read?type=photo"
|
16
|
+
@mechaconf = block
|
17
|
+
end
|
18
|
+
|
19
|
+
def images(start, number = MAX)
|
20
|
+
http = Mechanize.new(&@mechaconf)
|
21
|
+
http.get("#@endpoint&start=#{start}&num=#{number}")
|
22
|
+
doc = Nokogiri::XML.parse(http.page.body)
|
23
|
+
doc.xpath("//posts/post/photo-url[@max-width='1280']").map(&:text)
|
24
|
+
end
|
25
|
+
|
26
|
+
def total
|
27
|
+
@total ||= begin
|
28
|
+
http = Mechanize.new(&@mechaconf)
|
29
|
+
http.get(@endpoint)
|
30
|
+
doc = Nokogiri::XML.parse(http.page.body)
|
31
|
+
doc.xpath("//posts/@total").text.to_i
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
def times(&block)
|
36
|
+
(total.to_f / MAX + 0.5).round.times(&block)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
data/test/helper.rb
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'bundler'
|
3
|
+
begin
|
4
|
+
Bundler.setup(:default, :development)
|
5
|
+
rescue Bundler::BundlerError => e
|
6
|
+
$stderr.puts e.message
|
7
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
+
exit e.status_code
|
9
|
+
end
|
10
|
+
require 'minitest/unit'
|
11
|
+
|
12
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
13
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
14
|
+
require 'tumblr-sync'
|
15
|
+
|
16
|
+
class MiniTest::Unit::TestCase
|
17
|
+
end
|
18
|
+
|
19
|
+
MiniTest::Unit.autorun
|
data/tumblr-sync.gemspec
ADDED
@@ -0,0 +1,70 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = "tumblr-sync"
|
8
|
+
s.version = "0.1.0"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Vincent Durand"]
|
12
|
+
s.date = "2012-11-02"
|
13
|
+
s.description = "Synchronize pictures from a Thumblr blog, with multithreading"
|
14
|
+
s.email = "vincent.durand@madwork.org"
|
15
|
+
s.executables = ["tumblr-sync"]
|
16
|
+
s.extra_rdoc_files = [
|
17
|
+
"LICENSE.txt",
|
18
|
+
"README.md"
|
19
|
+
]
|
20
|
+
s.files = [
|
21
|
+
".document",
|
22
|
+
".rvmrc",
|
23
|
+
"Gemfile",
|
24
|
+
"Gemfile.lock",
|
25
|
+
"LICENSE.txt",
|
26
|
+
"README.md",
|
27
|
+
"Rakefile",
|
28
|
+
"VERSION",
|
29
|
+
"bin/tumblr-sync",
|
30
|
+
"lib/tumblr-sync.rb",
|
31
|
+
"lib/tumblr-sync/runner.rb",
|
32
|
+
"lib/tumblr-sync/site.rb",
|
33
|
+
"test/helper.rb",
|
34
|
+
"test/test_tumblr-sync.rb",
|
35
|
+
"tumblr-sync.gemspec"
|
36
|
+
]
|
37
|
+
s.homepage = "http://github.com/madwork/tumblr-sync"
|
38
|
+
s.licenses = ["MIT"]
|
39
|
+
s.require_paths = ["lib"]
|
40
|
+
s.rubygems_version = "1.8.24"
|
41
|
+
s.summary = "Synchronize pictures from a Thumblr blog"
|
42
|
+
|
43
|
+
if s.respond_to? :specification_version then
|
44
|
+
s.specification_version = 3
|
45
|
+
|
46
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
47
|
+
s.add_runtime_dependency(%q<mechanize>, ["~> 2.5.1"])
|
48
|
+
s.add_runtime_dependency(%q<ruby-progressbar>, ["~> 1.0.2"])
|
49
|
+
s.add_development_dependency(%q<minitest>, [">= 0"])
|
50
|
+
s.add_development_dependency(%q<yard>, ["~> 0.8.3"])
|
51
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.2.1"])
|
52
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
|
53
|
+
else
|
54
|
+
s.add_dependency(%q<mechanize>, ["~> 2.5.1"])
|
55
|
+
s.add_dependency(%q<ruby-progressbar>, ["~> 1.0.2"])
|
56
|
+
s.add_dependency(%q<minitest>, [">= 0"])
|
57
|
+
s.add_dependency(%q<yard>, ["~> 0.8.3"])
|
58
|
+
s.add_dependency(%q<bundler>, ["~> 1.2.1"])
|
59
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
|
60
|
+
end
|
61
|
+
else
|
62
|
+
s.add_dependency(%q<mechanize>, ["~> 2.5.1"])
|
63
|
+
s.add_dependency(%q<ruby-progressbar>, ["~> 1.0.2"])
|
64
|
+
s.add_dependency(%q<minitest>, [">= 0"])
|
65
|
+
s.add_dependency(%q<yard>, ["~> 0.8.3"])
|
66
|
+
s.add_dependency(%q<bundler>, ["~> 1.2.1"])
|
67
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
metadata
ADDED
@@ -0,0 +1,162 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tumblr-sync
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Vincent Durand
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-11-02 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: mechanize
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 2.5.1
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 2.5.1
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: ruby-progressbar
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 1.0.2
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 1.0.2
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: minitest
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: yard
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 0.8.3
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 0.8.3
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: bundler
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 1.2.1
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 1.2.1
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: jeweler
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ~>
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: 1.8.4
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 1.8.4
|
110
|
+
description: Synchronize pictures from a Thumblr blog, with multithreading
|
111
|
+
email: vincent.durand@madwork.org
|
112
|
+
executables:
|
113
|
+
- tumblr-sync
|
114
|
+
extensions: []
|
115
|
+
extra_rdoc_files:
|
116
|
+
- LICENSE.txt
|
117
|
+
- README.md
|
118
|
+
files:
|
119
|
+
- .document
|
120
|
+
- .rvmrc
|
121
|
+
- Gemfile
|
122
|
+
- Gemfile.lock
|
123
|
+
- LICENSE.txt
|
124
|
+
- README.md
|
125
|
+
- Rakefile
|
126
|
+
- VERSION
|
127
|
+
- bin/tumblr-sync
|
128
|
+
- lib/tumblr-sync.rb
|
129
|
+
- lib/tumblr-sync/runner.rb
|
130
|
+
- lib/tumblr-sync/site.rb
|
131
|
+
- test/helper.rb
|
132
|
+
- test/test_tumblr-sync.rb
|
133
|
+
- tumblr-sync.gemspec
|
134
|
+
homepage: http://github.com/madwork/tumblr-sync
|
135
|
+
licenses:
|
136
|
+
- MIT
|
137
|
+
post_install_message:
|
138
|
+
rdoc_options: []
|
139
|
+
require_paths:
|
140
|
+
- lib
|
141
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
142
|
+
none: false
|
143
|
+
requirements:
|
144
|
+
- - ! '>='
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0'
|
147
|
+
segments:
|
148
|
+
- 0
|
149
|
+
hash: -2793728540082630761
|
150
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
151
|
+
none: false
|
152
|
+
requirements:
|
153
|
+
- - ! '>='
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
version: '0'
|
156
|
+
requirements: []
|
157
|
+
rubyforge_project:
|
158
|
+
rubygems_version: 1.8.24
|
159
|
+
signing_key:
|
160
|
+
specification_version: 3
|
161
|
+
summary: Synchronize pictures from a Thumblr blog
|
162
|
+
test_files: []
|