auto_pilot 1.0.0 → 2.0.0

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: 902d9d2293959bd5df82a0c202296dd1851e614e
4
- data.tar.gz: 803781a9b845a3df4bebb627bc95679f67589f98
3
+ metadata.gz: 336c71c811180885f98141ba8c7eb36a6380cc53
4
+ data.tar.gz: 0dac031a21e0edab2aaeb678300b9257616ec5db
5
5
  SHA512:
6
- metadata.gz: 0f60d06719719aa89926c3b2bf9d379b2dab036e7acbeb5a63eac56fda5d389962f18e5c8649d13ec2beaac0cae9c1a2ef1b73d310d02698deb56f1f205bdbf8
7
- data.tar.gz: f85a92be6d8cb1f5628a70478898a4cff3a66d65d1623f6ea141d41cb27781e0dc5f85270b72a89ce3f6a30f30a3ac078cfa7fb6eda52dfe247fea316533f622
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.4.0'` to gemfile as development dependency
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
 
@@ -41,7 +41,8 @@ module AutoPilot
41
41
  private
42
42
 
43
43
  def answer_response(page)
44
- throttle { RubyStackoverflow.users_with_answers([AutoPilot.configuration.user_id], 'page' => page) }
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
@@ -1,3 +1,3 @@
1
1
  module AutoPilot
2
- VERSION = '1.0.0'
2
+ VERSION = '2.0.0'
3
3
  end
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: 1.0.0
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-07 00:00:00.000000000 Z
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.2.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