georeferencer 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c474fda4cb96db637cd8444f3b103cc71bf0080b43d5fd8d4b8773f2f2a28841
4
- data.tar.gz: b3a1fb73beb3341bdd5d0aa77585278536991319b831b8a4966da90d9971b680
3
+ metadata.gz: b40f2c6965bc2e20289a4b8f07c41adda6452a9f261fa4bdf0b781b47586352e
4
+ data.tar.gz: f6c3b4e7bfb07ddf512867213b179c5279c413cb486d52470f2880e7a3f9f8a2
5
5
  SHA512:
6
- metadata.gz: cde9684b35356cf528226493ce44a5ebf41bad40ed71a52338b1c06394fc36c4134877fe067334f3a1c91a5810e249c283298881dc2f736443c386a377aaf685
7
- data.tar.gz: 628249df275022300f26e424253bdfca8cf21f8c50e6234b5f7cd879542094e4ee41f59a7a037c1c2634e19979041d5ac8af268138aedd07a1c24fb616507919
6
+ metadata.gz: cb7f59a0a285f80808c3fcab9cfe6515253876f284d89ada41ac236dfbb737fac40ec9feabecd926fac7892caf9b3a674a9c2fee9546321c380062867c31fe0e
7
+ data.tar.gz: 0f5bce35ee83bea00de1ae7de83eb7c41d48f61de240594b9811e01c6f478189c944d167fa33a1744b4c27a167d4fd65f5762149f8901462e9f42e0572a36b19
@@ -24,5 +24,10 @@ module Georeferencer
24
24
  end
25
25
  {lat: (slat+nlat)/2, lng: (wlng+elng)/2}
26
26
  end
27
+
28
+ def url(width=200,height=nil)
29
+ [image[:url],'full',"#{width},#{height}",0,'default.jpg'].join("/")
30
+
31
+ end
27
32
  end
28
33
  end
@@ -1,3 +1,3 @@
1
1
  module Georeferencer
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: georeferencer
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
  - Ed Jones