gb_mapfish_appserver 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,8 @@ class PrintController < ApplicationController
10
10
 
11
11
  skip_before_filter :verify_authenticity_token, :only => :create # allow /print/create with POST
12
12
 
13
- caches_action :info
13
+ #cache info.json
14
+ caches_action :info, :cache_path => Proc.new { :protocol => request.protocol }
14
15
 
15
16
  class JavaError < Exception
16
17
  def initialize(cmd, message)
@@ -20,10 +20,10 @@ Gem::Specification.new do |s|
20
20
  s.add_dependency "acts_as_tree", "0.2.0"
21
21
 
22
22
  s.add_dependency "devise", "~> 2.2.0"
23
- s.add_dependency "cancan", "~> 1.6.8"
23
+ s.add_dependency "cancan", "1.6.8" # 1.6.9 breaks aliasing to :show (https://github.com/ryanb/cancan/pull/660#issuecomment-13257667)
24
24
 
25
25
  s.add_dependency "rails_admin", "~> 0.4.0"
26
- s.add_dependency "fastercsv"# required for rails_admin and Ruby <= 1.8
26
+ s.add_dependency "fastercsv" # required for rails_admin and Ruby <= 1.8
27
27
  s.add_dependency "sass", "~> 3.2.12" # rails_admin 0.0.5 does not work with sass >=3.3
28
28
 
29
29
  s.add_dependency "GeoRuby", ">= 0.1.4" #used for reading envelope, e.g. in GeoModel#bbox
@@ -1,3 +1,3 @@
1
1
  module GbMapfishAppserver
2
- VERSION = "0.9.2"
2
+ VERSION = "0.9.3"
3
3
  end
@@ -26,6 +26,7 @@ DEFAULT_TOPIC = {
26
26
  DEFAULT_SCALE = 310000
27
27
  DEFAULT_X = 692000
28
28
  DEFAULT_Y = 252000
29
+ DEFAULT_ZOOM = 4
29
30
 
30
31
  # regex for WMS parameters to detect if layer filter is used
31
32
  LAYER_FILTER_REGEX = /^filter_.+$/i
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gb_mapfish_appserver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-05-28 00:00:00.000000000 Z
12
+ date: 2014-06-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &12419980 !ruby/object:Gem::Requirement
16
+ requirement: &12008560 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.2.13
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *12419980
24
+ version_requirements: *12008560
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: json
27
- requirement: &12419560 !ruby/object:Gem::Requirement
27
+ requirement: &12008060 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *12419560
35
+ version_requirements: *12008060
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: acts_as_tree
38
- requirement: &12419020 !ruby/object:Gem::Requirement
38
+ requirement: &12007220 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - =
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 0.2.0
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *12419020
46
+ version_requirements: *12007220
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: devise
49
- requirement: &12418520 !ruby/object:Gem::Requirement
49
+ requirement: &12006200 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,21 +54,21 @@ dependencies:
54
54
  version: 2.2.0
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *12418520
57
+ version_requirements: *12006200
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: cancan
60
- requirement: &12418020 !ruby/object:Gem::Requirement
60
+ requirement: &12005720 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
- - - ~>
63
+ - - =
64
64
  - !ruby/object:Gem::Version
65
65
  version: 1.6.8
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *12418020
68
+ version_requirements: *12005720
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rails_admin
71
- requirement: &12417300 !ruby/object:Gem::Requirement
71
+ requirement: &12005200 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 0.4.0
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *12417300
79
+ version_requirements: *12005200
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: fastercsv
82
- requirement: &12416680 !ruby/object:Gem::Requirement
82
+ requirement: &12004580 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '0'
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *12416680
90
+ version_requirements: *12004580
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: sass
93
- requirement: &12416100 !ruby/object:Gem::Requirement
93
+ requirement: &12003760 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ~>
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: 3.2.12
99
99
  type: :runtime
100
100
  prerelease: false
101
- version_requirements: *12416100
101
+ version_requirements: *12003760
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: GeoRuby
104
- requirement: &12415540 !ruby/object:Gem::Requirement
104
+ requirement: &12002920 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ! '>='
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: 0.1.4
110
110
  type: :runtime
111
111
  prerelease: false
112
- version_requirements: *12415540
112
+ version_requirements: *12002920
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: rgeo
115
- requirement: &12414840 !ruby/object:Gem::Requirement
115
+ requirement: &12002120 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ~>
@@ -120,10 +120,10 @@ dependencies:
120
120
  version: 0.3.20
121
121
  type: :runtime
122
122
  prerelease: false
123
- version_requirements: *12414840
123
+ version_requirements: *12002120
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: rgeo-geojson
126
- requirement: &12414120 !ruby/object:Gem::Requirement
126
+ requirement: &12001580 !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
129
129
  - - ~>
@@ -131,10 +131,10 @@ dependencies:
131
131
  version: 0.2.3
132
132
  type: :runtime
133
133
  prerelease: false
134
- version_requirements: *12414120
134
+ version_requirements: *12001580
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: hpricot
137
- requirement: &12413720 !ruby/object:Gem::Requirement
137
+ requirement: &12001140 !ruby/object:Gem::Requirement
138
138
  none: false
139
139
  requirements:
140
140
  - - ! '>='
@@ -142,10 +142,10 @@ dependencies:
142
142
  version: '0'
143
143
  type: :runtime
144
144
  prerelease: false
145
- version_requirements: *12413720
145
+ version_requirements: *12001140
146
146
  - !ruby/object:Gem::Dependency
147
147
  name: pg
148
- requirement: &12413160 !ruby/object:Gem::Requirement
148
+ requirement: &12000560 !ruby/object:Gem::Requirement
149
149
  none: false
150
150
  requirements:
151
151
  - - ~>
@@ -153,10 +153,10 @@ dependencies:
153
153
  version: 0.14.0
154
154
  type: :runtime
155
155
  prerelease: false
156
- version_requirements: *12413160
156
+ version_requirements: *12000560
157
157
  - !ruby/object:Gem::Dependency
158
158
  name: activerecord-postgis-adapter
159
- requirement: &12412620 !ruby/object:Gem::Requirement
159
+ requirement: &12000020 !ruby/object:Gem::Requirement
160
160
  none: false
161
161
  requirements:
162
162
  - - =
@@ -164,7 +164,7 @@ dependencies:
164
164
  version: 0.4.1
165
165
  type: :runtime
166
166
  prerelease: false
167
- version_requirements: *12412620
167
+ version_requirements: *12000020
168
168
  description: Mapfish Appserver is a framework for web mapping applications using OGC
169
169
  standards and the Mapfish protocol.
170
170
  email: