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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5812458cad1df206d44e7e9fd29702098c98df07
4
- data.tar.gz: a5547832d862819c9a7da08d56e431b579cc696b
3
+ metadata.gz: e5a6340fe4584d6cb357e09369b437e8fb683a2a
4
+ data.tar.gz: c1cc0b1b902a9f2b21a91e5018d58e5a7125f79c
5
5
  SHA512:
6
- metadata.gz: 8024d19835dafd2a06f369cfcbcbc484e9f5632c1cd5ea402a34b1b75bb963d3bb37668195d3857e5e62ea5cd3b1840c773b91826ca886fda834eaa688ce1988
7
- data.tar.gz: c2ad84bd233d00e4bfbaba0f375f69db6bc44d2fd45669f181ce8ce5462b14e7af282b5dfec1984c6203b2a7d3b770dd56d41c0e95b1137ca128524efa9c5fde
6
+ metadata.gz: ac64e87d8259239219bb66c7b6b69bcbdab7b7656e9c6e674f29653c177455a3feb89687d8caf5459a8a93c4377f24b08ed38708fe2559ad8f6ea9267f62e9ba
7
+ data.tar.gz: b4c9ca5561d4a434a79cc0c2662be3da3c101537f0e1a3eb926ea9b0f7f14fb7dc010c515295a61dd98f07b914a921c2a4bd6462e098e415f8a044622faf37c1
@@ -140,11 +140,11 @@ module Bootscaf
140
140
  print "\n"
141
141
  end
142
142
 
143
- print "Would you like to overwrite scaffolds.css.scss with the bootrapified version [y/n(default)]? "
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.css.scss", "#{Dir.pwd}/app/assets/stylesheets"
147
- print "Wrote assets/stylesheets/scaffolds.css.scss\n"
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.css.scss", "#{Dir.pwd}/app/assets/stylesheets"
171
- print "Wrote assets/stylesheets/tablesorter.css.scss\n"
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.css.scss", "#{Dir.pwd}/app/assets/stylesheets"
182
- print "Wrote assets/stylesheets/table-linked-row.css.scss\n"
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.css.scss", "#{Dir.pwd}/app/assets/stylesheets"
193
- print "Wrote assets/stylesheets/select-all-on-click.css.scss\n"
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|
@@ -1,3 +1,3 @@
1
1
  module Bootscaf
2
- VERSION = "0.1.24"
2
+ VERSION = "0.1.25"
3
3
  end
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.24
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-10-24 00:00:00.000000000 Z
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,3 +0,0 @@
1
- .select-all-on-click.form-control[readonly] {
2
- cursor:pointer;
3
- }
@@ -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
- }