davinci-text 1.0.0.1 → 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 +4 -4
- data/controllers/sublime_output_controller.rb +3 -1
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3bfd3990f96d7540b3468fc1d6f30d32c2a6b6d
|
4
|
+
data.tar.gz: 729f2e1afc2fd3c3dcf54f0d7764eeffd81b6111
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae4278c00413dbbd3f815fe3fa8723579119d10f752113fcc6a22ae4373d30364c9ca8e6dd0c0c26e5fdb32b1e2e5dcafd3cc0a616efef151ded3aa66f04ed51
|
7
|
+
data.tar.gz: 077bc552ff4c0c595e4f09de2eb18b846b0ae26d91dea207d73e0943e3813a41575a436ba7cbdb523d1c0bd9aba21974d30afa1983dbb72f7ae7a0ecbe857436
|
@@ -32,7 +32,6 @@ class SublimeOutputController
|
|
32
32
|
def insert_styles
|
33
33
|
|
34
34
|
@base = File.read(@filepath)
|
35
|
-
byebug
|
36
35
|
replace_options
|
37
36
|
clean_up_leftovers
|
38
37
|
File.open(@filepath, 'w') { |f| f.write(@base) }
|
@@ -46,6 +45,9 @@ class SublimeOutputController
|
|
46
45
|
def replace_options
|
47
46
|
@options.each do |key, value|
|
48
47
|
print "."
|
48
|
+
puts key.to_s
|
49
|
+
puts value
|
50
|
+
byebug
|
49
51
|
@base.gsub!(/":::#{key.to_s}:::"/, value)
|
50
52
|
end
|
51
53
|
|
data/lib/version.rb
CHANGED