mmdb 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/ext/mmdb/mmdb.c +7 -7
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e5f7bbfaa5e24e81cfd768fa0832cabc759e253
4
- data.tar.gz: d016b0ec38b2ac3fca4d8fae2f19eebf1f81fa52
3
+ metadata.gz: e0276f5f017337d1f301c655e11e52c090d8114e
4
+ data.tar.gz: 3f462b56c286843a40c67011d3152bef5165d0d9
5
5
  SHA512:
6
- metadata.gz: 9dff7fdc715b8e670a316da3e790f705b027d54bbd483e333f240dbe547da799e325cb803369eaefedc22d26a56b948d250f6fb104509ca0a5f9286aeb32daed
7
- data.tar.gz: 8657a8313b32767fd274cb02fdf2919a2b1882abc41c30a98e5d966e9a63f891d2c1e5c2484a0e744d95f1dca51e92d47c92d33d15764c35d684270edccfc890
6
+ metadata.gz: 7b0da96b547bae7bf9ee2edae5f019d56cd57a5904028c6b815921e9d92e9e240ff339f2885d9a0708a35007d4c5d142aa7234bba86a2c3601be48e9338a2f3f
7
+ data.tar.gz: 304f0280000e95fbcdfcbd5606b013903e53bd5b51b2aba04e17e42b1402b62aaf19993b099effdf2ca0aac2d939343bf5dc7807090ffda69b15bc835aca2aac
@@ -194,13 +194,13 @@ maxminddb_close(VALUE self) {
194
194
 
195
195
  void
196
196
  maxminddb_init_rb_variables() {
197
- rb_sym_city = rb_to_symbol(rb_str_new2(city));
198
- rb_sym_country = rb_to_symbol(rb_str_new2(country));
199
- rb_sym_country_code = rb_to_symbol(rb_str_new2(country_code));
200
- rb_sym_continent = rb_to_symbol(rb_str_new2(continent));
201
- rb_sym_latitude = rb_to_symbol(rb_str_new2(latitude));
202
- rb_sym_longitude = rb_to_symbol(rb_str_new2(longitude));
203
- rb_sym_postcode = rb_to_symbol(rb_str_new2(postcode));
197
+ rb_sym_city = ID2SYM(rb_intern(city));
198
+ rb_sym_country = ID2SYM(rb_intern(country));
199
+ rb_sym_country_code = ID2SYM(rb_intern(country_code));
200
+ rb_sym_continent = ID2SYM(rb_intern(continent));
201
+ rb_sym_latitude = ID2SYM(rb_intern(latitude));
202
+ rb_sym_longitude = ID2SYM(rb_intern(longitude));
203
+ rb_sym_postcode = ID2SYM(rb_intern(postcode));
204
204
  }
205
205
 
206
206
  void
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mmdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - yoppi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-04 00:00:00.000000000 Z
11
+ date: 2016-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler