take 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 81ce68befe964addb9f02abeed75d6707d49e893
4
- data.tar.gz: 6e8713d65cd660a123c7bf6d12a02d271ad8b263
3
+ metadata.gz: d80c0988d0ba57ba47ff99bf603f2ac8249d0f63
4
+ data.tar.gz: 4a6af049f7e522b046486b0b2b7d3396a2944cca
5
5
  SHA512:
6
- metadata.gz: 241505dae6abb83685c50ce22b1c6ca29d4f6de155ff4a45881fc72a134bb69c2633ac46b4882a4957d5ce24592f4c1a872353c90606c5b8f065670bc8c09bb0
7
- data.tar.gz: c767a40ea8469d40201a4ce6ee3ad5aa59cdb1082e196407e0ffab11aa75f1dcce1874e29e36cb6c48e6034223ac4fb9e903a2fe01a29495d08cb5c1e7851dbd
6
+ metadata.gz: 136fc14168f1edfffa2583bc0ce0b73820f5a0b40c9875b22f99bb2a267799fef7f18ab424e58088f04020abefecf3cb923755d4895815cc74f2ab963f0fa61c
7
+ data.tar.gz: 4ccb797bbb8af5ab0f6e18023564726bf97515135fbb4a16ad9b18ff83bb067dea131cdd15bdaff694e3b2be93873a6e979bed969a202a91ed72e75b3141d99d
data/lib/take/unit.rb CHANGED
@@ -9,7 +9,7 @@ module Take
9
9
  # A unit test. This is used to generate c files for tests.
10
10
  class Unit
11
11
 
12
- def create(file)
12
+ def self.create(file)
13
13
  file = File.open(file, "r")
14
14
  scanner = Scanner.new(file.read)
15
15
  compiler = Compiler.new(file.path, scanner.scan)
data/lib/take/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Take
2
- VERSION = "0.0.3".freeze
2
+ VERSION = "0.0.4".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: take
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
  - Jeremy Rodi