dancer 0.9.0 → 0.9.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: 5cf70523bc4b8d7dccaf7597e7abc8fc39e1106a
4
- data.tar.gz: 401eb016fb3f5a36cf4ff19beecaa84c91161644
3
+ metadata.gz: f05d7279e0466277adb140030bc9c103cc54a066
4
+ data.tar.gz: a373b992972718bd623c88177c9dc1c585c00352
5
5
  SHA512:
6
- metadata.gz: 484d078cfaed881a026ad2652a755a8362e2aa5c9dfe6296bc2acb230e214240e30ef912af75c90f8495009090d0331bfb3cbbcc8545db7c8aed48421dff9e26
7
- data.tar.gz: 136d0d1c88c0d1bc728ec5c8e4693209145aadd11e1ec68ca35710def91e4bb9580925320d59bb8b4db26b6a185f85263a1da08a44b109f2ba1c15a0944403f7
6
+ metadata.gz: 950e53cb0af66cad9fee2cc9e292c877c4353813a58bb933f9f1ad02f5cc6264214cfd8927e495bb8b8fb5c60bafbaa59948f98350dd977a26caea82ee0fe539
7
+ data.tar.gz: d4fd301e4e610314d5eda71087a9d3aecb258e055f0c1db65f110cf39635e4b08a213705113fdcc4998ae3a6ddafdc2fff4f4578006823b45f7187b5104f7693
@@ -1,5 +1,6 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 2.3.0
4
+ - 2.3.1
5
+ - 2.2.5
5
6
  before_install: gem install bundler
data/README.md CHANGED
@@ -108,7 +108,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
108
108
 
109
109
  ## Contributing
110
110
 
111
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/dancer.
111
+ Bug reports and pull requests are welcome on GitHub at https://github.com/steveh/dancer.
112
112
 
113
113
 
114
114
  ## License
@@ -13,7 +13,7 @@ class Dancer
13
13
  def self.extent(start_at, size, step, exclude_end = false)
14
14
  offset = exclude_end ? 0 : 1
15
15
 
16
- end_at = if size.negative?
16
+ end_at = if size < 0
17
17
  start_at + (step * size) + offset
18
18
  else
19
19
  start_at + (step * size) - offset
@@ -1,3 +1,3 @@
1
1
  class Dancer
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dancer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Hoeksema