nd-shell_scripts 0.1.1 → 0.1.2

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: 03780e0b4e352b68b336c3e14e70b03e9c6eb573
4
- data.tar.gz: a2e30b8605895fe5e125ac445fe2b098640c430a
3
+ metadata.gz: 648319c71300d343e3485c4da24fbed2ff200a65
4
+ data.tar.gz: 6da2b0eb5976f833ae5d4b191266d3c89c86fe59
5
5
  SHA512:
6
- metadata.gz: 7fc66eb6d360d5ad462f621ce506bfb3519d71c182014315c93689674ba317f5cafb58a01ce34c99d51e00c09224b1c2b5dd4544183ab0be4e987e833a7fdeeb
7
- data.tar.gz: f9cb8905f970a9ce9bc46959eed30308fae30c7810d3c17e514cc7a98fa233b6d0dc531e98a4187472fb6f0276070bf2f3bf51b5f0ac995255015d9b496b228d
6
+ metadata.gz: 8a8cc6caf7324d47e30e877f4ec8a6809ba2bc11fc5151e4e794ceaba9afa52f96fbc3e20a323546ff6ae87e912dc2428a07f490ff9e158a831df6a77582b8c1
7
+ data.tar.gz: 5f3406d8adf53e90de28dc84ac9f855bb727bf56ab331d3c03d723d5841525d4691ccba0bd41fd775927dbc8742475b7591f58d13e45b78b59eee85a8b975b16
data/exe/bi CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative '../lib/nd/shell_scripts'
3
+ include Nd::ShellScripts
3
4
 
4
5
  execute_and_record "bundle install #{args}"
data/exe/bu CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative '../lib/nd/shell_scripts'
3
+ include Nd::ShellScripts
3
4
 
4
5
  execute_and_record "bundle update #{args}"
data/exe/colorized_prompt CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative '../lib/nd/shell_scripts'
3
+ include Nd::ShellScripts
3
4
  require "colorize"
4
5
 
5
6
  def time
data/exe/db CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative '../lib/nd/shell_scripts'
3
+ include Nd::ShellScripts
3
4
 
4
5
  if args?
5
6
  execute_and_record "rake db:#{args}"
data/exe/dbdn CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative '../lib/nd/shell_scripts'
3
+ include Nd::ShellScripts
3
4
 
4
5
  app_name = Dir.pwd.split('/').last
5
6
  db_name = "#{app_name}_development"
data/exe/dn CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative '../lib/nd/shell_scripts'
3
+ include Nd::ShellScripts
3
4
 
4
5
  args = ARGV.join(' ')
5
6
  execute_and_record "git pull #{args}"
data/exe/ga CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative '../lib/nd/shell_scripts'
3
+ include Nd::ShellScripts
3
4
 
4
5
  if args?
5
6
  execute_and_record "git add #{args}"
data/exe/gc CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative '../lib/nd/shell_scripts'
3
+ include Nd::ShellScripts
3
4
 
4
5
  total_time = `rpt commit_time`.gsub('"','')
5
6
 
data/exe/gca CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative '../lib/nd/shell_scripts'
3
+ include Nd::ShellScripts
3
4
 
4
5
  execute_and_record "git commit --amend #{args}"
5
6
 
data/exe/gd CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative '../lib/nd/shell_scripts'
3
+ include Nd::ShellScripts
3
4
 
4
5
  execute_and_record "git diff #{args}"
data/exe/gi CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative '../lib/nd/shell_scripts'
3
+ include Nd::ShellScripts
3
4
 
4
5
  if args?
5
6
  execute_and_record "git init #{args}"
data/exe/gl CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative '../lib/nd/shell_scripts'
3
+ include Nd::ShellScripts
3
4
 
4
5
  execute_and_record "git log #{args}"
data/exe/gr CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative '../lib/nd/shell_scripts'
3
+ include Nd::ShellScripts
3
4
 
4
5
  execute_and_record "git reset #{args}"
data/exe/grm CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative '../lib/nd/shell_scripts'
3
+ include Nd::ShellScripts
3
4
 
4
5
  execute_and_record "git rm #{args}"
data/exe/gs CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative '../lib/nd/shell_scripts'
3
+ include Nd::ShellScripts
3
4
 
4
5
  execute_and_record "git status #{args}"
data/exe/h CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative '../lib/nd/shell_scripts'
3
+ include Nd::ShellScripts
3
4
 
4
5
  exec "cd ~/#{args}"
data/exe/p CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative '../lib/nd/shell_scripts'
3
+ include Nd::ShellScripts
3
4
 
4
5
  if args?
5
6
  repo_paths = `rep2 list ~/Developer`.split("\n").select { |path| not path.empty? }
data/exe/rc CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative '../lib/nd/shell_scripts'
3
+ include Nd::ShellScripts
3
4
 
4
5
  execute_and_record "rails c #{args}"
data/exe/rg CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative '../lib/nd/shell_scripts'
3
+ include Nd::ShellScripts
3
4
 
4
5
  execute_and_record "rails g #{args}"
data/exe/rs CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative '../lib/nd/shell_scripts'
3
+ include Nd::ShellScripts
3
4
 
4
5
  execute_and_record "rails s #{args}"
data/exe/rt CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative '../lib/nd/shell_scripts'
3
+ include Nd::ShellScripts
3
4
 
4
5
  if args?
5
6
  puts "bundle exec rake test TEST=#{args}"
data/exe/up CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  require_relative '../lib/nd/shell_scripts'
3
+ include Nd::ShellScripts
3
4
 
4
5
  if args?
5
6
  execute_and_record "git push origin #{args}"
@@ -1,5 +1,5 @@
1
1
  module Nd
2
2
  module ShellScripts
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nd-shell_scripts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neurodynamic