twn 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: ea48cd0f1c8ee687f2c382f737f1d90d4ac061103136a236a93acfab64e4b2df
4
+ data.tar.gz: 5f374bd9b7b9a96227ea7930070ea0eedaa0fbc0d10b0ce40d2d102bcfb87a83
5
+ SHA512:
6
+ metadata.gz: 752dda361f9437ace38e8b8a1a8a7e6f9e101662e29f1b76ce46256c814d267c0287216e6d872db5889583adac17cdeeaa74da8b3c567a491cc6de7a553e7687
7
+ data.tar.gz: f9b3dceea9075a4f011791d5771da63ca0fabeabf46f9dad433fa278c8517f64aef8f9d972a6e1ecdfa640a31e4c67a0eab348c2da3a3cfca9260ffdd4f767cf
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in twn.gemspec
4
+ gemspec
5
+
6
+ gem "rake", "~> 12.0"
7
+ gem "rspec", "~> 3.0"
@@ -0,0 +1,27 @@
1
+ # TWN
2
+
3
+ A Traveller and Stars without Number world generator.
4
+
5
+ ## About
6
+
7
+ Stars without Number and Traveller both have world creation processes. Each generating a different and somewhat overlapping overview of a system.
8
+
9
+ The goal of TWN is to use both processes to generate an even more descriptive world.
10
+
11
+ I envision that you should be able to feed in an already existing Stars without Number system and output the remaining Traveller attributes. Those generated Traveller attributes would be informed by the Stars without Number attributes. In other words, if you gave a Stars without Number system that has a Tech Level of 4, then the Traveller attributes that feed into Tech Level would need to be able to create the conditions so you could get that Tech Level.
12
+
13
+ ## Installation
14
+
15
+ Add this line to your application's Gemfile:
16
+
17
+ ```ruby
18
+ gem 'twn'
19
+ ```
20
+
21
+ And then execute:
22
+
23
+ $ bundle install
24
+
25
+ Or install it yourself as:
26
+
27
+ $ gem install twn
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "twn"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,6 @@
1
+ require "twn/version"
2
+
3
+ module Twn
4
+ class Error < StandardError; end
5
+ # Your code goes here...
6
+ end
@@ -0,0 +1,3 @@
1
+ module Twn
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,26 @@
1
+ require_relative 'lib/twn/version'
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "twn"
5
+ spec.version = Twn::VERSION
6
+ spec.authors = ["Jeremy Friesen"]
7
+ spec.email = ["jeremy.n.friesen@gmail.com"]
8
+
9
+ spec.summary = %q{A Traveller and Stars without Number world generator.}
10
+ spec.description = %q{A Traveller and Stars without Number world generator.}
11
+ spec.homepage = "https://sr.ht/~jeremyf/twn/"
12
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
13
+
14
+ spec.metadata["homepage_uri"] = spec.homepage
15
+ spec.metadata["source_code_uri"] = "https://git.sr.ht/~jeremyf/twn"
16
+ spec.metadata["changelog_uri"] = "https://git.sr.ht/~jeremyf/twn/CHANGELOG.md"
17
+
18
+ # Specify which files should be added to the gem when it is released.
19
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
20
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
21
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
22
+ end
23
+ spec.bindir = "exe"
24
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
+ spec.require_paths = ["lib"]
26
+ end
metadata ADDED
@@ -0,0 +1,55 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: twn
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Jeremy Friesen
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-08-22 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: A Traveller and Stars without Number world generator.
14
+ email:
15
+ - jeremy.n.friesen@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - ".gitignore"
21
+ - ".rspec"
22
+ - Gemfile
23
+ - README.md
24
+ - Rakefile
25
+ - bin/console
26
+ - bin/setup
27
+ - lib/twn.rb
28
+ - lib/twn/version.rb
29
+ - twn.gemspec
30
+ homepage: https://sr.ht/~jeremyf/twn/
31
+ licenses: []
32
+ metadata:
33
+ homepage_uri: https://sr.ht/~jeremyf/twn/
34
+ source_code_uri: https://git.sr.ht/~jeremyf/twn
35
+ changelog_uri: https://git.sr.ht/~jeremyf/twn/CHANGELOG.md
36
+ post_install_message:
37
+ rdoc_options: []
38
+ require_paths:
39
+ - lib
40
+ required_ruby_version: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: 2.3.0
45
+ required_rubygems_version: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
50
+ requirements: []
51
+ rubygems_version: 3.1.2
52
+ signing_key:
53
+ specification_version: 4
54
+ summary: A Traveller and Stars without Number world generator.
55
+ test_files: []