cura-termbox 0.0.1 → 0.0.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: 472b032d744709d45da7575030194f28c5df1cfb
4
- data.tar.gz: 015266ad33e99172f56361326c6649739ce67339
3
+ metadata.gz: 742b85b66e5b432ca570205c670b961be90a570e
4
+ data.tar.gz: ae671154a62af4aee1fd0fc396b4bc829b86dd73
5
5
  SHA512:
6
- metadata.gz: 51013f0e83448fbaabf8ab11b2890b6c6e796f14ee46230d9649b962a77933294d6f66d5b06df187fb31145f85086af35f5ee7109cc05657227042d38ac019bf
7
- data.tar.gz: 02b4c785e9e66087937f52686cdbd92b0a5907920609895ec02ffca925a80cc13b6de5f6a961bc985050fe8e2520fa75cec84043fa7153458bb87ba9213749a7
6
+ metadata.gz: f312923332077ee0085264ee9960a59ea4a9c1c8a27dd5ef79ae45dbb9d29e5d955e6505f516974ad1eaeaa61ffbdf26ed713b4798134b6ce2bc9253e33e3e61
7
+ data.tar.gz: 46f406843b917054cd23d3a832695edca11d24f7b7fa5187bbf001435de0c0b0544b8e7f919e98dcf06de10b45a528d77c2f7078b966aab83460ed7dbdf5ee14
data/Gemfile CHANGED
@@ -1,14 +1,14 @@
1
1
  source "https://rubygems.org"
2
2
 
3
3
  group :development do
4
- gem "fuubar", "~> 2.0.0"
5
- gem "mutant-rspec", "~> 0.8.0"
6
- gem "rake", "~> 10.4.2"
7
- gem "reek", "~> 3.0.4"
8
- gem "rspec", "~> 3.3.0"
9
- gem "rubocop", "~> 0.32.1"
10
- gem "ruby-prof", "~> 0.15.8"
11
- gem "simplecov-json", "~> 0.2"
12
- gem "simplecov", "~> 0.10.0"
13
- gem "yard", "~> 0.8.7.6"
4
+ gem "fuubar"
5
+ gem "mutant-rspec"
6
+ gem "rake"
7
+ gem "reek"
8
+ gem "rspec"
9
+ gem "rubocop"
10
+ gem "ruby-prof"
11
+ gem "simplecov-json"
12
+ gem "simplecov"
13
+ gem "yard"
14
14
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -35,7 +35,11 @@ module Cura
35
35
  when ::Termbox::TB_EPIPE_TRAP_ERROR then raise Termbox::Error::PipeTrapError
36
36
  end
37
37
 
38
- ::Termbox.tb_select_input_mode(::Termbox::TB_INPUT_ESC | ::Termbox::TB_INPUT_MOUSE)
38
+ if defined?(::Termbox::TB_INPUT_MOUSE) # TODO: I don't like this =[
39
+ ::Termbox.tb_select_input_mode(::Termbox::TB_INPUT_ESC | ::Termbox::TB_INPUT_MOUSE)
40
+ else
41
+ ::Termbox.tb_select_input_mode(::Termbox::TB_INPUT_ESC)
42
+ end
39
43
  # ::Termbox.tb_select_output_mode(::Termbox::TB_OUTPUT_216)
40
44
  ::Termbox.tb_select_output_mode(::Termbox::TB_OUTPUT_256)
41
45
 
@@ -0,0 +1 @@
1
+ require "cura/termbox/adapter" if Kernel.respond_to?(:require)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cura-termbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Scott Lewis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-18 00:00:00.000000000 Z
11
+ date: 2016-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: termbox-ffi
@@ -45,12 +45,12 @@ extensions: []
45
45
  extra_rdoc_files: []
46
46
  files:
47
47
  - Gemfile
48
- - Gemfile.lock
49
48
  - LICENSE
50
49
  - README.md
51
50
  - Rakefile
52
51
  - VERSION
53
52
  - cura-termbox.gemspec
53
+ - lib/cura-termbox.rb
54
54
  - lib/cura/termbox/adapter.rb
55
55
  - lib/cura/termbox/color_mapper.rb
56
56
  - lib/cura/termbox/component/base.rb
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.4.5
84
+ rubygems_version: 2.5.1
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: Cura Termbox adapter.
data/Gemfile.lock DELETED
@@ -1,119 +0,0 @@
1
- GEM
2
- remote: https://rubygems.org/
3
- specs:
4
- abstract_type (0.0.7)
5
- adamantium (0.2.0)
6
- ice_nine (~> 0.11.0)
7
- memoizable (~> 0.4.0)
8
- anima (0.2.0)
9
- abstract_type (~> 0.0.7)
10
- adamantium (~> 0.1)
11
- equalizer (~> 0.0.8)
12
- ast (2.0.0)
13
- astrolabe (1.3.1)
14
- parser (~> 2.2)
15
- concord (0.1.5)
16
- adamantium (~> 0.2.0)
17
- equalizer (~> 0.0.9)
18
- diff-lcs (1.2.5)
19
- docile (1.1.5)
20
- equalizer (0.0.11)
21
- fuubar (2.0.0)
22
- rspec (~> 3.0)
23
- ruby-progressbar (~> 1.4)
24
- ice_nine (0.11.1)
25
- json (1.8.3)
26
- memoizable (0.4.2)
27
- thread_safe (~> 0.3, >= 0.3.1)
28
- morpher (0.2.3)
29
- abstract_type (~> 0.0.7)
30
- adamantium (~> 0.2.0)
31
- anima (~> 0.2.0)
32
- ast (~> 2.0.0)
33
- concord (~> 0.1.4)
34
- equalizer (~> 0.0.9)
35
- ice_nine (~> 0.11.0)
36
- procto (~> 0.0.2)
37
- mutant (0.8.0)
38
- abstract_type (~> 0.0.7)
39
- adamantium (~> 0.2.0)
40
- anima (~> 0.2.0)
41
- ast (~> 2.0)
42
- concord (~> 0.1.5)
43
- diff-lcs (~> 1.2)
44
- equalizer (~> 0.0.9)
45
- ice_nine (~> 0.11.1)
46
- memoizable (~> 0.4.2)
47
- morpher (~> 0.2.3)
48
- parallel (~> 1.3)
49
- parser (~> 2.2.2)
50
- procto (~> 0.0.2)
51
- unparser (~> 0.2.4)
52
- mutant-rspec (0.8.0)
53
- mutant (~> 0.8.0)
54
- rspec-core (>= 3.2.0, < 3.4.0)
55
- parallel (1.6.0)
56
- parser (2.2.2.6)
57
- ast (>= 1.1, < 3.0)
58
- powerpack (0.1.1)
59
- procto (0.0.2)
60
- rainbow (2.0.0)
61
- rake (10.4.2)
62
- reek (3.0.4)
63
- parser (~> 2.2.2.5)
64
- rainbow (~> 2.0)
65
- unparser (~> 0.2.2)
66
- rspec (3.3.0)
67
- rspec-core (~> 3.3.0)
68
- rspec-expectations (~> 3.3.0)
69
- rspec-mocks (~> 3.3.0)
70
- rspec-core (3.3.1)
71
- rspec-support (~> 3.3.0)
72
- rspec-expectations (3.3.0)
73
- diff-lcs (>= 1.2.0, < 2.0)
74
- rspec-support (~> 3.3.0)
75
- rspec-mocks (3.3.1)
76
- diff-lcs (>= 1.2.0, < 2.0)
77
- rspec-support (~> 3.3.0)
78
- rspec-support (3.3.0)
79
- rubocop (0.32.1)
80
- astrolabe (~> 1.3)
81
- parser (>= 2.2.2.5, < 3.0)
82
- powerpack (~> 0.1)
83
- rainbow (>= 1.99.1, < 3.0)
84
- ruby-progressbar (~> 1.4)
85
- ruby-prof (0.15.8)
86
- ruby-progressbar (1.7.5)
87
- simplecov (0.10.0)
88
- docile (~> 1.1.0)
89
- json (~> 1.8)
90
- simplecov-html (~> 0.10.0)
91
- simplecov-html (0.10.0)
92
- simplecov-json (0.2)
93
- json
94
- simplecov
95
- thread_safe (0.3.5)
96
- unparser (0.2.4)
97
- abstract_type (~> 0.0.7)
98
- adamantium (~> 0.2.0)
99
- concord (~> 0.1.5)
100
- diff-lcs (~> 1.2.5)
101
- equalizer (~> 0.0.9)
102
- parser (~> 2.2.2)
103
- procto (~> 0.0.2)
104
- yard (0.8.7.6)
105
-
106
- PLATFORMS
107
- ruby
108
-
109
- DEPENDENCIES
110
- fuubar (~> 2.0.0)
111
- mutant-rspec (~> 0.8.0)
112
- rake (~> 10.4.2)
113
- reek (~> 3.0.4)
114
- rspec (~> 3.3.0)
115
- rubocop (~> 0.32.1)
116
- ruby-prof (~> 0.15.8)
117
- simplecov (~> 0.10.0)
118
- simplecov-json (~> 0.2)
119
- yard (~> 0.8.7.6)