twitter-bootswatch-rails 2.3.2.2 → 2.3.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,30 @@
1
+ doctype 5
2
+ html(lang="en")
3
+ head
4
+ meta(charset="utf-8")
5
+ meta(http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1")
6
+ meta(name="viewport" content="width=device-width, initial-scale=1.0")
7
+ title= content_for?(:title) ? yield(:title) : "<%= config[:app_name] %>"
8
+ = csrf_meta_tags
9
+ / Le HTML5 shim, for IE6-8 support of HTML elements
10
+ /[if lt IE 9]
11
+ = javascript_include_tag "http://html5shim.googlecode.com/svn/trunk/html5.js"
12
+ = stylesheet_link_tag "<%= config[:theme_name] %>", :media => "all"
13
+ = yield(:page_stylesheet) if content_for?(:page_stylesheet)
14
+ link(href="images/apple-touch-icon-144x144.png" rel="apple-touch-icon-precomposed" sizes="144x144")
15
+ link(href="images/apple-touch-icon-114x114.png" rel="apple-touch-icon-precomposed" sizes="114x114")
16
+ link(href="images/apple-touch-icon-72x72.png" rel="apple-touch-icon-precomposed" sizes="72x72")
17
+ link(href="images/apple-touch-icon.png" rel="apple-touch-icon-precomposed")
18
+ link(href="images/favicon.ico" rel="shortcut icon")
19
+
20
+
21
+ body
22
+
23
+ = yield
24
+
25
+ /!
26
+ | Javascripts
27
+ | \==================================================
28
+ /! Placed at the end of the document so the pages load faster
29
+ = javascript_include_tag "<%= config[:theme_name] %>"
30
+ = yield(:page_javascript) if content_for?(:page_javascript)
@@ -0,0 +1,11 @@
1
+ = form_for @<%= resource_name %>, :html => { :class => 'form-horizontal' } do |f|
2
+ <%- columns.each do |column| -%>
3
+ .control-group
4
+ = f.label :<%= column.name %>, :class => 'control-label'
5
+ .controls
6
+ = f.<%= column.field_type %> :<%= column.name %>, :class => '<%= column.field_type %>'
7
+ <%- end -%>
8
+ .form-actions
9
+ = f.submit nil, :class => 'btn btn-primary'
10
+ | &#xA0;
11
+ = link_to t('.cancel', :default => t("helpers.links.cancel")), <%= controller_routing_path %>_path, :class => 'btn'
@@ -0,0 +1,4 @@
1
+ - model_class = <%= resource_name.classify %>
2
+ .page-header
3
+ h1=t '.title', :default => t('helpers.titles.edit', :model => model_class.model_name.human, :default => "Edit #{model_class.model_name.human}")
4
+ = render :partial => "form"
@@ -0,0 +1,26 @@
1
+ - model_class = <%= resource_name.classify %>
2
+ .page-header
3
+ h1=t '.title', :default => model_class.model_name.human.pluralize
4
+ table.table.table-striped
5
+ thead
6
+ tr
7
+ th= model_class.human_attribute_name(:id)
8
+ <%- columns.each do |column| -%>
9
+ th= model_class.human_attribute_name(:<%= column.name %>)
10
+ <%- end -%>
11
+ th= model_class.human_attribute_name(:created_at)
12
+ th=t '.actions', :default => t("helpers.actions")
13
+ tbody
14
+ - @<%= plural_resource_name %>.each do |<%= resource_name %>|
15
+ tr
16
+ td= link_to <%= resource_name %>.id, <%= singular_controller_routing_path %>_path(<%= resource_name %>)
17
+ <%- columns.each do |column| -%>
18
+ td= <%= resource_name %>.<%= column.name %>
19
+ <%- end -%>
20
+ td=l <%= resource_name %>.created_at
21
+ td
22
+ = link_to t('.edit', :default => t("helpers.links.edit")), edit_<%= singular_controller_routing_path %>_path(<%= resource_name %>), :class => 'btn btn-mini'
23
+ | &#xA0;
24
+ = link_to t('.destroy', :default => t("helpers.links.destroy")), <%= singular_controller_routing_path %>_path(<%= resource_name %>), :method => :delete, :data => { :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) }, :class => 'btn btn-mini btn-danger'
25
+
26
+ = link_to t('.new', :default => t("helpers.links.new")), new_<%= singular_controller_routing_path %>_path, :class => 'btn btn-primary'
@@ -0,0 +1,4 @@
1
+ - model_class = <%= resource_name.classify %>
2
+ .page-header
3
+ h1=t '.title', :default => t('helpers.titles.new', :model => model_class.model_name.human, :default => "New #{model_class.model_name.human}")
4
+ = render :partial => "form"
@@ -0,0 +1,17 @@
1
+ - model_class = <%= resource_name.classify %>
2
+ .page-header
3
+ h1=t '.title', :default => model_class.model_name.human
4
+
5
+ <%- columns.each do |column| -%>
6
+ p
7
+ strong= model_class.human_attribute_name(:<%= column.name %>) + ':'
8
+ br
9
+ = @<%= resource_name %>.<%= column.name %>
10
+ <%- end -%>
11
+
12
+ .form-actions
13
+ = link_to t('.back', :default => t("helpers.links.back")), <%= controller_routing_path %>_path, :class => 'btn'
14
+ | &#xA0;
15
+ = link_to t('.edit', :default => t("helpers.links.edit")), edit_<%= singular_controller_routing_path %>_path(@<%= resource_name %>), :class => 'btn'
16
+ | &#xA0;
17
+ = link_to t('.destroy', :default => t("helpers.links.destroy")), <%= singular_controller_routing_path %>_path(@<%= resource_name %>), :method => "delete", :data => { :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) }, :class => 'btn btn-danger'
@@ -0,0 +1,11 @@
1
+ = simple_form_for @<%= resource_name %>, :html => { :class => 'form-horizontal' } do |f|
2
+ | <%- columns.each do |column| -%>
3
+ = f.input :<%= column.name %>
4
+ | <%- end -%>
5
+ | <%- if ::SimpleForm::FormBuilder.instance_methods.include?(:wrapped_button) -%>
6
+ = f.button :wrapped, :cancel => <%= controller_routing_path %>_path
7
+ | <%- else -%>
8
+ .form-actions
9
+ = f.button :submit, :class => 'btn btn-primary'
10
+ = link_to t('.cancel', :default => t("helpers.links.cancel")), <%= controller_routing_path %>_path, :class => 'btn'
11
+ | <%- end -%>
@@ -1,7 +1,7 @@
1
1
  module Twitter
2
2
  module Bootswatch
3
3
  module Rails
4
- VERSION = '2.3.2.2'
4
+ VERSION = '2.3.2.3'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter-bootswatch-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.2.2
4
+ version: 2.3.2.3
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Scott V. Rosenthal
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-06-01 00:00:00.000000000 Z
12
+ date: 2013-07-02 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: railties
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ! '>='
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ! '>='
25
28
  - !ruby/object:Gem::Version
@@ -27,6 +30,7 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: less-rails
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
35
  - - ! '>='
32
36
  - !ruby/object:Gem::Version
@@ -34,6 +38,7 @@ dependencies:
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - ! '>='
39
44
  - !ruby/object:Gem::Version
@@ -41,6 +46,7 @@ dependencies:
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: execjs
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
51
  - - ! '>='
46
52
  - !ruby/object:Gem::Version
@@ -48,6 +54,7 @@ dependencies:
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
59
  - - ! '>='
53
60
  - !ruby/object:Gem::Version
@@ -55,6 +62,7 @@ dependencies:
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: rails
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
67
  - - ! '>='
60
68
  - !ruby/object:Gem::Version
@@ -62,6 +70,7 @@ dependencies:
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
75
  - - ! '>='
67
76
  - !ruby/object:Gem::Version
@@ -69,6 +78,7 @@ dependencies:
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: therubyracer
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
83
  - - ! '>='
74
84
  - !ruby/object:Gem::Version
@@ -76,6 +86,7 @@ dependencies:
76
86
  type: :development
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
91
  - - ! '>='
81
92
  - !ruby/object:Gem::Version
@@ -106,18 +117,25 @@ files:
106
117
  - lib/generators/bootswatch/layout/layout_generator.rb
107
118
  - lib/generators/bootswatch/layout/templates/layout.html.erb
108
119
  - lib/generators/bootswatch/layout/templates/layout.html.haml
120
+ - lib/generators/bootswatch/layout/templates/layout.html.slim
109
121
  - lib/generators/bootswatch/themed/templates/_form.html.erb
110
122
  - lib/generators/bootswatch/themed/templates/_form.html.haml
123
+ - lib/generators/bootswatch/themed/templates/_form.html.slim
111
124
  - lib/generators/bootswatch/themed/templates/edit.html.erb
112
125
  - lib/generators/bootswatch/themed/templates/edit.html.haml
126
+ - lib/generators/bootswatch/themed/templates/edit.html.slim
113
127
  - lib/generators/bootswatch/themed/templates/index.html.erb
114
128
  - lib/generators/bootswatch/themed/templates/index.html.haml
129
+ - lib/generators/bootswatch/themed/templates/index.html.slim
115
130
  - lib/generators/bootswatch/themed/templates/new.html.erb
116
131
  - lib/generators/bootswatch/themed/templates/new.html.haml
132
+ - lib/generators/bootswatch/themed/templates/new.html.slim
117
133
  - lib/generators/bootswatch/themed/templates/show.html.erb
118
134
  - lib/generators/bootswatch/themed/templates/show.html.haml
135
+ - lib/generators/bootswatch/themed/templates/show.html.slim
119
136
  - lib/generators/bootswatch/themed/templates/simple_form/_form.html.erb
120
137
  - lib/generators/bootswatch/themed/templates/simple_form/_form.html.haml
138
+ - lib/generators/bootswatch/themed/templates/simple_form/_form.html.slim
121
139
  - lib/generators/bootswatch/themed/themed_generator.rb
122
140
  - vendor/assets/images/twitter/bootstrap/glyphicons-halflings-white.png
123
141
  - vendor/assets/images/twitter/bootstrap/glyphicons-halflings.png
@@ -180,7 +198,6 @@ homepage: https://github.com/scottvrosenthal/twitter-bootswatch-rails
180
198
  licenses:
181
199
  - MIT
182
200
  - GPL-2
183
- metadata: {}
184
201
  post_install_message: ! "Important: You may need to add a javascript runtime to your
185
202
  Gemfile in order for bootstrap's LESS files to compile to CSS. \n\n**********************************************\n\nExecJS
186
203
  supports these runtimes:\n\ntherubyracer - Google V8 embedded within Ruby\n\ntherubyrhino
@@ -189,20 +206,28 @@ rdoc_options: []
189
206
  require_paths:
190
207
  - lib
191
208
  required_ruby_version: !ruby/object:Gem::Requirement
209
+ none: false
192
210
  requirements:
193
211
  - - ! '>='
194
212
  - !ruby/object:Gem::Version
195
213
  version: '0'
214
+ segments:
215
+ - 0
216
+ hash: 3139436027548453459
196
217
  required_rubygems_version: !ruby/object:Gem::Requirement
218
+ none: false
197
219
  requirements:
198
220
  - - ! '>='
199
221
  - !ruby/object:Gem::Version
200
222
  version: '0'
223
+ segments:
224
+ - 0
225
+ hash: 3139436027548453459
201
226
  requirements: []
202
227
  rubyforge_project: twitter-bootswatch-rails
203
- rubygems_version: 2.0.3
228
+ rubygems_version: 1.8.25
204
229
  signing_key:
205
- specification_version: 4
230
+ specification_version: 3
206
231
  summary: Twitter Bootstrap CSS toolkit for Rails 3.1+ Asset Pipeline with less-rails
207
232
  (no fluff - core only)
208
233
  test_files: []
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- OTFiOTIwYzVjM2Q5ZGVhOWNmMzc2Zjc2YzE4NTQ4NTIyNjFmMmE5Nw==
5
- data.tar.gz: !binary |-
6
- ODcyYzc1N2U4OGRkYTllMzU2MzVlNWNjY2IwMGQ5MjRlN2U4YTQwOA==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- ZTEwMGFjZTM1MjY1ZmZlZGZmZTJkZDRiYzM3OTljYTkxZWVkYWEzZGI5OTYx
10
- ODE5ZjI3MzQzZWEyNjZjMTYzNjQ2NTQwYTRmZTVmYjk0Y2ZiNzk1N2Y3N2M2
11
- OGMyOGZjYWZjNTc0ZDg0ZWEwNzRiOTRkNGQxZTZhYzcwMGQ1ZWY=
12
- data.tar.gz: !binary |-
13
- ZGY4ZTFmNzdlODA1NDBhODZkNDQ4NDVkYzI5YmM1YzEyYTcwODk3MTM3MDVl
14
- YmJjZjZhNDk4NDgzYWI5YWVlOTUzZWZmZGViYjIyOTkzZDAwZDI1ZWNiNjFh
15
- NTBkY2IwNWI2YzAyMWU2Y2FlYmY1ODljODJjZjIxYmFhYjY1MjU=