radiant-sheets-extension 1.0.2 → 1.0.3

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.
data/app/models/sheet.rb CHANGED
@@ -19,6 +19,7 @@ module Sheet
19
19
  def self.create_root
20
20
  s = self.new_with_defaults
21
21
  s.parent_id = Page.find_by_slug('/').id
22
+ s.created_by_id = ''
22
23
  s.slug = self.name == 'StylesheetPage' ? 'css' : 'js'
23
24
  s.save
24
25
  end
@@ -17,7 +17,7 @@
17
17
  %td.actions= link_to(image('minus') + ' ' + t('remove'), admin_script_url(javascript), :class => "action", :method => :delete, :confirm => "Is it OK to delete #{javascript.slug}?")
18
18
  - else
19
19
  %tr
20
- %td.empty{:colspan => 2}= t('no_scripts')
20
+ %td.empty{:colspan => 3}= t('no_scripts')
21
21
 
22
22
  #actions
23
23
  = pagination_for(models)
@@ -1,3 +1,3 @@
1
1
  module RadiantSheetsExtension
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-sheets-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 2
10
- version: 1.0.2
9
+ - 3
10
+ version: 1.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Radiant CMS Dev Team
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-10-22 00:00:00 -05:00
18
+ date: 2011-10-31 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency