twittermotion 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +0 -3
- data/README.md +9 -1
- data/Rakefile +2 -0
- data/lib/twittermotion.rb +0 -1
- data/lib/twittermotion/composer.rb +5 -0
- data/lib/twittermotion/version.rb +1 -1
- metadata +2 -2
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -2,6 +2,14 @@
|
|
2
2
|
|
3
3
|
## Usage
|
4
4
|
|
5
|
+
See Availability:
|
6
|
+
|
7
|
+
```ruby
|
8
|
+
if Twitter::Composer.available?
|
9
|
+
# Add tweet button etc
|
10
|
+
end
|
11
|
+
```
|
12
|
+
|
5
13
|
Sign in:
|
6
14
|
|
7
15
|
```ruby
|
@@ -61,4 +69,4 @@ end
|
|
61
69
|
|
62
70
|
## Pull Requests
|
63
71
|
|
64
|
-
It would be really cool if this was a fully-compatible Twitter API wrapper, so add whatever functionality you think helps!
|
72
|
+
It would be really cool if this was a fully-compatible Twitter API wrapper, so add whatever functionality you think helps!
|
data/Rakefile
CHANGED
data/lib/twittermotion.rb
CHANGED
@@ -16,6 +16,11 @@ module Twitter
|
|
16
16
|
TWTweetComposeViewController.canSendTweet
|
17
17
|
end
|
18
18
|
|
19
|
+
def self.compose(options = {}, &block)
|
20
|
+
@composer = Composer.new
|
21
|
+
@composer.compose(options, &block)
|
22
|
+
end
|
23
|
+
|
19
24
|
attr_accessor :compose_controller
|
20
25
|
attr_accessor :callback
|
21
26
|
attr_accessor :error, :result
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twittermotion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-04-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bubble-wrap
|