fat_core 4.2.1 → 4.2.2

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: d12f27121edad6375e7788a6b8939b13d0273517
4
- data.tar.gz: 14466da4952364774be8ae21a486fb89c3056ea2
3
+ metadata.gz: 7f631fb83bfd88765971e3c983467fb76e5e732e
4
+ data.tar.gz: c4cf9ba29916a77847ba04cddc0e87e75470844c
5
5
  SHA512:
6
- metadata.gz: 076c5f5e62472a0d4ae0849aa0364c8aa8d2c11c46cc1aeac2a59cadd96e532c89b4b3b12c41fb4df5a1410895d045142584ca62415b4fbcd2bacda265b76d62
7
- data.tar.gz: 7de7ab41c62c27e23be7d1a7b6e55ff615b233942ef95d4aded80f19c73b59f9a11315360436677b18848117466c3c976969ac00a13c6d0adc56220c5f48172d
6
+ metadata.gz: 29aefb9bd3e0a97900d0b06aaf849cc438168eaa53133c5cfdb2733d6baa1aff3e0aec11373585e22140ba3d37604ca7c8265396146eacbc236210a9bcd99867
7
+ data.tar.gz: '08d0f61d089336160417ffdaed01eea0b9fd774e80b44708cdfe781c6f7e028a570559f2f733ab40ac72e93d6411c4b071fc9ce687121d4744e342dc666d1378'
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Build Status](https://travis-ci.org/ddoherty03/fat_core.svg?branch=master)](https://travis-ci.org/ddoherty03/fat_core)
2
+
1
3
  # FatCore
2
4
 
3
5
  fat-core is a simple gem to collect core extensions and a few new classes that
data/lib/fat_core/date.rb CHANGED
@@ -92,7 +92,7 @@ module FatCore
92
92
  # Format as an English string, like `'January 12, 2016'`
93
93
  # @return [String]
94
94
  def eng
95
- strftime('%B %e, %Y')
95
+ strftime('%B %-d, %Y')
96
96
  end
97
97
 
98
98
  # :category: Formatting
@@ -1,7 +1,7 @@
1
1
  module FatCore
2
2
  MAJOR = 4
3
3
  MINOR = 2
4
- PATCH = 1
4
+ PATCH = 2
5
5
 
6
6
  # FatCore version number
7
7
  VERSION = [MAJOR, MINOR, PATCH].compact.join('.')
@@ -424,6 +424,7 @@ describe Date do
424
424
  end
425
425
 
426
426
  it 'should be able to print itself in eng form' do
427
+ expect(Date.parse('2016-01-05').eng).to eq('January 5, 2016')
427
428
  expect(Date.today.eng).to eq('July 18, 2012')
428
429
  expect((Date.today + 1.day).eng).to eq('July 19, 2012')
429
430
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fat_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.1
4
+ version: 4.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel E. Doherty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-31 00:00:00.000000000 Z
11
+ date: 2017-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simplecov
@@ -175,7 +175,6 @@ files:
175
175
  - ".gitignore"
176
176
  - ".rspec"
177
177
  - ".rubocop.yml"
178
- - ".ruby-version"
179
178
  - ".travis.yml"
180
179
  - ".yardopts"
181
180
  - Gemfile
@@ -235,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
235
234
  version: '0'
236
235
  requirements: []
237
236
  rubyforge_project:
238
- rubygems_version: 2.5.2
237
+ rubygems_version: 2.6.11
239
238
  signing_key:
240
239
  specification_version: 4
241
240
  summary: fat_core provides some useful core extensions
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 2.3.3