has_contact_number 0.1.0 → 0.1.1

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: ffbc27af06a9ce3aa4bba728fd3fd108916f5503
4
- data.tar.gz: 5729a354b6244a8d56f1a042dd2fe13ba163a59a
3
+ metadata.gz: b3f4062d2509f470d0c88a16b2a435e0a8d18438
4
+ data.tar.gz: fa332c183ee9292022524be0b939bd393eb38389
5
5
  SHA512:
6
- metadata.gz: 387dd6edce276bb6af1fa9e9e1156df4e85211a408488984bb79f2bae95f5403546dc07fb339eec77dd6430c8b751e48ba2aafa6a674072d81990b9bf1aa80ff
7
- data.tar.gz: 58f1bf86989806033a3850e4eab3f5c223a3a0eda89d0974925f5d6394956b85295011983e2179defbb2bc3af759cfb858afd47305a315a6e6ff684c5c1e0282
6
+ metadata.gz: e0fa191056be7dd2deeae8583b030d6d8291c606adb2a269feaa16170865f8c20077d4191154fa1ffa29de5a23ede78d4ca63f4b61182af27bb8e0b5db001866
7
+ data.tar.gz: 8bafac5bb99ccd228ca22f01f24cac433bfca4e69892b8ceacd68bbfd4873b957cdd5607d2842e9c35fa9da0b9c958e71fff1d6b308e7a13338b3fe93878e7fc
@@ -1,12 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
  module ActionView::Helpers::FormOptionsHelper
3
3
 
4
- puts '------------------------------------HasContactNumber::HelperMethods---------------------'
5
4
  def options_for_isd_code_select
6
5
  @isd_code_options ||= IsoCountryCodes.all.map do |record|
7
-
8
6
  [record.calling_code, record.calling_code.delete('+').rjust(4, '0')]
9
-
10
7
  end
11
8
  end
12
9
 
@@ -2,7 +2,6 @@
2
2
  module HasContactNumber::ModelMethods
3
3
 
4
4
  extend ActiveSupport::Concern
5
- puts '---------------------HasContactNumber::ModelMethods---------------------'
6
5
  module ClassMethods
7
6
 
8
7
  def contact_number_attributes(*columns)
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module HasContactNumber
3
3
 
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
 
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has_contact_number
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anand Bait