elasticfin 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6cf1202e392aa22187ef6aadf489a4c79ae1ebf595347e1f1b6f559f7e814acc
4
- data.tar.gz: 8ada24734f3e69162cfb062f3309987c0d74e076be05e4f2e68dd51f8599aeae
3
+ metadata.gz: bc334e1eb3e74bd55ae92ffffa882e37cabfd880ffc9805acbadcbd650c194ba
4
+ data.tar.gz: 9aadd251b7f919b4b666869349e4fe22f3a2763545f05010be482b97707b5658
5
5
  SHA512:
6
- metadata.gz: 973de4dc109f63a9818bf4e0dbd876255b0e9f6a57f4c17a2efbd578547f88e5d8c4abbeff167a8982f69d7331bd1d3deaabddf214e8aec36c35e64f8b6646a0
7
- data.tar.gz: 365489562e0b799b2b86b94b1a840f26cd20a3abd0b2592727b0acb7a3e2d139b392b0839f8335b297067a33887bb44a5b4351bccd3b9a8b95792f511f8766f6
6
+ metadata.gz: 911d6045711a8fa485842e4a582a397e7596793665fc3119c2a0fd51d1fa5a78dce0d7a9c5dcd00eac6209d44a42264c7946b669e0a418ddfb4e6bbde144a56e
7
+ data.tar.gz: 3e82f46de8923865c0c927134a72f1d1d3c90286683639a9995d16cd53cc23c193f0d750fcf4ded00beaf3be43bd03af1caf55f579701c068a9b4dbd9a686d9b
@@ -41,7 +41,7 @@ module Elasticfin
41
41
  end
42
42
 
43
43
  def register_billable_model(model)
44
- if @billable_model && @billable_model != model
44
+ if @billable_model && @billable_model.name != model.name
45
45
  raise Error, "Billable model already registered as #{@billable_model.name}. Only one model can use elasticfin_billable."
46
46
  end
47
47
  @billable_model = model
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Elasticfin
4
- VERSION = "0.1.5"
4
+ VERSION = "0.1.6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticfin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - elasticfin
@@ -47,7 +47,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  requirements: []
50
- rubygems_version: 3.7.2
50
+ rubygems_version: 3.6.9
51
51
  specification_version: 4
52
52
  summary: Ruby gem to connect to Elasticfin API to manage subscriptions and payments
53
53
  test_files: []