grassgis 0.4.0 → 0.4.1

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
  SHA1:
3
- metadata.gz: ecfff7260f29f4ce2f8add71b7ddba2160855b38
4
- data.tar.gz: 263eacdcc9a5abe048d75855c226c583add5a472
3
+ metadata.gz: 0391ccd83b3396a2f846319ff69a2f484ca02656
4
+ data.tar.gz: fa5d6e3c92d9e8df97cfbcf4332266c4edccb8b8
5
5
  SHA512:
6
- metadata.gz: c8a33caff0aa903fe0e5e86676b345b57db4028d8e309de3e8ef360a303473056325abad6c2543d46c5381d12dae53b2481eb54d1825a62b5ba8e2cf5d7bf53e
7
- data.tar.gz: 15598756b12558e632c200efbaf660fd3e030e17011d89335f57fb4b79b81b033b2c5b573d81c1af07d6a1289782499280ec889f28bb346c5a6501f9bec09ae1
6
+ metadata.gz: 14e1f99e4793061d22fd0efc81f45d08859720d41b3d7aa0b7ad3b88c526701b280adedfa1c801b89fdbe59c2fff48a0df7f7b0798f32feac7aeb7998546c3ac
7
+ data.tar.gz: 56893fb7c50fe78307e0025ff4785d13f11263d97ef38a1f76365cbac08a8311e5d916047cfaffd90ef89a467962447e4aeab2ec05bf767556236b460c6043bf
data/README.md CHANGED
@@ -80,6 +80,7 @@ So, you first need to know where is GRASS installed on your system
80
80
  to define the `:gisbase` option to point to the base directory of the GRASS
81
81
  installation.
82
82
 
83
+ For *Ubuntu* it will typically be `/usr/lib/grass70` for version 7 of GRASS.
83
84
  In *Windows*, if installed with
84
85
  [OSGeo4W](http://trac.osgeo.org/osgeo4w/) it is typically of
85
86
  the form `C:\OGeo4W\app\grass\grass-7.0.0` (the last directory will vary
data/Vagrantfile ADDED
@@ -0,0 +1,18 @@
1
+ # -*- mode: ruby -*-
2
+ # vi: set ft=ruby :
3
+
4
+ Vagrant.configure(2) do |config|
5
+ config.vm.box = "ubuntu/trusty32"
6
+
7
+ config.vm.provision "shell", inline: <<-SHELL
8
+ sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
9
+ sudo add-apt-repository -y ppa:grass/grass-stable
10
+ sudo apt-get update -y
11
+ sudo apt-get install -y grass7
12
+ sudo apt-get install -y grass7-dev
13
+ sudo apt-get install -y build-essential
14
+ sudo apt-get install -y ruby-dev
15
+ sudo apt-get install -y libsqlite3-dev
16
+ sudo gem install bundler
17
+ SHELL
18
+ end
@@ -23,6 +23,7 @@ module GrassGis
23
23
  config[:png_auto_write] = true unless config.key?(:png_auto_write)
24
24
  config[:gnuplot] ||= 'gnuplot -persist'
25
25
  config[:gui] ||= 'wxpython'
26
+ config[:pyhton] ||= 'python'
26
27
 
27
28
  config[:errors] ||= :raise
28
29
  config[:echo] = :commands unless config.key?(:echo)
@@ -96,6 +97,7 @@ module GrassGis
96
97
  replace_var 'GRASS_TRANSPARENT', bool_var(@config[:transparent])
97
98
  replace_var 'GRASS_PNG_AUTO_WRITE', bool_var(@config[:png_auto_write])
98
99
  replace_var 'GRASS_GNUPLOT', @config[:gnuplot]
100
+ replace_var 'GRASS_PYTHON', @config[:python]
99
101
 
100
102
  paths = ['bin', 'scripts']
101
103
  if OS.windows?
@@ -236,7 +238,7 @@ module GrassGis
236
238
  # end
237
239
  #
238
240
  def grass_version
239
- Gem::Version.new @config[:version]
241
+ GrassGis.version @config[:version]
240
242
  end
241
243
 
242
244
  private
@@ -1,3 +1,3 @@
1
1
  module GrassGis
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grassgis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Goizueta
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-31 00:00:00.000000000 Z
11
+ date: 2015-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sys_cmd
@@ -79,6 +79,7 @@ files:
79
79
  - LICENSE.txt
80
80
  - README.md
81
81
  - Rakefile
82
+ - Vagrantfile
82
83
  - grassgis.gemspec
83
84
  - lib/grassgis.rb
84
85
  - lib/grassgis/context.rb