scaffold_plus 1.4.14 → 1.4.15

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: 42c2230db8f4b8c89abd5f925ff381bd7244c6b4
4
- data.tar.gz: 1e02a4c4eb1e4b0d134abdbeffa94f09b7c51f51
3
+ metadata.gz: 91c3e71567a51855844ee3c16125dda85d7dc2ed
4
+ data.tar.gz: 5ea3098bac0fecc156019e6df228857ad5424a96
5
5
  SHA512:
6
- metadata.gz: 077668d6fb7ef1684d222b681134525559603c6ba283617854a9305c737601e718b997771a62db2c5f716e8b1f3959a53f5598d19056de995611915c7282adcd
7
- data.tar.gz: 38b3ece4c2f89de9e21c8fbab2df58e3965bbb6e03c96fda6aa4c4362c04912e43ae0899dd8aed7369710bb3c7ef30179618cb0a7d816c9926ba7e3eb7ddf560
6
+ metadata.gz: f54d44bc4baaa01df2bf91734ec85fc7ad512b252d74958353afd0c61697f0628a44f515ac4d7055db08b3bffafd232fa4a8694cd221b91dd306b458003abc6d
7
+ data.tar.gz: 5b3a89d84977fc83ba65991f13dde3af1d99fb10fb78334a21d0f92dd5551899e6eee286ceb9e2373d1275c1d6c6df3c8ad33aab2c65eb30c170d497a78c30c4
data/Makefile CHANGED
@@ -3,9 +3,20 @@
3
3
  # Makefile for building the Gem
4
4
  #
5
5
 
6
- all:
7
- git add lib
6
+ all: build
7
+ git status
8
+
9
+ rel: build
8
10
  vim lib/scaffold_plus/version.rb
9
11
  git commit -a
12
+ sudo gem uninstall scaffold_plus --all
10
13
  rake release
14
+ sudo rake install
15
+
16
+
17
+ install: build
18
+ git commit -a
19
+
20
+ build:
21
+ git add lib
11
22
 
@@ -15,8 +15,8 @@ module ScaffoldPlus
15
15
  file = "app/controllers/#{table_name}_controller.rb"
16
16
  inject_into_file file, after: /^class.*ApplicationController$/ do
17
17
  text = "\n force_ssl if: :ssl_configured?"
18
- text << ", only: [ #{only_list} ]", if options.only.present?
19
- text << ", except: [ #{except_list} ]", if options.except.present?
18
+ text << ", only: [ #{only_list} ]" if options.only.present?
19
+ text << ", except: [ #{except_list} ]" if options.except.present?
20
20
  text
21
21
  end
22
22
  inject_into_file file, after: /private$/ do
@@ -1,3 +1,3 @@
1
1
  module ScaffoldPlus
2
- VERSION = "1.4.14"
2
+ VERSION = "1.4.15"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scaffold_plus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.14
4
+ version: 1.4.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Volker Wiegand