nilac 0.0.4.2.2 → 0.0.4.2.3

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.
Files changed (4) hide show
  1. data/bin/nilac +20 -18
  2. data/lib/nilac/version.rb +1 -1
  3. data/src/nilac.rb +20 -18
  4. metadata +1 -1
data/bin/nilac CHANGED
@@ -3745,7 +3745,7 @@ def find_file_path(input_path, file_extension)
3745
3745
 
3746
3746
  end
3747
3747
 
3748
- nilac_version = "0.0.4.2.2"
3748
+ nilac_version = "0.0.4.2.3"
3749
3749
 
3750
3750
  opts = Slop.parse do
3751
3751
  on :c, :compile=, 'Compile Nila File', as:Array, delimiter:":"
@@ -3800,23 +3800,7 @@ opts = Slop.parse do
3800
3800
 
3801
3801
  end
3802
3802
 
3803
- on :release, 'Build and Release Nilac for Rubygems' do
3804
-
3805
- file_path = Dir.pwd + "/src/nilac.rb"
3806
-
3807
- create_mac_executable(file_path)
3808
-
3809
- FileUtils.mv("#{file_path[0...-3]}", "#{Dir.pwd}/bin/nilac")
3810
-
3811
- `git commit -am "Updated Executable to #{nilac_version}"`
3812
-
3813
- output = `rake release`
3814
-
3815
- puts "Build Successful!"
3816
-
3817
- puts output
3818
-
3819
- end
3803
+ on :release=, 'Build and Release Nilac for Rubygems', as:Array
3820
3804
 
3821
3805
  on :u, :update, 'Check if Nilac is up to date.' do
3822
3806
 
@@ -3962,4 +3946,22 @@ elsif opts[:run] != nil
3962
3946
 
3963
3947
  puts node_output
3964
3948
 
3949
+ elsif opts[:release] != nil
3950
+
3951
+ file_path = Dir.pwd + "/src/nilac.rb"
3952
+
3953
+ create_mac_executable(file_path)
3954
+
3955
+ FileUtils.mv("#{file_path[0...-3]}", "#{Dir.pwd}/bin/nilac")
3956
+
3957
+ puts "Your build was successful. What is your commit message? \n"
3958
+
3959
+ commit_message = opts[:release][0]
3960
+
3961
+ `git commit -am "#{commit_message}"`
3962
+
3963
+ puts `rake release`
3964
+
3965
+ puts output
3966
+
3965
3967
  end
data/lib/nilac/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Nilac
2
- VERSION = "0.0.4.2.2"
2
+ VERSION = "0.0.4.2.3"
3
3
  end
data/src/nilac.rb CHANGED
@@ -3743,7 +3743,7 @@ def find_file_path(input_path, file_extension)
3743
3743
 
3744
3744
  end
3745
3745
 
3746
- nilac_version = "0.0.4.2.2"
3746
+ nilac_version = "0.0.4.2.3"
3747
3747
 
3748
3748
  opts = Slop.parse do
3749
3749
  on :c, :compile=, 'Compile Nila File', as:Array, delimiter:":"
@@ -3798,23 +3798,7 @@ opts = Slop.parse do
3798
3798
 
3799
3799
  end
3800
3800
 
3801
- on :release, 'Build and Release Nilac for Rubygems' do
3802
-
3803
- file_path = Dir.pwd + "/src/nilac.rb"
3804
-
3805
- create_mac_executable(file_path)
3806
-
3807
- FileUtils.mv("#{file_path[0...-3]}", "#{Dir.pwd}/bin/nilac")
3808
-
3809
- `git commit -am "Updated Executable to #{nilac_version}"`
3810
-
3811
- output = `rake release`
3812
-
3813
- puts "Build Successful!"
3814
-
3815
- puts output
3816
-
3817
- end
3801
+ on :release=, 'Build and Release Nilac for Rubygems', as:Array
3818
3802
 
3819
3803
  on :u, :update, 'Check if Nilac is up to date.' do
3820
3804
 
@@ -3960,4 +3944,22 @@ elsif opts[:run] != nil
3960
3944
 
3961
3945
  puts node_output
3962
3946
 
3947
+ elsif opts[:release] != nil
3948
+
3949
+ file_path = Dir.pwd + "/src/nilac.rb"
3950
+
3951
+ create_mac_executable(file_path)
3952
+
3953
+ FileUtils.mv("#{file_path[0...-3]}", "#{Dir.pwd}/bin/nilac")
3954
+
3955
+ puts "Your build was successful. What is your commit message? \n"
3956
+
3957
+ commit_message = opts[:release][0]
3958
+
3959
+ `git commit -am "#{commit_message}"`
3960
+
3961
+ puts `rake release`
3962
+
3963
+ puts output
3964
+
3963
3965
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nilac
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4.2.2
4
+ version: 0.0.4.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: