auto_pilot 1.0.0 → 2.0.0
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 +5 -3
- data/lib/auto_pilot/api.rb +2 -1
- data/lib/auto_pilot/util/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 336c71c811180885f98141ba8c7eb36a6380cc53
|
|
4
|
+
data.tar.gz: 0dac031a21e0edab2aaeb678300b9257616ec5db
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c24c842c87bb8e67b9e41936a56b475548b8ea80e35f5cf23b2c77af609dcb757f8c62505c6d48d8ec96b509fcf5e67b53dbf36365f15e8f9deffaf94a32902f
|
|
7
|
+
data.tar.gz: e8b04b97249b3e04339d782d92521c2eb4a9a82ba92b283947e7f399856157d8da281a86c9bec6c6ea151c62c86cfd8b56a9a1a55929ecdcf7c0883ac84299ce
|
data/README.md
CHANGED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
|
|
8
8
|
a step forward in blog automation
|
|
9
9
|
- use this ruby gem to convert your [stackoverflow](http://www.stackoverflow.com/) profile to a [jekyll blog](http://jekyllrb.com/) and [more](#do-i-have-to-use-jekyll)
|
|
10
|
-
- fetch questions for a specifc user and convert them to markdown or html
|
|
10
|
+
- fetch questions for a specifc user id and convert them to markdown or html
|
|
11
11
|
|
|
12
12
|
## how do i
|
|
13
13
|
- __install autpilot?__
|
|
14
|
-
- add `gem 'auto_pilot', '~> 0.
|
|
14
|
+
- add `gem 'auto_pilot', '~> 2.0.0'` to gemfile as development dependency
|
|
15
15
|
- run `bundle install`
|
|
16
16
|
- __use autopilot?__
|
|
17
17
|
- run `bundle exec autopilot` from command line
|
|
@@ -37,7 +37,9 @@ customized templates are as easy as updating your config:
|
|
|
37
37
|
________________________
|
|
38
38
|
|
|
39
39
|
### do i have to use jekyll
|
|
40
|
-
__no__. we are just generating partials from stackoverflow posts - they could be integrated with wordpress or rails projects with ease
|
|
40
|
+
__no__. we are just generating partials from stackoverflow posts - they could be integrated with wordpress or rails projects with ease.
|
|
41
|
+
|
|
42
|
+
afterall, its just html :)
|
|
41
43
|
|
|
42
44
|
you will also want to set `disable_front_matter = true` in your config when using outside of jekyll
|
|
43
45
|
|
data/lib/auto_pilot/api.rb
CHANGED
|
@@ -41,7 +41,8 @@ module AutoPilot
|
|
|
41
41
|
private
|
|
42
42
|
|
|
43
43
|
def answer_response(page)
|
|
44
|
-
|
|
44
|
+
# NOTE: id must be string
|
|
45
|
+
throttle { RubyStackoverflow.users_with_answers([AutoPilot.configuration.user_id.to_s], 'page' => page) }
|
|
45
46
|
end
|
|
46
47
|
|
|
47
48
|
def add_config_client_key
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: auto_pilot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Luke Fender
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-04-
|
|
11
|
+
date: 2015-04-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: nokogiri
|
|
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
180
180
|
version: '0'
|
|
181
181
|
requirements: []
|
|
182
182
|
rubyforge_project:
|
|
183
|
-
rubygems_version: 2.
|
|
183
|
+
rubygems_version: 2.4.5
|
|
184
184
|
signing_key:
|
|
185
185
|
specification_version: 4
|
|
186
186
|
summary: convert your stackoverflow to a github blog
|