sunrise-cms 1.0.4 → 1.0.5

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: 8ebf85ac845cd4398a774821c5a166ffd4926ea9
4
- data.tar.gz: d826758b824c621338193eb32d7d40397ae9a917
3
+ metadata.gz: d8baf9429eaba5bf1ec8e74358cdfe0d8d80d542
4
+ data.tar.gz: 2184c24b9466e51ba0f3de29cd9528196768b0dc
5
5
  SHA512:
6
- metadata.gz: 002ab61e5c0e64c7737cfcff832e82a9571ed9689bc5eafd640325c87441826247fd89796f33d6cbcda5cb58dc34db7a787162639dcd45a5dd31eae167b99b4c
7
- data.tar.gz: c0684d5c1be819ea6ab757e20143a04f37468793ae33d4f409384bd187c9965015fca37201fd54f7bd779eec8ad82b1135f6b091cd5f2625ee867df891b3b173
6
+ metadata.gz: 305d0671cbc985165b5a99968bf8bfcacd82b0d4b717f9d74b7c9524694466ee90a0c83cc70ac98ac3194b9ebb635f8a76759e007de08470d10b508694e0274c
7
+ data.tar.gz: cddbba02f45d14f7036f2b990e1c43701f6392f95749e8b10347767a274deaa1bf79a224eb571a7d635963f645d291dcc86002c7540ad9e83cbbde2b7104382c
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,6 @@
1
+ == 1.0.5
2
+ * Update jQuery UI
3
+
1
4
  == 1.0.3
2
5
  * Fix parents relations
3
6
 
@@ -1,8 +1,8 @@
1
1
  //= require jquery
2
2
  //= require jquery_ujs
3
3
 
4
- //= require jquery.ui.sortable
5
- //= require jquery.ui.datepicker
4
+ //= require jquery-ui/sortable
5
+ //= require jquery-ui/datepicker
6
6
  //= require datepicker/jquery.ui.datepicker-uk
7
7
  //= require datepicker/jquery.ui.datepicker-ru
8
8
  //= require select2
@@ -10,7 +10,7 @@
10
10
  *= require uploader/application
11
11
  *= require select2
12
12
 
13
- *= require jquery.ui.core
14
- *= require jquery.ui.theme
15
- *= require jquery.ui.datepicker
13
+ *= require jquery-ui/core
14
+ *= require jquery-ui/theme
15
+ *= require jquery-ui/datepicker
16
16
  */
@@ -27,7 +27,8 @@ module Sunrise
27
27
  end
28
28
 
29
29
  def new
30
- @record.attributes = abstract_model.model_params
30
+ @record.assign_attributes(abstract_model.model_params)
31
+
31
32
  respond_with(@record) do |format|
32
33
  format.html { render_with_scope }
33
34
  end
@@ -63,7 +63,7 @@ module Sunrise
63
63
  end
64
64
 
65
65
  def model_params
66
- @request_params[param_key.to_sym]
66
+ @request_params[param_key.to_sym] || {}
67
67
  end
68
68
 
69
69
  # Save current list view
@@ -1,3 +1,3 @@
1
1
  module Sunrise
2
- VERSION = "1.0.4".freeze
2
+ VERSION = "1.0.5".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sunrise-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Galeta
@@ -9,20 +9,20 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-12-08 00:00:00.000000000 Z
12
+ date: 2015-03-23 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
19
  - !ruby/object:Gem::Version
20
20
  version: 4.0.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - "~>"
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: 4.0.0
28
28
  - !ruby/object:Gem::Dependency
@@ -185,14 +185,14 @@ dependencies:
185
185
  requirements:
186
186
  - - ">="
187
187
  - !ruby/object:Gem::Version
188
- version: '0'
188
+ version: 5.0.0
189
189
  type: :runtime
190
190
  prerelease: false
191
191
  version_requirements: !ruby/object:Gem::Requirement
192
192
  requirements:
193
193
  - - ">="
194
194
  - !ruby/object:Gem::Version
195
- version: '0'
195
+ version: 5.0.0
196
196
  - !ruby/object:Gem::Dependency
197
197
  name: select2-rails
198
198
  requirement: !ruby/object:Gem::Requirement