sipp 0.1.1 → 0.1.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: afc06bf3d738f114978538c4871eb471445325d3
4
- data.tar.gz: 1622501a3713dc46419d4ab9bd3df6ccddf88f43
3
+ metadata.gz: '086bb9e51ee12559956fba75a010b63e1e8a0f8f'
4
+ data.tar.gz: 2f7d6032d53679caf7d565ec8cea564c1397026b
5
5
  SHA512:
6
- metadata.gz: 5482401382b1cb73967fd3d3b14b557c0fab803581adc2b6f8e4606c0078435452171337e4224297d15d852a515365f80c2d81b617707cee152e3daf34ba81ae
7
- data.tar.gz: e1db25fff8d9692e97f566891c35e9c001c772697fe3ed572290f19e6b2d176da6344bc846559eb2d4672fc8a891b41ed611803fe478e99b2678f48cf7098042
6
+ metadata.gz: 004c5f4a0d1027c9327f76bf99ed7fd0609bdfe510b0e0f72b644bf1669fd4b1a3b5411e2129ea0b90f441ba53c3d6938b80746ecab108b26fe2aa567df3cedd
7
+ data.tar.gz: 8e50c19a31002240c004dc11b702f81f1742e40755874f99017b2034ffe61df2db32b9582d1dceaed628223b42e8d2458f06affbfd17784865c81e42dbaa13bc
data/lib/sipp/code.rb CHANGED
@@ -80,7 +80,7 @@ module SIPP
80
80
  end
81
81
 
82
82
  def to_s
83
- [category, type, transmission_drive, fuel_ac].join(' - ')
83
+ [category, type, transmission_drive, fuel_ac].join(' - ') if valid?
84
84
  end
85
85
 
86
86
  private
data/lib/sipp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module SIPP
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
data/lib/sipp.rb CHANGED
@@ -10,6 +10,6 @@ module SIPP
10
10
  # Your code goes here...
11
11
  end
12
12
 
13
- require 'active_support/all'
13
+ require 'active_support/core_ext/object'
14
14
  require "sipp/code"
15
15
  require "sipp/dictionary"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sipp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Buslaev