bootscaf 0.1.6 → 0.1.7

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: 4f6aaf5227c0179c8046bbd36187e7e959c2ff63
4
- data.tar.gz: 71c17dc5b1386e77fee09a62bf2f0161a43e9c86
3
+ metadata.gz: e7ce443a9c1a13a2409c87cfe2bedc1ef9eddcfd
4
+ data.tar.gz: 5a0a55df13053b575ef86c8195ec7aff0845ccde
5
5
  SHA512:
6
- metadata.gz: 2a9faf0f2dfe6afdf2633694621962fa0585c6c80ada429d35c216a778853663f1872777c23fa04f6d11fb3d4998c6151a2f799d75399123c568a1d7f843b3ad
7
- data.tar.gz: ee17c26f4935d4c96ed666aef58905ce09a6e335b6a5e569f155e07e2e2aafbaac6907ed79a9753127bfe5aa96f6818a4b82f1836cac6fe48725bd39366d19e9
6
+ metadata.gz: e905e091e9a38ab6e78f182270b97665ef34d8e5a6dbec9343462d6f4b0e2e91aa5217edd55c55490e8ee22c19f753b1bdf2ab73da1ca6c82e0dbc4cc617097f
7
+ data.tar.gz: 1446c09c67787ed4bfacae0bb57f3da91f7a665350980a91ffe1d6556a45410fa2b558da6393f365f8933c5c02f075f46d84ace69e9e94c0280812ff7fa21d08
data/lib/bootscaf/cli.rb CHANGED
@@ -137,6 +137,7 @@ module Bootscaf
137
137
  print `sed #{inplace_command} -e 's/<%= f.\\(.*\\)_field :\\(.*\\) %>/<%= f.\\1_field :\\2, { class: "form-control" } %>\\\n<\\/div>\\\n<\\/div>/g' app/views/#{modelname}/_form.html.erb`
138
138
  print `sed #{inplace_command} -e 's/<%= f.\\(.*\\)_area :\\(.*\\) %>/<%= f.\\1_area :\\2, { class: "form-control" } %>\\\n<\\/div>\\\n<\\/div>/g' app/views/#{modelname}/_form.html.erb`
139
139
  print `sed #{inplace_command} -e 's/<%= f.\\(.*\\)_box :\\(.*\\) %>/<%= f.\\1_box :\\2, { class: "form-control" } %>\\\n<\\/div>\\\n<\\/div>/g' app/views/#{modelname}/_form.html.erb`
140
+ print `sed #{inplace_command} -e 's/<%= f.\\(.*\\)_select :\\(.*\\) %>/<%= f.\\1_select :\\2, { class: "form-control" } %>\\\n<\\/div>\\\n<\\/div>/g' app/views/#{modelname}/_form.html.erb`
140
141
  print `sed #{inplace_command} -e 's/<div class="actions">/<div class="actions text-center">/' app/views/#{modelname}/_form.html.erb`
141
142
  print `sed #{inplace_command} -e 's/<%= f.submit %>/<%= f.submit class: "btn btn-success" %>/' app/views/#{modelname}/_form.html.erb`
142
143
  print "\n"
@@ -1,3 +1,3 @@
1
1
  module Bootscaf
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
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.6
4
+ version: 0.1.7
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-04-04 00:00:00.000000000 Z
11
+ date: 2015-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor