hydra-editor 3.0.0.beta1 → 3.1.0

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: ae1264f3bb248877d4bb16d74eea0136075dffbe
4
- data.tar.gz: 3aeb4937cbc2cfea2b3124187f1720393ac90753
3
+ metadata.gz: 280be81a452da45c1c8b5541c300e6829cfa08bc
4
+ data.tar.gz: bc3d51f8d798b21cbd036a365f78f916c8036ac5
5
5
  SHA512:
6
- metadata.gz: cae0f7bd208b58511724e4192a8241808dee3b5f8be1a5be074bb612d46f590624cb9e4ab5a2c76456a97d440495466ce5e9807333b53f627d67e06ce16d56d3
7
- data.tar.gz: a424534ddced8cd2a29217f66e9d93294886dad16d5f135f9eb933b94acaf0fa48540b24007ea9f385a2a0b937f42edc81146737a0546b701fc45bbed18cd90b
6
+ metadata.gz: c4b7f90100e7c517fd1315efcc020ad0536f7b0f50fed36b7b3f3bdcbac555dbf5a2966105beccbb7821dba0b54a557d44929d9c13ce8b7331d83c8ffdee22d3
7
+ data.tar.gz: b863194d5aa5ac90d3544dfaf08514c3693ffa9d2f80bb5562097736376c4e8f30da6374d9586a33cb03e2b441bf88c1e0ce2c0f65abb0b98b724cd4e5421d76
@@ -17,7 +17,7 @@ module RecordsHelperBehavior
17
17
  end
18
18
 
19
19
  def record_form_action_url(record)
20
- router = respond_to?(:hydra_editor) ? hydra_editor : self
20
+ router = respond_to?(:hydra_editor) ? hydra_editor.routes.url_helpers : self
21
21
  record.persisted? ? router.record_path(record) : router.records_path
22
22
  end
23
23
 
@@ -15,7 +15,7 @@ module Hydra
15
15
  end
16
16
 
17
17
  delegate :to_key, :to_param, :to_model, :persisted?, :new_record?,
18
- :[], to: :model
18
+ :[], :model_name, to: :model
19
19
 
20
20
  module ClassMethods
21
21
  def model_name
@@ -1,3 +1,3 @@
1
1
  module HydraEditor
2
- VERSION = '3.0.0.beta1'
2
+ VERSION = '3.1.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hydra-editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.beta1
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
@@ -9,22 +9,28 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-06-23 00:00:00.000000000 Z
12
+ date: 2016-08-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ">="
19
+ - !ruby/object:Gem::Version
20
+ version: 4.2.0
21
+ - - "<"
19
22
  - !ruby/object:Gem::Version
20
- version: '4.1'
23
+ version: '6'
21
24
  type: :runtime
22
25
  prerelease: false
23
26
  version_requirements: !ruby/object:Gem::Requirement
24
27
  requirements:
25
- - - "~>"
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ version: 4.2.0
31
+ - - "<"
26
32
  - !ruby/object:Gem::Version
27
- version: '4.1'
33
+ version: '6'
28
34
  - !ruby/object:Gem::Dependency
29
35
  name: active-fedora
30
36
  requirement: !ruby/object:Gem::Requirement
@@ -59,14 +65,14 @@ dependencies:
59
65
  requirements:
60
66
  - - "~>"
61
67
  - !ruby/object:Gem::Version
62
- version: 3.1.0
68
+ version: '3.2'
63
69
  type: :runtime
64
70
  prerelease: false
65
71
  version_requirements: !ruby/object:Gem::Requirement
66
72
  requirements:
67
73
  - - "~>"
68
74
  - !ruby/object:Gem::Version
69
- version: 3.1.0
75
+ version: '3.2'
70
76
  - !ruby/object:Gem::Dependency
71
77
  name: sprockets-es6
72
78
  requirement: !ruby/object:Gem::Requirement
@@ -87,14 +93,14 @@ dependencies:
87
93
  requirements:
88
94
  - - "~>"
89
95
  - !ruby/object:Gem::Version
90
- version: 0.0.2
96
+ version: 0.0.3
91
97
  type: :runtime
92
98
  prerelease: false
93
99
  version_requirements: !ruby/object:Gem::Requirement
94
100
  requirements:
95
101
  - - "~>"
96
102
  - !ruby/object:Gem::Version
97
- version: 0.0.2
103
+ version: 0.0.3
98
104
  - !ruby/object:Gem::Dependency
99
105
  name: sqlite3
100
106
  requirement: !ruby/object:Gem::Requirement
@@ -169,14 +175,14 @@ dependencies:
169
175
  name: hydra-head
170
176
  requirement: !ruby/object:Gem::Requirement
171
177
  requirements:
172
- - - "~>"
178
+ - - ">="
173
179
  - !ruby/object:Gem::Version
174
180
  version: '9.0'
175
181
  type: :development
176
182
  prerelease: false
177
183
  version_requirements: !ruby/object:Gem::Requirement
178
184
  requirements:
179
- - - "~>"
185
+ - - ">="
180
186
  - !ruby/object:Gem::Version
181
187
  version: '9.0'
182
188
  - !ruby/object:Gem::Dependency
@@ -185,42 +191,42 @@ dependencies:
185
191
  requirements:
186
192
  - - "~>"
187
193
  - !ruby/object:Gem::Version
188
- version: '0.8'
194
+ version: '0.10'
189
195
  type: :development
190
196
  prerelease: false
191
197
  version_requirements: !ruby/object:Gem::Requirement
192
198
  requirements:
193
199
  - - "~>"
194
200
  - !ruby/object:Gem::Version
195
- version: '0.8'
201
+ version: '0.10'
196
202
  - !ruby/object:Gem::Dependency
197
203
  name: solr_wrapper
198
204
  requirement: !ruby/object:Gem::Requirement
199
205
  requirements:
200
206
  - - "~>"
201
207
  - !ruby/object:Gem::Version
202
- version: '0.4'
208
+ version: '0.15'
203
209
  type: :development
204
210
  prerelease: false
205
211
  version_requirements: !ruby/object:Gem::Requirement
206
212
  requirements:
207
213
  - - "~>"
208
214
  - !ruby/object:Gem::Version
209
- version: '0.4'
215
+ version: '0.15'
210
216
  - !ruby/object:Gem::Dependency
211
217
  name: fcrepo_wrapper
212
218
  requirement: !ruby/object:Gem::Requirement
213
219
  requirements:
214
220
  - - "~>"
215
221
  - !ruby/object:Gem::Version
216
- version: '0.2'
222
+ version: '0.5'
217
223
  type: :development
218
224
  prerelease: false
219
225
  version_requirements: !ruby/object:Gem::Requirement
220
226
  requirements:
221
227
  - - "~>"
222
228
  - !ruby/object:Gem::Version
223
- version: '0.2'
229
+ version: '0.5'
224
230
  - !ruby/object:Gem::Dependency
225
231
  name: jasmine
226
232
  requirement: !ruby/object:Gem::Requirement
@@ -288,9 +294,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
288
294
  version: '0'
289
295
  required_rubygems_version: !ruby/object:Gem::Requirement
290
296
  requirements:
291
- - - ">"
297
+ - - ">="
292
298
  - !ruby/object:Gem::Version
293
- version: 1.3.1
299
+ version: '0'
294
300
  requirements: []
295
301
  rubyforge_project:
296
302
  rubygems_version: 2.5.1