designshell 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/bin/designshelld CHANGED
@@ -1,9 +1,21 @@
1
1
  #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'designshelld' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
2
8
 
3
- #command = ENV['SSH_ORIGINAL_COMMAND']
4
- #STDERR.write "user #{user} authorized\n"
9
+ # This was then hacked so that it could be called direct from authorized_keys command=...
5
10
 
6
- require "rubygems"
11
+ require 'pathname'
12
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
13
+ Pathname.new(__FILE__).realpath)
14
+
15
+ require 'rubygems'
16
+ require 'bundler/setup'
17
+
18
+ #load Gem.bin_path('designshell', 'designshelld')
7
19
 
8
20
  require 'designshellserver'
9
21
 
@@ -19,4 +31,3 @@ context = DesignShell::Context.new({
19
31
  })
20
32
  core = DesignShellServer::Core.new(context)
21
33
  core.run
22
-
data/bin/ds CHANGED
@@ -1,4 +1,20 @@
1
1
  #!/usr/bin/env ruby
2
+ #
3
+ # This file was generated by Bundler.
4
+ #
5
+ # The application 'ds' is installed as part of a gem, and
6
+ # this file is here to facilitate running it.
7
+ #
8
+ #
9
+ #require 'pathname'
10
+ #ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
+ # Pathname.new(__FILE__).realpath)
12
+ #
13
+ #require 'rubygems'
14
+ #require 'bundler/setup'
15
+ #
16
+ #load Gem.bin_path('designshell', 'ds')
17
+
2
18
  #begin # XXX: Remove this begin/rescue before distributing your app
3
19
  require 'designshell'
4
20
  #require 'ruby-debug';debugger
@@ -1,3 +1,3 @@
1
1
  module DesignShell
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: designshell
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Gary McGhee