swissgrid 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.
- checksums.yaml +4 -4
- data/README.md +7 -2
- data/lib/swissgrid/version.rb +1 -1
- data/swissgrid.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a82d4b44b9702d704ca083676f7671d6bf0339d
|
4
|
+
data.tar.gz: 9ee948e0c81ca975544c18b13071ecc0c45decce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50a053f176df58ad8c73378ea99c426a509930ec06f8b6ae612aaf02bcfaa96837660821b7c86696143199e0c49e9a662654dff3feef04aefc75bba799cf6e1c
|
7
|
+
data.tar.gz: b2a496d58e87dee8affb707d1b704a260edc96fe6b1c4332fc2afd7a05ced6055f73fcd11552b4ab10d96f97e975b2a4856af7f0ff1d4e1b618a55d8db9c0c09
|
data/README.md
CHANGED
@@ -41,13 +41,18 @@ require 'swissgrid'
|
|
41
41
|
```ruby
|
42
42
|
gps_points = [ [46.881908, 7.471829], [47.220833, 7.028056] ]
|
43
43
|
|
44
|
-
#
|
44
|
+
# Convert to ch1903 points
|
45
45
|
ch1903_points = gps_points.map { |p| Swissgrid::CH1903(p) }
|
46
46
|
|
47
|
-
#
|
47
|
+
# Convert back to gps points
|
48
48
|
new_gps_points = ch1903_points.map { |p| Swissgrid::WGS84(p) }
|
49
49
|
```
|
50
50
|
|
51
|
+
##Changelog
|
52
|
+
* 0.0.2
|
53
|
+
* Add homepage link to gemspec.
|
54
|
+
* 0.0.1
|
55
|
+
* Publish first version.
|
51
56
|
|
52
57
|
## Contributing
|
53
58
|
|
data/lib/swissgrid/version.rb
CHANGED
data/swissgrid.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["a.rueedlinger@gmail.com"]
|
11
11
|
spec.summary = %q{A library to convert gps points into the Swiss coordinate system (CH1903).}
|
12
12
|
spec.description = %q{Swissgrid is a library to convert gps points into the Swiss coordinate system (CH1903).}
|
13
|
-
spec.homepage = ""
|
13
|
+
spec.homepage = "https://github.com/lexruee/swissgrid"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: swissgrid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Rueedlinger
|
@@ -58,7 +58,7 @@ files:
|
|
58
58
|
- spec/spec_helper.rb
|
59
59
|
- spec/swissgrid_spec.rb
|
60
60
|
- swissgrid.gemspec
|
61
|
-
homepage:
|
61
|
+
homepage: https://github.com/lexruee/swissgrid
|
62
62
|
licenses:
|
63
63
|
- MIT
|
64
64
|
metadata: {}
|