trophonius 1.2.6.2 → 1.2.6.3

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
  SHA256:
3
- metadata.gz: 1bc9d3598ba559ee5887065d65fe023952f2192a1a5472d23d431304ba4d4cf7
4
- data.tar.gz: dd179a8dc6dfa8810f91e877a04ee5af8d2ec592dbc6f9b2230ecefb86cb9eb1
3
+ metadata.gz: 4ae60ee7f5268ca52e52b3debe45b23fb345a1e6fb82e98753225cf05d2bfdab
4
+ data.tar.gz: 5851e544d81d093338fec8b5ae2cd5f54888e9e52c291d0a3a2566e89af29726
5
5
  SHA512:
6
- metadata.gz: 102ec3dc23e80c19ec238051454363f1d263e5e209b60f86cfad6d1498e03e65273ff2127ea57fbb61d83e1bcd7d1f715fe187b78b465bcfc3f95700a1f2e6d1
7
- data.tar.gz: 535b030eb950218d4bb54d1a554834c03e402abc56bff1c40e44637467c8274b47c7657b0d73b18f95da4a8d95b8d4a304c5873cfa2cbb37fd60beb6cb899c82
6
+ metadata.gz: 564cf24b8f721c61e1522973d863bf5aa0c78c80745d31571183475b01cac5aa2b7f05aaa373ad1d375801223b75e18dfb2d631b6ed44064cedf2e8cb61eaef3
7
+ data.tar.gz: c3351a53038cb94963b37dd0b1e1b943ccc8a5991b26fcf31879d0e7de1980bb5b2e76d0ea029ff288b43dc455a9d7fb01c2ef8a808fd44f7dddd172f0c351e6
@@ -2,4 +2,6 @@ class Date
2
2
  def to_fm
3
3
  self.strftime('%m/%d/%Y')
4
4
  end
5
+
6
+ alias convert_to_fm to_fm
5
7
  end
@@ -0,0 +1,5 @@
1
+ class DateTime
2
+ def self.parse_fm_timestamp(timestamp)
3
+ DateTime.strptime(timestamp, '%m/%d/%Y %H:%M:%S')
4
+ end
5
+ end
@@ -2,4 +2,5 @@ class Time
2
2
  def to_fm
3
3
  self.strftime('%m-%d-%Y %H:%M:%S')
4
4
  end
5
+ alias convert_to_fm to_fm
5
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trophonius
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.6.2
4
+ version: 1.2.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kempen Automatisering
@@ -69,6 +69,7 @@ files:
69
69
  - lib/trophonius_config.rb
70
70
  - lib/trophonius_connection.rb
71
71
  - lib/trophonius_date.rb
72
+ - lib/trophonius_date_time.rb
72
73
  - lib/trophonius_error.rb
73
74
  - lib/trophonius_model.rb
74
75
  - lib/trophonius_query.rb