isic 1.0.3 → 1.0.5

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
  SHA1:
3
- metadata.gz: 22f2116c09217baebfa04f3fc5e2a8c884239218
4
- data.tar.gz: 4fbc6075ac3ae7192dab2478a81025bad97a07ec
3
+ metadata.gz: e87b6d4574501cfe81a6a12092a9f6175ad7a00b
4
+ data.tar.gz: dd50b535ff7aa07d421c844556b0e60a4db24de1
5
5
  SHA512:
6
- metadata.gz: 337c16d195a072740194466926cd3808be6be39d1748556c282ccea9708edad9ddd8bfad18e4d832c7a3e0ee51caa79f68a241aa30fe2091a7595d224c64456e
7
- data.tar.gz: 6e0940c23e25de503165a235d8292d71545ff196e06798ff8872a5f1c0699b971c6b982315ab069d3d450069c906076cf55d88f1f91853bae22fa25b95dc09ea
6
+ metadata.gz: 6c6204f11997436a85608b36a98dc7983b8ef4f503d81ce154c718c1210e9c19470b895de6bb1a61cc21189376d11348b779422fc8d3046fbd5b76301f662e1a
7
+ data.tar.gz: 44c26c6fb2fb09399f0663b0495bf8dec286a454a883e0de24e29df6fe6837f05a23576c66e9534a4b6683f7976ccbc0ae50815c29cc4b2f7b6082d40c9c9fb2
data/.gitignore CHANGED
@@ -16,4 +16,5 @@ test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
18
  .idea
19
- .rvmrc
19
+ .ruby-version
20
+ .ruby-gemset
@@ -0,0 +1,13 @@
1
+ # Change Log
2
+
3
+ ## [1.0.5] - 2015-05-21
4
+
5
+ ### Added
6
+ - This CHANGELOG.md file
7
+
8
+ ### Changed
9
+ - Improve README.md
10
+ - Change .rvmrc for .ruby-version and .ruby-gemset in .gitignore
11
+
12
+ ### Fixed
13
+ - [Fix files path ](https://github.com/javiervidal/isic/pull/1)
data/README.md CHANGED
@@ -118,6 +118,17 @@ Descriptions are returned in English by default, but Spanish and French are supp
118
118
  {:code=>"089", :description=>"Activités extractives, n.c.a."}
119
119
  ]
120
120
  ```
121
+ ## How to Launch the Console
122
+
123
+ $ rake console
124
+
125
+ ## How to Run the Test Suite
126
+
127
+ $ rspec
128
+
129
+ ## Changelog
130
+
131
+ [Changelog](https://github.com/javiervidal/isic/blob/master/CHANGELOG.md)
121
132
 
122
133
  ## Contributing
123
134
 
@@ -129,7 +140,7 @@ Descriptions are returned in English by default, but Spanish and French are supp
129
140
 
130
141
  ## Code Status
131
142
 
132
- [![Gem Version](http://img.shields.io/badge/gem-v1.0.3-blue.svg)](https://rubygems.org/gems/mic)
143
+ [![Gem Version](http://img.shields.io/badge/gem-v1.0.5-blue.svg)](https://rubygems.org/gems/mic)
133
144
  [![Build Status](https://travis-ci.org/javiervidal/isic.svg?branch=master)](https://travis-ci.org/javiervidal/isic)
134
145
  [![Coverage Status](https://coveralls.io/repos/javiervidal/isic/badge.png?branch=master)](https://coveralls.io/r/javiervidal/isic?branch=master)
135
146
  [![Code Climate](https://codeclimate.com/github/javiervidal/isic/badges/gpa.svg)](https://codeclimate.com/github/javiervidal/isic)
@@ -2,9 +2,9 @@ class Isic
2
2
  class Search
3
3
 
4
4
  FILES = {
5
- en: 'files/ISIC_Rev_4_english_structure.txt',
6
- es: 'files/ISIC_Rev_4_spanish_structure.txt',
7
- fr: 'files/ISIC_Rev_4_french_structure.txt'
5
+ en: File.join(File.dirname(File.expand_path(__FILE__)), '../../files/ISIC_Rev_4_english_structure.txt'),
6
+ es: File.join(File.dirname(File.expand_path(__FILE__)), '../../files/ISIC_Rev_4_spanish_structure.txt'),
7
+ fr: File.join(File.dirname(File.expand_path(__FILE__)), '../../files/ISIC_Rev_4_french_structure.txt')
8
8
  }
9
9
 
10
10
  ENCODINGS = {
@@ -1,3 +1,3 @@
1
1
  class Isic
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Vidal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-01 00:00:00.000000000 Z
11
+ date: 2015-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -107,6 +107,7 @@ files:
107
107
  - ".gitignore"
108
108
  - ".rspec"
109
109
  - ".travis.yml"
110
+ - CHANGELOG.md
110
111
  - Gemfile
111
112
  - LICENSE.txt
112
113
  - README.md
@@ -143,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
144
  version: '0'
144
145
  requirements: []
145
146
  rubyforge_project:
146
- rubygems_version: 2.2.2
147
+ rubygems_version: 2.4.6
147
148
  signing_key:
148
149
  specification_version: 4
149
150
  summary: International Standard Industrial Classification