noodall-ui 0.5.0.pre.10 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -191,7 +191,7 @@ form#uploader {
191
191
  /* ASSET BROWSER */
192
192
 
193
193
  #asset-browser {
194
- height: 500px;
194
+ height: 550px;
195
195
  width:800px;
196
196
  overflow: hidden;
197
197
  }
@@ -143,12 +143,6 @@
143
143
  </p>
144
144
  </div>
145
145
 
146
- <div class="version_message_section">
147
- <p>
148
- <%= f.label :version_message %><br />
149
- <span class="input-wrap"><%= f.text_field :version_message -%></span>
150
- </p>
151
- </div>
152
146
  </div>
153
147
  </fieldset>
154
148
  </div>
@@ -2,6 +2,4 @@ class <%= class_name %> < Noodall::Component
2
2
  <% for attribute in attributes -%>
3
3
  key :<%= attribute.name %>, <%= attribute.type.to_s.classify %>
4
4
  <% end -%>
5
-
6
- allowed_positions :main, :small, :wide
7
5
  end
@@ -2,7 +2,7 @@ Description:
2
2
  Explain the generator
3
3
 
4
4
  Example:
5
- rails generate noodall:node Thing
5
+ rails generate noodall:template Thing
6
6
 
7
7
  This will create:
8
8
  what/will/it/create
@@ -1,5 +1,5 @@
1
1
  module Noodall
2
- class NodeGenerator < Rails::Generators::NamedBase
2
+ class TemplateGenerator < Rails::Generators::NamedBase
3
3
  source_root File.expand_path('../templates', __FILE__)
4
4
  argument :attributes, :type => :array, :default => [], :banner => "field:type field:type"
5
5
 
@@ -1,11 +1,4 @@
1
1
  class <%= class_name %> < Noodall::Node
2
- # Define if this Node Template can be added as a root page in the top level of the tree
3
- <%- if options.root? -%>
4
- root_template!
5
- <%- else -%>
6
- # root_template!
7
- <%- end -%>
8
-
9
2
  # Define which Node Templates can be used as children of Nodes using this template
10
3
  sub_templates <%= class_name %>
11
4
  <%- if options.root? -%>
@@ -6,7 +6,7 @@
6
6
  <dl>
7
7
  <% for attribute in attributes -%>
8
8
  <dt><%= attribute.name.titleize %></dt>
9
- <dd><%%= @node.<% attribute.name %>%></dd>
9
+ <dd><%%= @node.<%= attribute.name %> %></dd>
10
10
  <% end -%>
11
11
  </dl>
12
12
  <% end -%>
@@ -1,5 +1,5 @@
1
1
  module Noodall
2
2
  module UI
3
- VERSION = "0.5.0.pre.10"
3
+ VERSION = "0.5.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noodall-ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0.pre.10
5
- prerelease: 6
4
+ version: 0.5.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Steve England
@@ -13,7 +13,7 @@ date: 2011-10-28 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: noodall-core
16
- requirement: &11453960 !ruby/object:Gem::Requirement
16
+ requirement: &25334760 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.7.5
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *11453960
24
+ version_requirements: *25334760
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: thoughtbot-sortable_table
27
- requirement: &11453480 !ruby/object:Gem::Requirement
27
+ requirement: &25334260 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.0.6
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *11453480
35
+ version_requirements: *25334260
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: will_paginate
38
- requirement: &11452960 !ruby/object:Gem::Requirement
38
+ requirement: &25333780 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '3.0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *11452960
46
+ version_requirements: *25333780
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: dynamic_form
49
- requirement: &11452480 !ruby/object:Gem::Requirement
49
+ requirement: &25333260 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *11452480
57
+ version_requirements: *25333260
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: bundler
60
- requirement: &11452000 !ruby/object:Gem::Requirement
60
+ requirement: &25332800 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: 1.0.0
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *11452000
68
+ version_requirements: *25332800
69
69
  description: Noodall Rails User Interface Engine. Requires Noodall Core
70
70
  email:
71
71
  - steve@wearebeef.co.uk
@@ -273,12 +273,12 @@ files:
273
273
  - lib/generators/noodall/component/templates/factory.rb
274
274
  - lib/generators/noodall/component/templates/model.rb
275
275
  - lib/generators/noodall/component/templates/template.html.erb
276
- - lib/generators/noodall/node/USAGE
277
- - lib/generators/noodall/node/node_generator.rb
278
- - lib/generators/noodall/node/templates/admin_template.html.erb
279
- - lib/generators/noodall/node/templates/factory.rb
280
- - lib/generators/noodall/node/templates/model.rb
281
- - lib/generators/noodall/node/templates/template.html.erb
276
+ - lib/generators/noodall/template/USAGE
277
+ - lib/generators/noodall/template/template_generator.rb
278
+ - lib/generators/noodall/template/templates/admin_template.html.erb
279
+ - lib/generators/noodall/template/templates/factory.rb
280
+ - lib/generators/noodall/template/templates/model.rb
281
+ - lib/generators/noodall/template/templates/template.html.erb
282
282
  - lib/noodall-ui.rb
283
283
  - lib/noodall/canable.rb
284
284
  - lib/noodall/engine.rb
@@ -693,7 +693,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
693
693
  version: '0'
694
694
  segments:
695
695
  - 0
696
- hash: 1512166424488099633
696
+ hash: 3840089018685338812
697
697
  required_rubygems_version: !ruby/object:Gem::Requirement
698
698
  none: false
699
699
  requirements: