diamond-lang 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f4dee69b65d4818e84f2fb19a58888c5428cd6b
4
- data.tar.gz: d79712b1c3153e6dbe6b5ca0f23647d86409cab8
3
+ metadata.gz: 146ad378461d50b88c212bf338df996e7eeea8e5
4
+ data.tar.gz: 2f1ae43f3e504de2db3d3106cd41f2b293fe7025
5
5
  SHA512:
6
- metadata.gz: d9d89324c1f3b85e92f545bf65712acb5799aa6019958bff534000adb84259d7a5c035c47db2d217b31942ed344096fe46f78c74804f5fed261697d3150914c3
7
- data.tar.gz: 3b08847a05ff5af58cfa980ccfa3e7929a7cb50b60467b38d724d906dc7bdfab221830541bddcea6bccc442a1b6760e5b05613df2f995262ab869229da8c91de
6
+ metadata.gz: c2e772bf13e68a58a50c8f51f2caf5baa09204da999e1bd8c114c01f714d394b7a379de160708242634258d56e1d30a07585447b1681ac5396fbdc78b782fb3d
7
+ data.tar.gz: 2b12b8f1c1c7b581b3054bce42a63a8f1d6f0acce21da0adcefc9c4879b598b96db3ebce94baee8ad0e967bd43ecc1723a330bb3c44f128ca18084830ad359c5
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.1.1
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: diamond-lang 1.1.0 ruby lib
5
+ # stub: diamond-lang 1.1.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "diamond-lang"
9
- s.version = "1.1.0"
9
+ s.version = "1.1.1"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
@@ -1,9 +1,10 @@
1
1
  require 'diamond-lang'
2
+ require 'json'
2
3
 
3
4
  class Conveyor < DiamondLang::OneCommand
4
5
  def setup(c)
5
- c.title s(:a), :subtitle, {"\"text\"" => "command by Ben from bensites.com"}
6
- c.title s(:a), :title, {"\"text\"" => "Conveyor Belts"}
6
+ c.title s(:a), :subtitle, {"text " => "command by Ben from bensites.com"}.to_json
7
+ c.title s(:a), :title, {"text " => "Conveyor Belts"}.to_json
7
8
  end
8
9
  def tick(c)
9
10
  black_carpet = b 'carpet', colors(:black)
@@ -5,7 +5,7 @@ module DiamondLang
5
5
  end
6
6
  def self.create(*args)
7
7
  @@instance = self.new(*args)
8
- puts @@instance.to_command.to_s.gsub(/\\?"(\w+?)\\?":/, '\1:')
8
+ puts @@instance.to_command.to_s.gsub(/\\?"(\w+?)\\?":/, '\1:').gsub(/(\\?"\w+?)\s(\\?":)/, '\1\2')
9
9
  end
10
10
  def initialize(height=5, length=6, width=5, offset=coords(2, 2, 0), surrond=Helpers::Block.new('stained_hardened_clay', 13), output=false)
11
11
  @output = output
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: diamond-lang
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben (@penne12_)