read_later 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +20 -0
- data/README.md +10 -5
- data/examples/application.rb +3 -4
- data/pkg/read_later-0.1.0.gem +0 -0
- data/read_later.gemspec +2 -2
- metadata +5 -4
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
This program is free software. It comes without any warranty, to
|
2
|
+
the extent permitted by applicable law. You can redistribute it
|
3
|
+
and/or modify it under the terms of the Do What The Fuck You Want
|
4
|
+
To Public License, Version 2, as published by Sam Hocevar. See
|
5
|
+
http://sam.zoy.org/wtfpl/COPYING for more details.
|
6
|
+
|
7
|
+
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
8
|
+
Version 2, December 2004
|
9
|
+
|
10
|
+
Copyright (C) 2010 Bryan Woods <bryanwoods4e@gmail.com>
|
11
|
+
|
12
|
+
Everyone is permitted to copy and distribute verbatim or modified
|
13
|
+
copies of this license document, and changing it is allowed as long
|
14
|
+
as the name is changed.
|
15
|
+
|
16
|
+
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
17
|
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
18
|
+
|
19
|
+
0. You just DO WHAT THE FUCK YOU WANT TO.
|
20
|
+
|
data/README.md
CHANGED
@@ -1,4 +1,9 @@
|
|
1
|
-
|
1
|
+
Installation:
|
2
|
+
=============
|
3
|
+
gem install read_later
|
4
|
+
|
5
|
+
Here is an example Sinatra application to get you going:
|
6
|
+
--------------------------------------------------------
|
2
7
|
|
3
8
|
require 'rubygems'
|
4
9
|
require 'sinatra'
|
@@ -8,15 +13,15 @@
|
|
8
13
|
read_later = ReadLater.new
|
9
14
|
|
10
15
|
# Application variables
|
11
|
-
#
|
16
|
+
# URL (Required):
|
12
17
|
# h post_path(@post)
|
13
18
|
url = "http://writing.bryanwoods4e.com/1-poor-poor-child"
|
14
19
|
|
15
|
-
#
|
20
|
+
# Title (Optional, but preferred):
|
16
21
|
# h @post.title
|
17
22
|
title = "Poor, poor child. You have no idea."
|
18
23
|
|
19
|
-
# Can customize the following iframe parameters:
|
24
|
+
# Can customize the following optional iframe parameters:
|
20
25
|
# Border, scrolling, width, height, transparency,
|
21
26
|
# And frameborder. For example:
|
22
27
|
read_later.height = 100
|
@@ -29,4 +34,4 @@
|
|
29
34
|
# Tell Sinatra to render button in the view:
|
30
35
|
# <%= @instapaper_button %>
|
31
36
|
@instapaper_button
|
32
|
-
end
|
37
|
+
end
|
data/examples/application.rb
CHANGED
@@ -6,15 +6,15 @@ get '/' do
|
|
6
6
|
read_later = ReadLater.new
|
7
7
|
|
8
8
|
# Application variables
|
9
|
-
#
|
9
|
+
# URL (Required):
|
10
10
|
# h post_path(@post)
|
11
11
|
url = "http://writing.bryanwoods4e.com/1-poor-poor-child"
|
12
12
|
|
13
|
-
#
|
13
|
+
# Title (Optional, but preferred):
|
14
14
|
# h @post.title
|
15
15
|
title = "Poor, poor child. You have no idea."
|
16
16
|
|
17
|
-
# Can customize the following iframe parameters:
|
17
|
+
# Can customize the following optional iframe parameters:
|
18
18
|
# Border, scrolling, width, height, transparency,
|
19
19
|
# And frameborder. For example:
|
20
20
|
read_later.height = 100
|
@@ -28,4 +28,3 @@ get '/' do
|
|
28
28
|
# <%= @instapaper_button %>
|
29
29
|
@instapaper_button
|
30
30
|
end
|
31
|
-
|
Binary file
|
data/read_later.gemspec
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
|
3
3
|
SPEC = Gem::Specification.new do |s|
|
4
4
|
s.name = "read_later"
|
5
|
-
s.version = "0.1.
|
5
|
+
s.version = "0.1.1"
|
6
6
|
s.author = "Bryan Woods"
|
7
7
|
s.email = "bryanwoods4e@gmail.com"
|
8
8
|
s.platform = Gem::Platform::RUBY
|
@@ -13,4 +13,4 @@ SPEC = Gem::Specification.new do |s|
|
|
13
13
|
s.files = Dir.glob("**/*")
|
14
14
|
s.require_path = "lib"
|
15
15
|
s.has_rdoc = false
|
16
|
-
end
|
16
|
+
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 1
|
9
|
+
version: 0.1.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Bryan Woods
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-06-
|
17
|
+
date: 2010-06-18 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|
@@ -29,7 +29,8 @@ extra_rdoc_files: []
|
|
29
29
|
files:
|
30
30
|
- examples/application.rb
|
31
31
|
- lib/read_later.rb
|
32
|
-
-
|
32
|
+
- LICENSE
|
33
|
+
- pkg/read_later-0.1.0.gem
|
33
34
|
- read_later.gemspec
|
34
35
|
- README.md
|
35
36
|
- test/test_read_later.rb
|