shiftly 0.1.3 → 0.1.4

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: a282b0ea4c0404881bfe8481176414c5b32f6479
4
- data.tar.gz: af8be5e5883e58e421c585939550cf56e03c6eee
3
+ metadata.gz: e9b9c13fbe9c0dcefa9de355618f882ed58fc031
4
+ data.tar.gz: ad73ee25acafda5d3f34d72693d18f4fd53d1e9a
5
5
  SHA512:
6
- metadata.gz: 914524557cd4dd32c128871d8b4adde210fd44bfb79763445ed93af6b0065dbd3bf05d60e473151ecf908ded5a7239d736da230519b922572c972b2ce5c069e6
7
- data.tar.gz: 2e5f55cc8fe3069f66a027eff0366ac8ab00d20fafa046ffb2c4975e16358a219f043c69b85f25683cc0b339030375893a1a9df676390cbb03f30269e3d761d9
6
+ metadata.gz: 6ebadc9f3980f67a2346c87d0f62acd297eded6f416ebc97abc92e297007569f243cd1466504c727a1ca3a68281647cfd3a0db7b143e1abf35551664ee14612c
7
+ data.tar.gz: 65562a1a0ff2d51f12c465fc92107beaddd18d2ebb85982468b5f226a5ff4db00a478d075d3775d853a570ef6329bbe2fa76728db69aa0e0e195cfb7ca7c4080
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  ## Shiftly
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/shiftly.svg)](http://badge.fury.io/rb/shiftly)
4
+ [![Build Status](https://travis-ci.org/logicorg/shiftly.svg?branch=master)](https://travis-ci.org/logicorg/shiftly)
4
5
  [![Code Climate](https://codeclimate.com/github/logicorg/shiftly/badges/gpa.svg)](https://codeclimate.com/github/logicorg/shiftly)
5
6
 
6
7
  Factory shift methods collection by [RubyLogic, PL](http://rubylogic.eu)
@@ -28,19 +29,13 @@ Then you have access to the following extensions.
28
29
  ```ruby
29
30
  Time.now.to_factory_date
30
31
  # returns yesterday when it is before 6am and today otherwise
31
- ```
32
32
 
33
- ```ruby
34
33
  Time.now.shift
35
34
  # returns shift number for datetime
36
- ```
37
35
 
38
- ```ruby
39
36
  Time.now.shift_beg
40
37
  # returns shift beginning datetime
41
- ```
42
38
 
43
- ```ruby
44
39
  Time.now.shift_end
45
40
  # returns shift end datetime
46
41
  ```
@@ -50,9 +45,7 @@ Time.now.shift_end
50
45
  ```ruby
51
46
  1.next_shift
52
47
  # returns next shift for 1, 2 or 3
53
- ```
54
48
 
55
- ```ruby
56
49
  1.prev_shift
57
50
  # returns previous shift for 1, 2 or 3
58
51
  ```
data/Rakefile CHANGED
@@ -14,9 +14,8 @@ RDoc::Task.new(:rdoc) do |rdoc|
14
14
  rdoc.rdoc_files.include('lib/**/*.rb')
15
15
  end
16
16
 
17
-
17
+ task(:default).clear
18
18
  task :default => :spec
19
19
 
20
-
21
20
  Bundler::GemHelper.install_tasks
22
21
 
@@ -3,7 +3,7 @@ module Shiftly
3
3
  class ConfigGenerator < Rails::Generators::Base # :nodoc:
4
4
 
5
5
  def self.gem_root
6
- File.expand_path("../../..", __FILE__)
6
+ File.expand_path("../../../..", __FILE__)
7
7
  end
8
8
 
9
9
  def self.source_root
@@ -1,3 +1,3 @@
1
1
  module Shiftly
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shiftly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alek Niemczyk