ruby-tm 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/{ruby-tm → tm} +8 -9
  3. data/changelog.md +6 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c513494b07b17d76dc4ac34a50bafb359e4d633
4
- data.tar.gz: 3824136249da7cfb91138e2306ecba75a14875a7
3
+ metadata.gz: ea88df1f78a38e63fc1669efb6c4fe276786847a
4
+ data.tar.gz: e94e6e08dc6c1b881cc7c548ee0f48b811d2139e
5
5
  SHA512:
6
- metadata.gz: f12bf394bc45e7997680ea7627bd73ee767c2c55be3c7205cf0d03c37dd897d5cf278cefb1a94d0605bd65d2bb57c55e21d4ea036e6756da4a78cd975fdabd69
7
- data.tar.gz: 92b20276e1e8b583f07d6a8793bf931fc14f009ab807fc6d272079ec9984eacad80af168fa39ef1f431f4fc473ea216adef3c3c0d822a70ef977feab80d08c57
6
+ metadata.gz: db94ea7e09550ba38e530a326876d592c2162ab60f231fd76bd017e6a12b4792493fdf133138a1f48e88f9b3c591c785c994646e6a51bc4d9e7946c899a4fb8e
7
+ data.tar.gz: 2a1ba7fc2f51f99e44c28e55db5782d33c15b85ebce8fc971e41fdb66c3e70d076a28754eb04e17933acffe4a1aa1ece298b7a80feeaa01e7cfe25d873c35237
@@ -113,13 +113,12 @@ class Instructions
113
113
  end
114
114
  end
115
115
 
116
- if __FILE__ == $0
117
- if ARGV.empty?
118
- abort("usage: tm <input_file> <input_tape> [-v]\nUse -v or generally any string containing v as the 3rd parameter for verbose mode.\n\nexample: tm reverse.tm something\ngnihtemos")
119
- end
120
- ins = Instructions.new(ARGV[0])
121
- tape = Tape.new(ARGV[1])
122
- ins.run(tape)
116
+ if ARGV.empty?
117
+ puts "usage: tm <input_file> <input_tape> [-v]\nUse -v or generally any string containing v as the 3rd parameter for verbose mode.\n\nexample: tm reverse.tm something\ngnihtemos"
118
+ abort()
119
+ end
120
+ ins = Instructions.new(ARGV[0])
121
+ tape = Tape.new(ARGV[1])
122
+ ins.run(tape)
123
123
 
124
- puts tape
125
- end
124
+ puts tape
@@ -1,5 +1,10 @@
1
+ ### 0.0.4
2
+ (released 27/11/2013)
3
+
4
+ - remove idiot if block that was probably at fault
5
+
1
6
  ### 0.0.3
2
- (released 20/11/2013)
7
+ (released 27/11/2013)
3
8
 
4
9
  - trying to convince the binary to actually run after installing it with RubyGems
5
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-tm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Theodor Văraru
@@ -14,14 +14,14 @@ description: A turing machine interpreter packaged as a command line tool.
14
14
  email:
15
15
  - theo@tvararu.ro
16
16
  executables:
17
- - ruby-tm
17
+ - tm
18
18
  extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
21
  - license.txt
22
22
  - readme.md
23
23
  - changelog.md
24
- - bin/ruby-tm
24
+ - bin/tm
25
25
  homepage: http://github.com/tvararu/ruby-tm
26
26
  licenses:
27
27
  - license.txt