bootscaf 0.1.24 → 0.1.25
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.
- checksums.yaml +4 -4
- data/lib/bootscaf/cli.rb +9 -9
- data/lib/bootscaf/version.rb +1 -1
- metadata +2 -6
- data/assets/stylesheets/scaffolds.css.scss +0 -13
- data/assets/stylesheets/select-all-on-click.css.scss +0 -3
- data/assets/stylesheets/table-linked-row.css.scss +0 -1
- data/assets/stylesheets/tablesorter.css.scss +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5a6340fe4584d6cb357e09369b437e8fb683a2a
|
4
|
+
data.tar.gz: c1cc0b1b902a9f2b21a91e5018d58e5a7125f79c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac64e87d8259239219bb66c7b6b69bcbdab7b7656e9c6e674f29653c177455a3feb89687d8caf5459a8a93c4377f24b08ed38708fe2559ad8f6ea9267f62e9ba
|
7
|
+
data.tar.gz: b4c9ca5561d4a434a79cc0c2662be3da3c101537f0e1a3eb926ea9b0f7f14fb7dc010c515295a61dd98f07b914a921c2a4bd6462e098e415f8a044622faf37c1
|
data/lib/bootscaf/cli.rb
CHANGED
@@ -140,11 +140,11 @@ module Bootscaf
|
|
140
140
|
print "\n"
|
141
141
|
end
|
142
142
|
|
143
|
-
print "Would you like to overwrite scaffolds.
|
143
|
+
print "Would you like to overwrite scaffolds.scss with the bootrapified version [y/n(default)]? "
|
144
144
|
use_scaffolds_css = $stdin.gets.strip
|
145
145
|
if YESSES.include?(use_scaffolds_css)
|
146
|
-
FileUtils.cp "#{File.expand_path(File.dirname(__FILE__))}/../../assets/stylesheets/scaffolds.
|
147
|
-
print "Wrote assets/stylesheets/scaffolds.
|
146
|
+
FileUtils.cp "#{File.expand_path(File.dirname(__FILE__))}/../../assets/stylesheets/scaffolds.scss", "#{Dir.pwd}/app/assets/stylesheets"
|
147
|
+
print "Wrote assets/stylesheets/scaffolds.scss\n"
|
148
148
|
end
|
149
149
|
|
150
150
|
print "Would you like to use tablesorter [y(default)/n]? "
|
@@ -167,8 +167,8 @@ module Bootscaf
|
|
167
167
|
FileUtils.cp "#{File.expand_path(File.dirname(__FILE__))}/../../assets/images/tablesorter.png", "#{Dir.pwd}/app/assets/images"
|
168
168
|
print "Wrote assets/images/tablesorter.png\n"
|
169
169
|
|
170
|
-
FileUtils.cp "#{File.expand_path(File.dirname(__FILE__))}/../../assets/stylesheets/tablesorter.
|
171
|
-
print "Wrote assets/stylesheets/tablesorter.
|
170
|
+
FileUtils.cp "#{File.expand_path(File.dirname(__FILE__))}/../../assets/stylesheets/tablesorter.scss", "#{Dir.pwd}/app/assets/stylesheets"
|
171
|
+
print "Wrote assets/stylesheets/tablesorter.scss\n"
|
172
172
|
end
|
173
173
|
|
174
174
|
print "Would you like to make entire index.html.erb table rows clickable [y(default)/n]? "
|
@@ -178,8 +178,8 @@ module Bootscaf
|
|
178
178
|
written = File.open("#{Dir.pwd}/app/assets/javascripts/table-linked-row.js", 'w') { |file| file.write(linkedrow_init_body) }
|
179
179
|
print "Wrote #{written} - app/assets/javascripts/table-linked-row.js\n"
|
180
180
|
|
181
|
-
FileUtils.cp "#{File.expand_path(File.dirname(__FILE__))}/../../assets/stylesheets/table-linked-row.
|
182
|
-
print "Wrote assets/stylesheets/table-linked-row.
|
181
|
+
FileUtils.cp "#{File.expand_path(File.dirname(__FILE__))}/../../assets/stylesheets/table-linked-row.scss", "#{Dir.pwd}/app/assets/stylesheets"
|
182
|
+
print "Wrote assets/stylesheets/table-linked-row.scss\n"
|
183
183
|
end
|
184
184
|
|
185
185
|
print "Would you like to add a 'click to select-all' input element [y(default)/n]? "
|
@@ -189,8 +189,8 @@ module Bootscaf
|
|
189
189
|
written = File.open("#{Dir.pwd}/app/assets/javascripts/select-all-on-click.js", 'w') { |file| file.write(selectall_init_body) }
|
190
190
|
print "Wrote #{written} - app/assets/javascripts/select-all-on-click.js\n"
|
191
191
|
|
192
|
-
FileUtils.cp "#{File.expand_path(File.dirname(__FILE__))}/../../assets/stylesheets/select-all-on-click.
|
193
|
-
print "Wrote assets/stylesheets/select-all-on-click.
|
192
|
+
FileUtils.cp "#{File.expand_path(File.dirname(__FILE__))}/../../assets/stylesheets/select-all-on-click.scss", "#{Dir.pwd}/app/assets/stylesheets"
|
193
|
+
print "Wrote assets/stylesheets/select-all-on-click.scss\n"
|
194
194
|
end
|
195
195
|
|
196
196
|
models.each do |modelname|
|
data/lib/bootscaf/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootscaf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.25
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Moore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -84,10 +84,6 @@ files:
|
|
84
84
|
- assets/images/tablesorter-down.png
|
85
85
|
- assets/images/tablesorter-up.png
|
86
86
|
- assets/images/tablesorter.png
|
87
|
-
- assets/stylesheets/scaffolds.css.scss
|
88
|
-
- assets/stylesheets/select-all-on-click.css.scss
|
89
|
-
- assets/stylesheets/table-linked-row.css.scss
|
90
|
-
- assets/stylesheets/tablesorter.css.scss
|
91
87
|
- bin/bootscaf
|
92
88
|
- bootscaf.gemspec
|
93
89
|
- lib/bootscaf.rb
|
@@ -1,13 +0,0 @@
|
|
1
|
-
//body { padding-top: 45px; }
|
2
|
-
|
3
|
-
tr#empty-table { text-align: center; opacity: 0.5;}
|
4
|
-
.field_with_errors { display:inline; }
|
5
|
-
|
6
|
-
#content-footer {
|
7
|
-
padding-top: 40px;
|
8
|
-
padding-bottom: 40px;
|
9
|
-
margin-top: 100px;
|
10
|
-
color: #777;
|
11
|
-
text-align: center;
|
12
|
-
border-top: 1px solid #e5e5e5;
|
13
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
tr.linked-row { cursor: pointer; }
|
@@ -1,17 +0,0 @@
|
|
1
|
-
.tablesorter thead {
|
2
|
-
cursor:pointer;
|
3
|
-
}
|
4
|
-
.tablesorter th {
|
5
|
-
background-position:right 9px center;
|
6
|
-
background-size: 10px 11.23px;
|
7
|
-
background-repeat: no-repeat;
|
8
|
-
}
|
9
|
-
.tablesorter th span {
|
10
|
-
padding-right: 10px;
|
11
|
-
}
|
12
|
-
.tablesorter th.headerSortUp {
|
13
|
-
background-image: image-url('tablesorter-up.png');
|
14
|
-
}
|
15
|
-
.tablesorter th.headerSortDown {
|
16
|
-
background-image: image-url('tablesorter-down.png');
|
17
|
-
}
|