thumbalizr 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README +37 -0
- data/Rakefile +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe744f13fc78a2f5df681b780335ef061bdc60109dec1ef6b963feb0c2400aa7
|
4
|
+
data.tar.gz: c030700793c11132ad8a9a014c2b403fe1394193347e0189be137989510397d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ac4083100eeb01ffbaecb723ac0ad6006edb37fbdc4a5a30e388f49af32af610537c16f038dbaafcd3698abb87eb1bd331e6750c48e3c4540fe593e04a08781
|
7
|
+
data.tar.gz: fbcc88520cb87779ea04fc1eead693b257577502df7b447f4cc13edd0dfb2981c35c76399a422982b5619b38ec0cf774b46f5a58ece81f67a6286f9df2d15dc5
|
data/README
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
Thumbalizr version 1.0
|
2
|
+
================================
|
3
|
+
|
4
|
+
Thumbalizr (https://thumbalizr.com/) is a web service to easily embed live screenshots of any URL in your website. Thumbalizr has full support for Flash, JavaScript, CSS, & HTML5.
|
5
|
+
|
6
|
+
You can install the library from rubygem: https://rubygems.org/gems/thumbalizr
|
7
|
+
|
8
|
+
The source code can be found on github at https://github.com/juliensobrier/thumbalizr-ruby
|
9
|
+
|
10
|
+
TO use Thumbalizr in your Raisl site, check out https://github.com/juliensobrier/thumbalizr-rails
|
11
|
+
|
12
|
+
|
13
|
+
== Build and install thumbalizr
|
14
|
+
|
15
|
+
git clone https://github.com/juliensobrier/thumbalizr-ruby
|
16
|
+
gem build thumbalizr.gemspec
|
17
|
+
gem install --dev thumbalizr-<version>.gem
|
18
|
+
rake test
|
19
|
+
rake rdoc
|
20
|
+
|
21
|
+
Or
|
22
|
+
|
23
|
+
gem install thumbalizr
|
24
|
+
|
25
|
+
== Code sample
|
26
|
+
|
27
|
+
#!/usr/bin/env ruby
|
28
|
+
|
29
|
+
require 'thumbalizr'
|
30
|
+
|
31
|
+
client = Thumbalizr.new('MY_KEY', 'MY_SECRET')
|
32
|
+
|
33
|
+
url = client.url('https://www.thumbalizr.com/')
|
34
|
+
puts "#{url}\n\n"
|
35
|
+
|
36
|
+
results = client.download_wait(url, "test.png");
|
37
|
+
puts "Image downloaded to #{results[:image]} - #{results[:result]}\n";
|
data/Rakefile
CHANGED
@@ -12,7 +12,7 @@ Rake::RDocTask.new do |rdoc|
|
|
12
12
|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
13
13
|
|
14
14
|
rdoc.rdoc_dir = 'rdoc'
|
15
|
-
rdoc.title = "
|
15
|
+
rdoc.title = "thumbalizr #{version}"
|
16
16
|
rdoc.rdoc_files.include('README*')
|
17
17
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
18
18
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thumbalizr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julien Sobrier
|
@@ -31,6 +31,7 @@ extensions: []
|
|
31
31
|
extra_rdoc_files: []
|
32
32
|
files:
|
33
33
|
- Gemfile
|
34
|
+
- README
|
34
35
|
- Rakefile
|
35
36
|
- lib/thumbalizr.rb
|
36
37
|
homepage: https://thumbalizr.com/
|