propinsi 0.0.5 → 0.0.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.
@@ -32,7 +32,7 @@ provinces:
32
32
  - name: Kepulauan Riau
33
33
  id: 10
34
34
 
35
- - name: Dki Jakarta
35
+ - name: DKI Jakarta
36
36
  id: 11
37
37
 
38
38
  - name: Jawa Barat
@@ -34,7 +34,7 @@ module Propinsi
34
34
  end
35
35
 
36
36
  def Propinsi.findpropinsi(input)
37
- prop=self.all
37
+ prop=self.propinsi
38
38
  index=prop.each_with_index do |row,idx|
39
39
  break idx if(input.to_s == row["id"].to_s || row["name"].to_s.downcase[input.to_s.downcase])
40
40
  end
@@ -1,3 +1,3 @@
1
1
  module Propinsi
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: propinsi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Perdana Adhitama