twee2 0.3.1 → 0.3.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eae55778ddf450ba2c875598ef93c78cbffd73ee
4
- data.tar.gz: dae14469b1a56c188bb7518ffa261b180d1d1109
3
+ metadata.gz: 8ab84ccf632ecb0d8406411affe8c510bdf21cd9
4
+ data.tar.gz: e29c5f719f01c0091ca58a4b1cef9c9bd1da265c
5
5
  SHA512:
6
- metadata.gz: 92004b0f9ed38d90d4b26dce01175ad8492a5cd16c562743c18e6590948b4695bc145891008d6926dea1f224021a9b8f4bc03664a47d0ddfbe148d9ce1e4e697
7
- data.tar.gz: 90f9e066583158092475c23e313e180a4cd6838fedc103b332b96c0db8921a17d08a8a6b4c1ed269b6ce531ebb58a7d317540c48381fe73bf47b8dec1ca5803b
6
+ metadata.gz: 06fb4004be941570eded9e5362a384f3aa8efbf290238c91417733203d4951aea9514fe441cbd625d9696e2eb503a44e55022b8695ccf656479c63e3a05cbab8
7
+ data.tar.gz: 4e5f2fbffb9570f3688553370a69694d87ad7c8b5bc4906c770f93f4258700b79ebb15d05fbda138b1dc4347efce291e88f4ba33f1c279c47845b25e18257e4c
@@ -1 +1 @@
1
- 2.1.2
1
+ 2.1.5
@@ -1,12 +1,11 @@
1
1
  Encoding.default_external = Encoding.default_internal = Encoding::UTF_8
2
2
 
3
3
  # Prerequisites (managed by bundler)
4
- %w{rubygems haml singleton
5
- twee2/version twee2/story_format twee2/story_file twee2/decompiler twee2/build_config
6
- bundler/setup
7
- thor json builder filewatcher coffee_script nokogiri open-uri sass}.each do |prerequisite|
8
- require prerequisite
9
- end
4
+ require 'rubygems'
5
+ require 'bundler/setup'
6
+ Dir.glob("#{File.dirname(File.absolute_path(__FILE__))}/twee2/*.rb", &method(:require))
7
+ require 'thor'
8
+ require 'filewatcher'
10
9
 
11
10
  module Twee2
12
11
  # Constants
@@ -1,3 +1,5 @@
1
+ require 'singleton'
2
+
1
3
  module Twee2
2
4
  class BuildConfig
3
5
  include Singleton
@@ -1,3 +1,6 @@
1
+ require 'open-uri'
2
+ require 'nokogiri'
3
+
1
4
  module Twee2
2
5
  class DecompilationFailedException < Exception; end
3
6
 
@@ -1,3 +1,8 @@
1
+ require 'haml'
2
+ require 'coffee_script'
3
+ require 'sass'
4
+ require 'builder'
5
+
1
6
  module Twee2
2
7
  class StoryFileNotFoundException < Exception; end
3
8
 
@@ -1,3 +1,5 @@
1
+ require 'json'
2
+
1
3
  module Twee2
2
4
  class StoryFormatNotFoundException < Exception; end
3
5
 
@@ -1,3 +1,3 @@
1
1
  module Twee2
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twee2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Q
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-21 00:00:00.000000000 Z
11
+ date: 2015-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -312,7 +312,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
312
312
  version: '0'
313
313
  requirements: []
314
314
  rubyforge_project:
315
- rubygems_version: 2.2.2
315
+ rubygems_version: 2.4.3
316
316
  signing_key:
317
317
  specification_version: 4
318
318
  summary: Command-line tool to compile Twee-style (.tw, .twine) interactive fiction