countries_ru 0.0.1 → 0.0.2

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.
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe CountriesRu do
4
+ it "should return hash of country info by its key" do
5
+ CountriesRu['AU'].should be_kind_of(Hash)
6
+ end
7
+
8
+ it "should return list of keys" do
9
+ CountriesRu.keys.should be_kind_of(Array)
10
+ end
11
+ end
@@ -0,0 +1,2 @@
1
+ require 'countries_ru'
2
+ require 'pry'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: countries_ru
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -68,6 +68,7 @@ extensions: []
68
68
  extra_rdoc_files: []
69
69
  files:
70
70
  - .gitignore
71
+ - .rvmrc
71
72
  - Gemfile
72
73
  - LICENSE.txt
73
74
  - README.md
@@ -75,6 +76,9 @@ files:
75
76
  - countries_ru.gemspec
76
77
  - lib/countries_ru.rb
77
78
  - lib/countries_ru/version.rb
79
+ - lib/data/countries.yml
80
+ - spec/countries_ru_spec.rb
81
+ - spec/spec_helper.rb
78
82
  homepage: http://github.com/kalys/countries_ru
79
83
  licenses: []
80
84
  post_install_message:
@@ -100,4 +104,6 @@ signing_key:
100
104
  specification_version: 3
101
105
  summary: Gives you a country object full of all sorts of useful information in russian
102
106
  language.
103
- test_files: []
107
+ test_files:
108
+ - spec/countries_ru_spec.rb
109
+ - spec/spec_helper.rb