anystyle 1.3.12 → 1.3.13

This diff has not been reviewed by any users.
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
  SHA256:
3
- metadata.gz: 3cbbd4574d32f5e3f418d6de2e774047f410ccc7348a8d078b945083ad35736e
4
- data.tar.gz: e117eb794cf11be872be7c044fd76066dd4085c94e2930be66c8b4f8b65c26d5
3
+ metadata.gz: '09ec60a796bf13a493c0e91f4df8ad0295d70dde460da704119dfcbbd654a09c'
4
+ data.tar.gz: e17787d8d6a2007b9f815e64c32092f305fdf92e80ec3914da1a72318ec049ee
5
5
  SHA512:
6
- metadata.gz: 1a96dd0676f10b7616355ce4112f145c14f88dbb6ec88d2cc9263fe14f306fef3fcc948e8a2fb90437f4b69c41f82dcb0b8eb59c56bd781a53ffad52916bc03a
7
- data.tar.gz: 52ebdc56a735e37e22991e950e5e24abd28c52a0ae9f65241677f6ac94a49968567473dd1bf940ab3b22940117f8e5e16d36646d8cbdf454fbb96d45920ef6d9
6
+ metadata.gz: ab5a9c7bfeb5b65c0b6345d69a11bcae62ea8df785f3eb212c1e8d345e2882ac44da53098523cc3e07828ca0b0da8557de133e1e95ac21f35fe3f5d9ca405079
7
+ data.tar.gz: 408f6b7f3810e31984c3e8dbbca1831bf98a1197b443d233ff831b824af5bd8d4249935eaa4e3fc02bc0b8d15e7c4d85256e82253c4c8ec60500b8c269d70ff3
@@ -61,15 +61,15 @@ module AnyStyle
61
61
  Parser.instance
62
62
  end
63
63
 
64
- def self.parse(*arguments)
65
- parser.parse(*arguments)
64
+ def self.parse(input, **opts)
65
+ parser.parse(input, **opts)
66
66
  end
67
67
 
68
68
  def self.finder
69
69
  Finder.instance
70
70
  end
71
71
 
72
- def self.find(*arguments)
73
- finder.find(*arguments)
72
+ def self.find(input, **opts)
73
+ finder.find(input, **opts)
74
74
  end
75
75
  end
@@ -6,7 +6,7 @@ module AnyStyle
6
6
  attr_reader :defaults, :formats
7
7
 
8
8
  def load(path)
9
- new :model => path
9
+ new model: path
10
10
  end
11
11
 
12
12
  # Returns a default parser instance
@@ -28,7 +28,7 @@ module AnyStyle
28
28
  @model.options.update_attributes options
29
29
  @mtime = File.mtime(file)
30
30
  else
31
- @model = Wapiti::Model.new(options.reject { |k,_| k == :model })
31
+ @model = Wapiti::Model.new(options.reject { |k, _| k == :model })
32
32
  @model.path = options[:model]
33
33
  @mtime = Time.now
34
34
  end
@@ -1,3 +1,3 @@
1
1
  module AnyStyle
2
- VERSION = '1.3.12'.freeze
2
+ VERSION = '1.3.13'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anystyle
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.12
4
+ version: 1.3.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvester Keil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-19 00:00:00.000000000 Z
11
+ date: 2020-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bibtex-ruby