remote_ruby 0.1 → 0.1.1
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 +4 -4
- data/README.md +9 -2
- data/lib/remote_ruby/version.rb +1 -1
- data/remote_ruby.gemspec +0 -2
- metadata +2 -6
- data/bin/console +0 -14
- data/bin/setup +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c64bd664f6bf23abe5893cbd77bc0e72f68a51b302419837bd78885003f035ee
|
4
|
+
data.tar.gz: 05da01871c6e3516f183dbf041e7b824b41b12f1713d50c0e906a8eea5a6045b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ce4cd0467c63f6c638907a0628cf4e8c7ceb5935f1fbb66c5b4e6f6a24502aa9ca007e54b9b0f26dbd8522098991ca593ebeea43276f88de981fe260c716ea5
|
7
|
+
data.tar.gz: a135c2eb6a47292056f0f4d566d5676851e0563351970d8799f1cb6c5593694a966902a33baa0a410b8c5e1c53a0327f3cd4f3c9a1187ade6aa641afcbfcdc91
|
data/README.md
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
[](https://travis-ci.org/Nu-hin/remote_ruby)
|
4
4
|
[](https://coveralls.io/github/Nu-hin/remote_ruby?branch=master)
|
5
5
|
[](https://codeclimate.com/github/Nu-hin/remote_ruby/maintainability)
|
6
|
+
[](https://badge.fury.io/rb/remote_ruby)
|
6
7
|
|
7
8
|
RemoteRuby allows you to execute Ruby code on remote servers via SSH right from the Ruby script running on your local machine, as if it was executed locally.
|
8
9
|
|
@@ -95,12 +96,18 @@ puts a # => 100
|
|
95
96
|
Add this line to your application's Gemfile:
|
96
97
|
|
97
98
|
```ruby
|
98
|
-
gem 'remote_ruby'
|
99
|
+
gem 'remote_ruby'
|
99
100
|
```
|
100
101
|
|
101
102
|
And then execute:
|
103
|
+
```bash
|
104
|
+
bundle
|
105
|
+
```
|
102
106
|
|
103
|
-
|
107
|
+
Alternatively, install RemoteRuby in your gemset with the following command:
|
108
|
+
```bash
|
109
|
+
gem install remote_ruby
|
110
|
+
```
|
104
111
|
|
105
112
|
## Usage
|
106
113
|
|
data/lib/remote_ruby/version.rb
CHANGED
data/remote_ruby.gemspec
CHANGED
@@ -18,8 +18,6 @@ Gem::Specification.new do |spec|
|
|
18
18
|
f.match(%r{^(test|spec|features)/})
|
19
19
|
end
|
20
20
|
|
21
|
-
spec.bindir = 'bin'
|
22
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
23
21
|
spec.require_paths = ['lib']
|
24
22
|
|
25
23
|
spec.add_runtime_dependency 'colorize', '~> 0.8'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: remote_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nikita Chernukhin
|
@@ -69,9 +69,7 @@ dependencies:
|
|
69
69
|
description: Execute Ruby code on the remote servers from local Ruby script.
|
70
70
|
email:
|
71
71
|
- nuinuhin@gmail.com
|
72
|
-
executables:
|
73
|
-
- console
|
74
|
-
- setup
|
72
|
+
executables: []
|
75
73
|
extensions: []
|
76
74
|
extra_rdoc_files: []
|
77
75
|
files:
|
@@ -82,8 +80,6 @@ files:
|
|
82
80
|
- Gemfile
|
83
81
|
- LICENSE.txt
|
84
82
|
- README.md
|
85
|
-
- bin/console
|
86
|
-
- bin/setup
|
87
83
|
- lib/remote_ruby.rb
|
88
84
|
- lib/remote_ruby/code_templates/compiler/main.rb.erb
|
89
85
|
- lib/remote_ruby/compiler.rb
|
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'bundler/setup'
|
4
|
-
require 'remote_ruby'
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require 'irb'
|
14
|
-
IRB.start(__FILE__)
|