community_theatre 0.0.1 → 0.1.0

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
  SHA256:
3
- metadata.gz: a5d32f4bb88edd6740c771dea231dde55c58987effa066876504fba93bae25ff
4
- data.tar.gz: d442e54ee7553950258d2b9fd268b33527b69bff079d7d7a5b76c824369ba6fa
3
+ metadata.gz: b6be6792fdeeade4fed8994338980b54e411be4cfb3d0fbea7d51591039269a9
4
+ data.tar.gz: 73d37e9df72484ae3ff3b9e27d9661d312ecda6f1ec1e1b4e1966dd1b447d793
5
5
  SHA512:
6
- metadata.gz: 1aa49f9fb8cfc59ed8ed73b5b5df0d3e4583607ea301a8bc3a5e8d5719ba1a42add972ee533463900f19c489ddd0b4a54d4f8f93d3fd2a8764bb0bb69beea448
7
- data.tar.gz: 3f4a60c92e4ce4e28127c629455c9a15ff7a53c41f7c0671fee300489f3a906d4875e0ecd6b134b930dcacb469758a88048715ce3cf44d8ff2b3d72fb306e3e4
6
+ metadata.gz: 4d47bcaa510e069e06abbeb1836508b7b166afe78796b2a4126478a452abe7cebfed6b063ae473425eefc71f4216df5b2086603412bdc5d9901ec45ec006b2c9
7
+ data.tar.gz: 4b675d498ed350f5413bcf9fee0629820e69548af591ae3da954eda0910e6f8860566c0f28853f7c2bb2d789bf56c6bdca275b8d05b141d5f45679b6cef960bc
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
+ /*.gem
1
2
  /.bundle/
2
3
  /.yardoc
3
4
  /_yardoc/
data/bin/project_fizzbuzz CHANGED
@@ -28,4 +28,4 @@ class FizzBuzzProjector < CommunityTheatre::Projector
28
28
  end
29
29
 
30
30
  projector = FizzBuzzProjector.new(spooler, File.join(__dir__, "../"))
31
- projector.project
31
+ projector.project!
@@ -9,22 +9,18 @@ module CommunityTheatre
9
9
  File.join(@path_base, *args)
10
10
  end
11
11
 
12
- def pre_project;
13
- end
12
+ def setup; end
14
13
 
15
- def post_project;
16
- end
14
+ def teardown; end
17
15
 
18
- def process_item(item)
19
- ;
20
- end
16
+ def process(item); end
21
17
 
22
- def project
23
- pre_project
18
+ def project!
19
+ setup
24
20
 
25
- @spooler.unspool.each(&method(:process_item))
21
+ @spooler.unspool.each(&method(:process))
26
22
 
27
- post_project
23
+ teardown
28
24
  end
29
25
  end
30
26
  end
@@ -21,7 +21,7 @@ module CommunityTheatre
21
21
  packer = MessagePack::Packer.new(file)
22
22
  packer.write_array_header(page.size)
23
23
 
24
- page.each {|item| packer.write(item)}
24
+ page.each { |item| packer.write(item) }
25
25
 
26
26
  packer.flush
27
27
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module CommunityTheatre
2
- VERSION = "0.0.1"
4
+ VERSION = '0.1.0'
3
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: community_theatre
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liam Dawson