texstyles 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/texstyles/style.rb +8 -6
- data/texstyles.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af3e3deabd660123e8b2154bcc817a9a1d266fb3
|
4
|
+
data.tar.gz: 4201682bc96013a17a76ca60d8f8762c7879672d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0efece0ce021f1bb622e6a801ffdcb7f841f86450e59cbad12effff59e6850c1749df852bf44b8eec5ff71410ad126b44eebcaf978d24b1559a8f1cba58ef23d
|
7
|
+
data.tar.gz: 49da68f33818582882814d49222db923e29776cdfac0a8564431ea495e384745946777f10cba6d9f3844879a366efdeb243be412ebdb0deb18e80d3f53080799
|
data/lib/texstyles/style.rb
CHANGED
@@ -67,16 +67,18 @@ module Texstyles
|
|
67
67
|
@erb && @erb.result(binding)
|
68
68
|
end
|
69
69
|
|
70
|
-
def
|
71
|
-
@
|
70
|
+
def package_compatible?(package_name)
|
71
|
+
@all_compatible || (!@none_compatible && (@meta_default_packages[package_name] != false))
|
72
72
|
end
|
73
73
|
|
74
|
-
|
75
|
-
|
74
|
+
# Missing methods are assumed to be @meta getters
|
75
|
+
def method_missing(method_sym, *arguments, &block)
|
76
|
+
@meta[method_sym.to_s]
|
76
77
|
end
|
77
78
|
|
78
|
-
|
79
|
-
|
79
|
+
# We can respond to any method, since we're indexing into @meta
|
80
|
+
def self.respond_to?(method_sym, include_private = false)
|
81
|
+
true
|
80
82
|
end
|
81
83
|
|
82
84
|
end
|
data/texstyles.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: texstyles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Deyan Ginev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: escape_utils
|