slurper 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/slurper.rb +2 -2
  2. metadata +2 -2
data/lib/slurper.rb CHANGED
@@ -3,10 +3,10 @@ require 'story'
3
3
  class Slurper
4
4
  attr_accessor :story_file, :stories
5
5
 
6
- def self.slurp(story_file, reverse = true)
6
+ def self.slurp(story_file, reverse)
7
7
  slurper = new(story_file)
8
8
  slurper.yamlize_story_file
9
- slurper.stories.reverse! if reverse
9
+ slurper.stories.reverse! unless reverse
10
10
  slurper.create_stories
11
11
  end
12
12
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slurper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wes Gibbs
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2010-02-05 00:00:00 -05:00
15
+ date: 2010-02-11 00:00:00 -05:00
16
16
  default_executable: slurp
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency