swift-playground 0.0.4 → 0.0.5

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: c6ec1be4d9dee7a5532d1811ce4483dead178e09
4
- data.tar.gz: 895ae995f6f1534b5d9c6eff89e9bf264ee9789e
3
+ metadata.gz: 0f04f3b993bb645fc8ecbc8af62ded2614addb9c
4
+ data.tar.gz: 0cfe18fb1a96ab362b7fad385f9a43182814dd83
5
5
  SHA512:
6
- metadata.gz: 567cbe6e9fc2bce470f156418a79e0d71435f750e5b213af7cf88c75c4296b26bf30cc014f62217d0b348b5c4cbcec08d0c63c2c5cd93fb8aba4a812556c3bbf
7
- data.tar.gz: b74cbf26eac5ca60dd36c7f1d56e503876ef015966f4cfa567e8387c5cf78b8daa0b2e4c20b93a40f3a9bc5aba1fc4616bbcc77ff11e1edd651e23793050d465
6
+ metadata.gz: bf80d3134baea969490c8c8f78c41acceb8a4cc90141e6e0d9c88926ffc3cdd25dad55b61e088267baf322ba2237245cc1a700a0ab4f52b1cf6c2f6a17a179e5
7
+ data.tar.gz: 967f3017c78654238455c964c6bf663fc29bab4417469fb21cefb3b998313cb1d66620e1d45ec35566a4f3a4947dee4471825b763e71d6d6b9c75846288d88cc
@@ -132,7 +132,7 @@ module Swift
132
132
 
133
133
  unless style == 'custom'
134
134
  @highlighting_css = Stylesheet.new(Util::SyntaxHighlighting.css(style),
135
- filename: 'highlighting')
135
+ filename: 'highlighting.css')
136
136
  self.stylesheets.insert(0, @highlighting_css)
137
137
  end
138
138
  end
@@ -16,7 +16,7 @@ module Swift
16
16
  end
17
17
  end
18
18
 
19
- attr_accessor :content
19
+ attr_accessor :content, :filename
20
20
 
21
21
  def initialize(content, options = {})
22
22
  pathname_or_content = source_as_io(content)
@@ -7,6 +7,6 @@ module Swift
7
7
  'Playgrounds. Supports generation from markdown files ' \
8
8
  'with the intent to aide in the production of polished ' \
9
9
  'playground documents.'
10
- VERSION = '0.0.4'
10
+ VERSION = '0.0.5'
11
11
  end
12
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swift-playground
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Haylock