iroki 0.0.2 → 0.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cb8c779977963819ef4dfaf4bc43d398716b2ea8
4
- data.tar.gz: 05733ae9b619d8081a1de00f834b375c278b9704
3
+ metadata.gz: 6f5224573ee3c2ac990cf82f982eccd1bf4f8ea5
4
+ data.tar.gz: f0450a3f9c3aaa9204fb09af6a6d46d5b935e344
5
5
  SHA512:
6
- metadata.gz: 378e5ee1ad5e2b93ad9eddcd552d52d5df32d81ef43d42d44185632767110c124a7bb7ad1abd99442e33fa18f7d9c615b6681e4dfbd8b3cd4161796db6f0f2d5
7
- data.tar.gz: 708945b532919f8fb4ca9d269e53e4cf1ce2e55be847a787914510c5fa5b95e60f2a831a45d7128110a27c1c42d23b2b751538f4dbda0c77422aa6bc6e6f651e
6
+ metadata.gz: 368136b7d24a844723440b52cb4ed0b14be798dbc80fdca0a3a49b742f65cc66f75d22844d74f603fdbf31a0cadf9be93bfbe2febc56e49b630894c68eec3ce5
7
+ data.tar.gz: eb4d2ffab5890e7c28ca347e9e4fa6d6081ecc8e240948a76bd230a3fffa1eff6a4e6684b52f44d0e105fae96ae0cbc760620785660bcb709f3f9732b2359a4a
@@ -0,0 +1,9 @@
1
+ FROM ruby:2.3
2
+
3
+ MAINTAINER Ryan Moore <moorer@udel.edu>
4
+
5
+ RUN gem install iroki
6
+
7
+ ENTRYPOINT ["iroki"]
8
+
9
+ CMD ["--help"]
data/README.md CHANGED
@@ -41,3 +41,19 @@ be a safe, welcoming space for collaboration, and contributors are
41
41
  expected to adhere to the
42
42
  [Contributor Covenant](http://contributor-covenant.org) code of
43
43
  conduct.
44
+
45
+ ## Version Info ##
46
+
47
+ ### 0.0.1 ###
48
+
49
+ Migrate from [color_tree](https://github.com/mooreryan/color_tree) to
50
+ Iroki.
51
+
52
+ ### 0.0.2 ###
53
+
54
+ Add [iroki](https://github.com/mooreryan/iroki/blob/master/exe/iroki)
55
+ executable, and use RubyGems for installation.
56
+
57
+ ### 0.0.3 ###
58
+
59
+ Add a [Dockerfile](https://github.com/mooreryan/iroki/blob/master/Dockerfile) and a [wrapper script](https://github.com/mooreryan/iroki/blob/master/exe/iroki_docker) for running Iroki with Docker.
@@ -0,0 +1,21 @@
1
+ #!/usr/bin/perl -w
2
+
3
+ use File::Spec;
4
+
5
+ my @args = ();
6
+
7
+ foreach my $arg (@ARGV) {
8
+ if ($arg =~ /^-/) {
9
+ push @args, $arg;
10
+ } else {
11
+ my $path = File::Spec->rel2abs($arg);
12
+ push @args, $path;
13
+ }
14
+ }
15
+
16
+ my $img = "mooreryan/iroki";
17
+ my $cmd = "docker run -v \"\$HOME:\$HOME\" $img @args";
18
+
19
+ print "\n RUNNING COMMAND: $cmd\n";
20
+
21
+ exec("$cmd");
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Ryan Moore"]
10
10
  spec.email = ["moorer@udel.edu"]
11
11
 
12
- spec.summary = %q{Library code for Iroki, a phylogenetic tree customization program.}
13
- spec.description = %q{Library code for Iroki, a phylogenetic tree customization program.}
12
+ spec.summary = %q{Command line app and library code for Iroki, a phylogenetic tree customization program.}
13
+ spec.description = %q{Command line app and library code for Iroki, a phylogenetic tree customization program.}
14
14
  spec.homepage = "https://github.com/mooreryan/iroki"
15
15
  spec.license = "GPLv3: http://www.gnu.org/licenses/gpl.txt"
16
16
 
@@ -18,7 +18,7 @@
18
18
 
19
19
  # Library metadata
20
20
  module Iroki
21
- VERSION = "0.0.2"
21
+ VERSION = "0.0.3"
22
22
  COPYRIGHT = "2015 - 2016 Ryan Moore"
23
23
  CONTACT = "moorer@udel.edu"
24
24
  WEBSITE = "https://github.com/mooreryan/iroki"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iroki
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Moore
@@ -148,11 +148,13 @@ dependencies:
148
148
  - - ">="
149
149
  - !ruby/object:Gem::Version
150
150
  version: 2.1.2
151
- description: Library code for Iroki, a phylogenetic tree customization program.
151
+ description: Command line app and library code for Iroki, a phylogenetic tree customization
152
+ program.
152
153
  email:
153
154
  - moorer@udel.edu
154
155
  executables:
155
156
  - iroki
157
+ - iroki_docker
156
158
  extensions: []
157
159
  extra_rdoc_files: []
158
160
  files:
@@ -162,6 +164,7 @@ files:
162
164
  - ".travis.yml"
163
165
  - CODE_OF_CONDUCT.md
164
166
  - COPYING
167
+ - Dockerfile
165
168
  - Gemfile
166
169
  - Guardfile
167
170
  - README.md
@@ -169,6 +172,7 @@ files:
169
172
  - bin/console
170
173
  - bin/setup
171
174
  - exe/iroki
175
+ - exe/iroki_docker
172
176
  - iroki.gemspec
173
177
  - lib/iroki.rb
174
178
  - lib/iroki/color/color.rb
@@ -202,6 +206,7 @@ rubyforge_project:
202
206
  rubygems_version: 2.4.8
203
207
  signing_key:
204
208
  specification_version: 4
205
- summary: Library code for Iroki, a phylogenetic tree customization program.
209
+ summary: Command line app and library code for Iroki, a phylogenetic tree customization
210
+ program.
206
211
  test_files: []
207
212
  has_rdoc: