exek 0.0.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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0fd10f2672cb4aafe34506f6e9c8188f55094349
4
+ data.tar.gz: ad054ba0e6f5990b6870a3fd599387a776791e76
5
+ SHA512:
6
+ metadata.gz: 91cbdf4b5eac1a2495d8abdd92c3d0df20838379de1abbe8beed749f2833826ecaa5c34c74c5e2351107f07ff4aa3079cce8604b5a6d947ec7c225b25c87b9c2
7
+ data.tar.gz: 39a0203bdd60b2a5ef0c0b12f1e8fdba1197c8208b54b9fd7c49468824ff0047451e0dec85eb3c41deb936e317bf97e509ba0fa6d23a95c494e21ee093992d74
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ # rspec failure tracking
12
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.0.0
5
+ before_install: gem install bundler -v 1.15.2
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in exek.gemspec
6
+ gemspec
@@ -0,0 +1,53 @@
1
+ # Exek
2
+
3
+ Comprehensive tools to start and run commands.
4
+
5
+ Most existing gems that address command execution provide a limited interface
6
+ or lack notable features. In contast, Exek seeks to provide comprehensive
7
+ support for all of a program's exec needs with one thoughtfully-designed
8
+ library.
9
+
10
+ Intended features:
11
+
12
+ - A "Command" class that encapsulates argv, env, and IO options, and
13
+ process state.
14
+ - Easy-to-use high level interfaces with sensible defaults for running commands
15
+ to completion.
16
+ - Comprehensive support for low-level concerns like piping, PTYs, and file
17
+ descriptor magic.
18
+ - Utilities for manipulating `sh` script strings, idiomatically building
19
+ argument arrays, and generating reusable interaces for common system commands.
20
+ - Tracing and introspection facilities for logging and latency analysis.
21
+ - Safety: does not monkeypatch external modules, encourage mixins or use eval.
22
+ Attempts to guide developers away from unsafe practices like shell scripts
23
+ and shell injection.
24
+
25
+ ## Installation
26
+
27
+ Add this line to your application's Gemfile:
28
+
29
+ ```ruby
30
+ gem 'exek'
31
+ ```
32
+
33
+ And then execute:
34
+
35
+ $ bundle
36
+
37
+ Or install it yourself as:
38
+
39
+ $ gem install exek
40
+
41
+ ## Usage
42
+
43
+ TODO: Write usage instructions here
44
+
45
+ ## Development
46
+
47
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
48
+
49
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
50
+
51
+ ## Contributing
52
+
53
+ Bug reports and pull requests are welcome on GitHub at https://github.com/justjake/exek.
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "exek"
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__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "exek"
@@ -0,0 +1,45 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "exek/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "exek"
8
+ spec.version = Exek::VERSION
9
+ spec.authors = ["Jake Teton-Landis"]
10
+ spec.email = ["just.1.jake@gmail.com"]
11
+
12
+ spec.summary = %q{Comprehensive tools to start and run commands.}
13
+ spec.description = <<-EOS
14
+ Most existing gems that address command execution provide a limited interface
15
+ or lack notable features. In contast, Exek seeks to provide comprehensive
16
+ support for all of a program's exec needs with one thoughtfully-designed
17
+ library.
18
+
19
+ Intended features:
20
+
21
+ - A "Command" class that encapsulates argv, env, and IO options, and
22
+ process state.
23
+ - Easy-to-use high level interfaces with sensible defaults for running commands
24
+ to completion.
25
+ - Comprehensive support for low-level concerns like piping, PTYs, and file
26
+ descriptor magic.
27
+ - Utilities for manipulating `sh` script strings, idiomatically building
28
+ argument arrays, and generating reusable interaces for common system commands.
29
+ - Tracing and introspection facilities for logging and latency analysis.
30
+ - Safety: does not monkeypatch external modules, encourage mixins or use eval.
31
+ Attempts to guide developers away from unsafe practices like shell scripts
32
+ and shell injection.
33
+ EOS
34
+ spec.homepage = "https://github.com/justjake/exek"
35
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
36
+ f.match(%r{^(test|spec|features)/})
37
+ end
38
+ spec.bindir = "exe"
39
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
40
+ spec.require_paths = ["lib"]
41
+
42
+ spec.add_development_dependency "bundler", "~> 1.15"
43
+ spec.add_development_dependency "rake", "~> 10.0"
44
+ spec.add_development_dependency "rspec", "~> 3.0"
45
+ end
@@ -0,0 +1,5 @@
1
+ require "exek/version"
2
+
3
+ module Exek
4
+ # Your code goes here...
5
+ end
@@ -0,0 +1,3 @@
1
+ module Exek
2
+ VERSION = "0.0.1"
3
+ end
metadata ADDED
@@ -0,0 +1,117 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: exek
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Jake Teton-Landis
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-07-31 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.15'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.15'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ description: |
56
+ Most existing gems that address command execution provide a limited interface
57
+ or lack notable features. In contast, Exek seeks to provide comprehensive
58
+ support for all of a program's exec needs with one thoughtfully-designed
59
+ library.
60
+
61
+ Intended features:
62
+
63
+ - A "Command" class that encapsulates argv, env, and IO options, and
64
+ process state.
65
+ - Easy-to-use high level interfaces with sensible defaults for running commands
66
+ to completion.
67
+ - Comprehensive support for low-level concerns like piping, PTYs, and file
68
+ descriptor magic.
69
+ - Utilities for manipulating `sh` script strings, idiomatically building
70
+ argument arrays, and generating reusable interaces for common system commands.
71
+ - Tracing and introspection facilities for logging and latency analysis.
72
+ - Safety: does not monkeypatch external modules, encourage mixins or use eval.
73
+ Attempts to guide developers away from unsafe practices like shell scripts
74
+ and shell injection.
75
+ email:
76
+ - just.1.jake@gmail.com
77
+ executables:
78
+ - exek
79
+ extensions: []
80
+ extra_rdoc_files: []
81
+ files:
82
+ - .gitignore
83
+ - .rspec
84
+ - .travis.yml
85
+ - Gemfile
86
+ - README.md
87
+ - Rakefile
88
+ - bin/console
89
+ - bin/setup
90
+ - exe/exek
91
+ - exek.gemspec
92
+ - lib/exek.rb
93
+ - lib/exek/version.rb
94
+ homepage: https://github.com/justjake/exek
95
+ licenses: []
96
+ metadata: {}
97
+ post_install_message:
98
+ rdoc_options: []
99
+ require_paths:
100
+ - lib
101
+ required_ruby_version: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - '>='
104
+ - !ruby/object:Gem::Version
105
+ version: '0'
106
+ required_rubygems_version: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ requirements: []
112
+ rubyforge_project:
113
+ rubygems_version: 2.6.10
114
+ signing_key:
115
+ specification_version: 4
116
+ summary: Comprehensive tools to start and run commands.
117
+ test_files: []