twisplay 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +9 -0
- data/lib/twisplay/version.rb +1 -1
- data/twisplay.gemspec +4 -4
- metadata +22 -27
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c1f3b122de1682197b48bf8eaf61642bc939d1e8
|
4
|
+
data.tar.gz: 27db1fe44010d3c403a1375044d19fa620be6eb6
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 2d2c006e032b4b470d195a926c18ea8fd0f989f438fc82a6046752e5f8495476a75230fc435c8ead07970b56b354f98b66557e910fb5c820ba8e1ad2fd31c05f
|
7
|
+
data.tar.gz: 1e23db33bdde237737ecaff2ab62b1ee3a86d134ee4020aac36225397cdc0c89b2e433335a3078be1e35246126a8654fbcf6c9feeb2d34cde0c83056d80a149a
|
data/README.md
CHANGED
@@ -19,6 +19,15 @@ Add the Twisplay CSS file 'application.css.scss':
|
|
19
19
|
|
20
20
|
## Usage
|
21
21
|
|
22
|
+
Configure Twitter gem during initialization:
|
23
|
+
|
24
|
+
Twitter.configure do |config|
|
25
|
+
config.consumer_key = TWITTER_CONSUMER_KEY
|
26
|
+
config.consumer_secret = TWITTER_CONSUMER_SECRET
|
27
|
+
config.oauth_token = TWITTER_ACCESS_TOKEN
|
28
|
+
config.oauth_token_secret = TWITTER_ACCESS_TOKEN_SECRET
|
29
|
+
end
|
30
|
+
|
22
31
|
Render a tweet in a view using the status id from the URL (E.g. https://twitter.com/#!/rubyonrails/status/186335852467728384 ):
|
23
32
|
|
24
33
|
<%= tweet "186335852467728384" %>
|
data/lib/twisplay/version.rb
CHANGED
data/twisplay.gemspec
CHANGED
@@ -3,10 +3,10 @@ require File.expand_path('../lib/twisplay/version', __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.authors = ["Joost Diepenmaat"]
|
6
|
-
gem.email = ["
|
6
|
+
gem.email = ["joost@moneybird.com"]
|
7
7
|
gem.description = "Display tweets on your website using Twitter's Design Guidelines."
|
8
8
|
gem.summary = "Display tweets on your website using Twitter's Design Guidelines."
|
9
|
-
gem.homepage = "https://github.com/
|
9
|
+
gem.homepage = "https://github.com/moneybird/twisplay"
|
10
10
|
|
11
11
|
gem.files = `git ls-files`.split($\)
|
12
12
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
@@ -14,6 +14,6 @@ Gem::Specification.new do |gem|
|
|
14
14
|
gem.name = "twisplay"
|
15
15
|
gem.require_paths = ["lib"]
|
16
16
|
gem.version = Twisplay::VERSION
|
17
|
-
gem.add_dependency "twitter", "
|
18
|
-
gem.add_dependency "twitter-text", "~> 1.
|
17
|
+
gem.add_dependency "twitter", "4.8.1"
|
18
|
+
gem.add_dependency "twitter-text", "~> 1.6.3"
|
19
19
|
end
|
metadata
CHANGED
@@ -1,51 +1,46 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twisplay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 0.0.4
|
4
|
+
version: 0.0.5
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Joost Diepenmaat
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-09-17 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
|
-
|
14
|
+
name: twitter
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
-
none: false
|
21
|
-
name: twitter
|
19
|
+
version: 4.8.1
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
23
|
requirements:
|
26
|
-
- -
|
24
|
+
- - '='
|
27
25
|
- !ruby/object:Gem::Version
|
28
|
-
version:
|
29
|
-
none: false
|
26
|
+
version: 4.8.1
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
|
-
|
28
|
+
name: twitter-text
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
32
30
|
requirements:
|
33
31
|
- - ~>
|
34
32
|
- !ruby/object:Gem::Version
|
35
|
-
version: 1.
|
36
|
-
none: false
|
37
|
-
name: twitter-text
|
33
|
+
version: 1.6.3
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
|
-
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
37
|
requirements:
|
42
38
|
- - ~>
|
43
39
|
- !ruby/object:Gem::Version
|
44
|
-
version: 1.
|
45
|
-
none: false
|
40
|
+
version: 1.6.3
|
46
41
|
description: Display tweets on your website using Twitter's Design Guidelines.
|
47
42
|
email:
|
48
|
-
-
|
43
|
+
- joost@moneybird.com
|
49
44
|
executables: []
|
50
45
|
extensions: []
|
51
46
|
extra_rdoc_files: []
|
@@ -72,28 +67,28 @@ files:
|
|
72
67
|
- lib/twisplay.rb
|
73
68
|
- lib/twisplay/version.rb
|
74
69
|
- twisplay.gemspec
|
75
|
-
homepage: https://github.com/
|
70
|
+
homepage: https://github.com/moneybird/twisplay
|
76
71
|
licenses: []
|
72
|
+
metadata: {}
|
77
73
|
post_install_message:
|
78
74
|
rdoc_options: []
|
79
75
|
require_paths:
|
80
76
|
- lib
|
81
77
|
required_ruby_version: !ruby/object:Gem::Requirement
|
82
78
|
requirements:
|
83
|
-
- -
|
79
|
+
- - '>='
|
84
80
|
- !ruby/object:Gem::Version
|
85
81
|
version: '0'
|
86
|
-
none: false
|
87
82
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
83
|
requirements:
|
89
|
-
- -
|
84
|
+
- - '>='
|
90
85
|
- !ruby/object:Gem::Version
|
91
86
|
version: '0'
|
92
|
-
none: false
|
93
87
|
requirements: []
|
94
88
|
rubyforge_project:
|
95
|
-
rubygems_version:
|
89
|
+
rubygems_version: 2.0.3
|
96
90
|
signing_key:
|
97
|
-
specification_version:
|
91
|
+
specification_version: 4
|
98
92
|
summary: Display tweets on your website using Twitter's Design Guidelines.
|
99
93
|
test_files: []
|
94
|
+
has_rdoc:
|