neo4apis-twitter 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 46d2c081070478b95ab0e5e32e10c4bd6eea7f9c
4
- data.tar.gz: ebde68cef9e0f7fc048bd3e219e3d4fdb156eab9
3
+ metadata.gz: 0936202557b83e619d0e765494850b5f931b64fd
4
+ data.tar.gz: 28f03b256ff27ce89fdbe3562b7e235dd7561edd
5
5
  SHA512:
6
- metadata.gz: 9931b3d7b3f3a335ca4fe7444baa52de7dc281158bcc8f16e24878f87e777a7cd7aca5d9a46d602abf82ec1639a1ef4c3061bfc90ff413f52899d6ccf4fc9608
7
- data.tar.gz: 4a0df8b4b2a6f323fbbeadc52ff4dc38d1d5a06cfb5b78bc5a54944b1594f05e51ca6ab253f2a8b415afdec7c1642a6c373b490b136c748abc7bda8714570169
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
+ ```
@@ -1,4 +1,5 @@
1
1
  require 'twitter'
2
+ require 'thor'
2
3
 
3
4
  module Neo4Apis
4
5
  module CLI
@@ -3,7 +3,7 @@ $:.unshift lib unless $:.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "neo4apis-twitter"
6
- s.version = '0.3.0'
6
+ s.version = '0.3.1'
7
7
  s.required_ruby_version = ">= 1.9.1"
8
8
 
9
9
  s.authors = "Brian Underwood"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neo4apis-twitter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Underwood