livetext 0.5.7 → 0.5.8

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/livetext.rb +3 -3
  3. data/livetext.gemspec +2 -2
  4. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 96653f79bb6d87eebd7df695e3af48d7a79ffa7e
4
- data.tar.gz: e2d11db60a64cc55ee59db3d78d8d4ddf46bb71e
3
+ metadata.gz: 8f3a2e314692e74bb6300763aa877f977a8f472d
4
+ data.tar.gz: b2d7d0aed5b79c3f9bfbb2b3d88063a590918a9a
5
5
  SHA512:
6
- metadata.gz: d35bb99c82fa717c73630cce44d74862c5df5b67a5b98a59a7ea3a69df6ea22efbbecb2f7a58f05746b9769cbcfc91d1ec258ddee98f768ba1796d672f5188a5
7
- data.tar.gz: 82e2a8851c9bb54ccd2a3f8e88891618f7b4e143442242d707260651eb07e9c38396ae5c511989d6b57a64602ebabf0edf844343b52f1c0896bd0e43d5107ba8
6
+ metadata.gz: 6663cc36b63cb7b8cd0a0b6f74e3eca5ac03c670f993fa136ae5f7ebb25c3c9fca44ac2b731489b0a764f84efe015f7887d5d4f1ac064b57a0b265b8e4d3dbda
7
+ data.tar.gz: 836148c5e892d5e06303b5cf376bc7009de7c040ef022f532bb1993fa2ec3de9e186698d6441da634ae73b3154495d3b97172d002b131ecb7c1f382879b6754c
data/lib/livetext.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'fileutils'
2
2
 
3
- CWD = "." # File.dirname(__FILE__)
3
+ Plugins = File.expand_path(File.join(File.dirname(__FILE__), "../dsl"))
4
4
 
5
5
  TTY = ::File.open("/dev/tty", "w")
6
6
 
@@ -15,7 +15,7 @@ class Enumerator
15
15
  end
16
16
 
17
17
  class Livetext
18
- VERSION = "0.5.6"
18
+ VERSION = "0.5.8"
19
19
 
20
20
  MainSigil = "."
21
21
  Sigils = [MainSigil]
@@ -512,7 +512,7 @@ module Livetext::Standard
512
512
 
513
513
  def mixin
514
514
  name = _args.first
515
- file = "#{CWD}/" + name + ".rb"
515
+ file = "#{Plugins}/" + name + ".rb"
516
516
  return if @_mixins.include?(file)
517
517
  @_mixins << file
518
518
  _pushfile(file)
data/livetext.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'livetext'
3
- s.version = '0.5.7'
4
- s.date = '2017-03-07'
3
+ s.version = '0.5.8'
4
+ s.date = '2017-03-08'
5
5
  s.summary = "A smart processor for text"
6
6
  s.description = "A smart text processor extensible in Ruby"
7
7
  s.authors = ["Hal Fulton"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: livetext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.7
4
+ version: 0.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hal Fulton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-07 00:00:00.000000000 Z
11
+ date: 2017-03-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A smart text processor extensible in Ruby
14
14
  email: rubyhacker@gmail.com
@@ -108,8 +108,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  version: '0'
109
109
  requirements: []
110
110
  rubyforge_project:
111
- rubygems_version: 2.2.2
111
+ rubygems_version: 2.4.2
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: A smart processor for text
115
115
  test_files: []
116
+ has_rdoc: