neo4apis-twitter 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +14 -0
- data/lib/neo4apis/cli/twitter.rb +1 -0
- data/neo4apis-twitter.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0936202557b83e619d0e765494850b5f931b64fd
|
|
4
|
+
data.tar.gz: 28f03b256ff27ce89fdbe3562b7e235dd7561edd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0a22abc8ed4452e8c196f95e776bcbbe819732ad34c751afb3a33a0c192435843b482750958825bc0dea3a3c94ebbe7065e414ea419f2b22118e77bc7f5436c3
|
|
7
|
+
data.tar.gz: f9b29e6159243fbbf5dd61cdcfa19b5b7aca514783a8e45a97f19d7c235e10b8c050377b5f3ac11f30c6250f52b2d04a18fb0f35306023c932e2336598a1696c
|
data/README.md
CHANGED
|
@@ -11,6 +11,8 @@ You can either use the gem to write custom ruby code to import data or you can s
|
|
|
11
11
|
|
|
12
12
|
`gem 'neo4apis-twitter'` in your Gemfile or `gem install neo4apis-twitter`
|
|
13
13
|
|
|
14
|
+
### Usage
|
|
15
|
+
|
|
14
16
|
#### Ruby code
|
|
15
17
|
|
|
16
18
|
```ruby
|
|
@@ -54,3 +56,15 @@ Supported options:
|
|
|
54
56
|
* `locale`
|
|
55
57
|
* `result_type`
|
|
56
58
|
* `until`
|
|
59
|
+
|
|
60
|
+
##### Config file
|
|
61
|
+
|
|
62
|
+
The default path for the config file is `config/twitter.yml`, but you can specify your path with the `--config-path` option. The configuration file should match the keys in the [twitter gem`s documentation](https://github.com/sferik/twitter/blob/master/examples/Configuration.md). The following is an example:
|
|
63
|
+
|
|
64
|
+
```yaml
|
|
65
|
+
---
|
|
66
|
+
:consumer_key: <consumer_key>
|
|
67
|
+
:consumer_secret: <consumer_secret>
|
|
68
|
+
:access_token: <access_token>
|
|
69
|
+
:access_token_secret: <access_token_secret>
|
|
70
|
+
```
|
data/lib/neo4apis/cli/twitter.rb
CHANGED
data/neo4apis-twitter.gemspec
CHANGED