rbtext 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rbtext/ftext.rb +2 -0
  3. data/lib/rbtext.rb +9 -0
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 900615ce6538a03ee599ca779ff21b38a410beafc6ca4d0be682da20f2fce2eb
4
- data.tar.gz: 4cf937b800c97cd5921f534bd8287d02ab03c4696909683d64c7dac648db3bec
3
+ metadata.gz: 2743ba2ccf50a3632817677ac6090363c1fce64db2c89ea8ed590a9b3e514f60
4
+ data.tar.gz: 11db0a4adc28e712d53ea1295fe6f1e34d0cdd1745f055a8fe1e531bfe554a84
5
5
  SHA512:
6
- metadata.gz: '098f8361c963b5f9a6039ba4dfd92ee2dbcff148c7be5190a0b30caf8f2241f7d4a9f37e5674a5cffeb3ff6e68e584cdaf8cf9504b0feb0d5ca4cef3d802eec8'
7
- data.tar.gz: b437c0dd983b6366fe0b5b55da6dcae7f3b507a6e6ec70546d5169f1215d35b6db9ef38a72694d63bacd7fac84dd27c24301b13a444acdbfec3d9ba9c53c4506
6
+ metadata.gz: c5469a4e05eede09f37933cfae4222f6054294aa6c82883fc2613306138f5f979500da1d00a1dbcf1a23e6dfc9d76f3b8a217ed6cc5996450592823e5cdc680d
7
+ data.tar.gz: 587c33a48c094c185711979e17851626da5df0f79f21273a870c33bfffb04fd82f8e4b8facc14f94323e421988fea2e164f175256529b8e092ff61d7ec10dbea
data/lib/rbtext/ftext.rb CHANGED
@@ -32,6 +32,8 @@ module RBText
32
32
  @text << x
33
33
  end
34
34
  end
35
+
36
+ @text << RBText::Formatting.reset
35
37
  end
36
38
 
37
39
  def to_s
data/lib/rbtext.rb CHANGED
@@ -4,4 +4,13 @@ require_relative "rbtext/formatting.rb"
4
4
  require_relative "rbtext/ftext.rb"
5
5
 
6
6
  module RBText
7
+ @ver_1 = 0
8
+ @ver_2 = 0
9
+ @ver_3 = 2
10
+
11
+ def version
12
+ "#{@ver_1}.#{@ver_2}.#{@ver_3}"
13
+ end
14
+
15
+ module_function :version
7
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbtext
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
  - Matthias Lee