atech-billy 1.0.13 → 1.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/billy.rb +1 -1
  2. data/lib/billy/base_model.rb +5 -1
  3. metadata +3 -3
@@ -12,7 +12,7 @@ require 'billy/invoice'
12
12
 
13
13
  module Billy
14
14
 
15
- VERSION = '1.0.13'
15
+ VERSION = '1.0.14'
16
16
 
17
17
  class << self
18
18
 
@@ -7,7 +7,11 @@ module Billy
7
7
  end
8
8
 
9
9
  def method_missing(param)
10
- @attributes[param.to_s] || super
10
+ if @attributes.keys.map(&:to_s).include?(param.to_s)
11
+ @attributes[param.to_s]
12
+ else
13
+ super
14
+ end
11
15
  end
12
16
 
13
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atech-billy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.13
4
+ version: 1.0.14
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-11-12 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: basic_ssl
16
- requirement: &70346225972260 !ruby/object:Gem::Requirement
16
+ requirement: &70193154976780 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70346225972260
24
+ version_requirements: *70193154976780
25
25
  description:
26
26
  email: adam@atechmedia.com
27
27
  executables: []