tzf 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/lib/tzf/version.rb +1 -1
  4. metadata +1 -2
  5. data/src/lib.rs +0 -17
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc9681dc6a2bb95ba62e43cb122879399b9bbfa9751f3ed9a6de92fc51f736c3
4
- data.tar.gz: 9c8bef98af1a0cf3dd7a9b07ec11b62652505db085ccb56fb4a1b13ee8b8fca9
3
+ metadata.gz: f6d89cbe609ea7f6d415702c7368b6e1a87287254523f4386223f38f53421416
4
+ data.tar.gz: 4dd188170db9ac634795dc02ffdcea14d7b52bbe5cf2756d07ff742183cf58c4
5
5
  SHA512:
6
- metadata.gz: 850b58876ec961f9ce190b85aa67e659f0b098a8f4e5480340fea544568028894f7cda445d316602cd2857eb426c69b0bc8ec065cbb6cd69af4daa934ffd627e
7
- data.tar.gz: 0b0532c210113afdab0a22a2e657fd2cd5c04940a7c0cb4b9d6246ef13454545e207ad2da9568f9fff6fd03af76d550cc8020ac131d388152e89e1c5e0812bb3
6
+ metadata.gz: 568d7e618a3d1d317bd1dd3704c7e0a7a6c802c5e87e49bf5092937d140c9b2584d822ae2ddae2e3fc941c705e7669ffcd00674432230170bcd82c131c4138cb
7
+ data.tar.gz: 8ada6243d4a35df6b12990a3170b7272ee3c5cf3166204a46783df962291c6cd996c62afaf61465b9cc4acf5cc482ea756c614e167d53644608be62e1f9dc62e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tzf (0.2.2)
4
+ tzf (0.2.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/lib/tzf/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TZF
4
- VERSION = "0.2.2"
4
+ VERSION = "0.2.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tzf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin McCormack
@@ -36,7 +36,6 @@ files:
36
36
  - lib/tzf.rb
37
37
  - lib/tzf/version.rb
38
38
  - sig/tzf.rbs
39
- - src/lib.rs
40
39
  - tzf.gemspec
41
40
  homepage: https://github.com/HarlemSquirrel/tzf-rb
42
41
  licenses:
data/src/lib.rs DELETED
@@ -1,17 +0,0 @@
1
- use lazy_static::lazy_static;
2
- use std::ffi::CString;
3
- use tzf_rs::DefaultFinder;
4
-
5
- lazy_static! {
6
- static ref FINDER: DefaultFinder = DefaultFinder::new();
7
- }
8
-
9
- #[no_mangle]
10
- pub extern fn get_tz_name(lat: f64, lng: f64) -> CString {
11
- // let finder = DefaultFinder::new();
12
-
13
- // Create a CString so we can read this in Ruby with FFI
14
- let tz_name = CString::new(FINDER.get_tz_name(lng, lat));
15
-
16
- return tz_name.unwrap();
17
- }