mplex 0.0.3 → 0.0.4

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.
Files changed (4) hide show
  1. data/README.md +2 -2
  2. data/bin/mplex +4 -2
  3. data/lib/mplex.rb +1 -1
  4. metadata +4 -4
data/README.md CHANGED
@@ -9,7 +9,7 @@ mplex is an Extended Metaprogramming Library.
9
9
 
10
10
  ## Requirements
11
11
 
12
- - ruby >= 1.8
12
+ - ruby >= 1.8
13
13
 
14
14
 
15
15
  ## Installation
@@ -135,7 +135,7 @@ Makefile.am:
135
135
 
136
136
  ## License
137
137
 
138
- Copyright (c) 2009-2010 FURUHASHI Sadayuki
138
+ Copyright (c) 2009-2011 FURUHASHI Sadayuki
139
139
 
140
140
  Permission is hereby granted, free of charge, to any person obtaining a copy
141
141
  of this software and associated documentation files (the "Software"), to deal
data/bin/mplex CHANGED
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # Mplex: Extended Metaprogramming Library
4
4
  #
5
- # Copyright (c) 2009-2010 FURUHASHI Sadayuki
5
+ # Copyright (c) 2009-2011 FURUHASHI Sadayuki
6
6
  #
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
8
8
  # of this software and associated documentation files (the "Software"), to deal
@@ -55,7 +55,9 @@ begin
55
55
 
56
56
  finputs = ARGV
57
57
 
58
- raise "multiple stdin" if (finputs + [fctx]).count("-") >= 2
58
+ if (finputs + [fctx]).select {|x| x == "-" }.size >= 2
59
+ raise "multiple stdin"
60
+ end
59
61
 
60
62
  rescue
61
63
  usage
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # Mplex: Extended Metaprogramming Library
3
3
  #
4
- # Copyright (c) 2009-2010 FURUHASHI Sadayuki
4
+ # Copyright (c) 2009-2011 FURUHASHI Sadayuki
5
5
  #
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  # of this software and associated documentation files (the "Software"), to deal
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mplex
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - FURUHASHI Sadayuki
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-20 00:00:00 +09:00
18
+ date: 2011-03-18 00:00:00 +09:00
19
19
  default_executable:
20
20
  dependencies: []
21
21