linter 0.1.1 → 0.1.2

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: 47d3b18d83733681f1d1a078df013788d1b219d87505e4debff16f6365b508af
4
- data.tar.gz: ccada9ab972c0398642a34364ceecf9cf372579903d0be05d1999695a4256886
3
+ metadata.gz: b4db9f6d5a1807dcd24cf533361c76f9d12c20373f4dbe737107b0f503bc1291
4
+ data.tar.gz: 1db34072b02382ca137a9d93fc72bc1521b97f63b6bf5df40150d6720d5c2706
5
5
  SHA512:
6
- metadata.gz: 872599e34587d6ce14663671370301e8e7b9696ed74dac59fd1f66f75749e9d358c3be94a36e572f6cad7cbd573a0966ec6aea3ec3b8ba86d265e39763fb84d9
7
- data.tar.gz: e51778a4b61bf385af8da0cace90d604c041f5c7bf3bc5c0bd48dcdf6638aee7b527a3d08a9d320933312691d96bf927e6fc3aaa0e3f5db5f4abce259288461f
6
+ metadata.gz: 642727c1fe106a67f6770f708c4b7fe08715fc5bab059f697b5b895d9fb4dd540f5692cbe75993f677785a88bb8e70f79a07430a62f8bde3374809b9127a8e94
7
+ data.tar.gz: b53ceb869f51bdff32a4430bf1d08a83fb7a8dfc6393fdefac03bb495caaf0850aff3925194df1e07a78a29b547efa7b7a711aaac9099df4de7376ece0896cc0
@@ -1 +1 @@
1
- 2.6.1
1
+ 2.6.5
@@ -3,7 +3,6 @@ require "linter/base_association"
3
3
  require "linter/gender_association"
4
4
 
5
5
  require 'yaml'
6
- require 'ostruct'
7
6
 
8
7
  module Linter
9
8
  class Error < StandardError; end
@@ -22,7 +22,8 @@ module Linter
22
22
  private
23
23
 
24
24
  def self.wordlists
25
- @wordlists ||= YAML.load_file('data/gender_association_wordlist.yml')
25
+ file_path = File.join(__dir__,'../../data/gender_association_wordlist.yml')
26
+ @wordlists ||= YAML.load_file(file_path)
26
27
  end
27
28
 
28
29
  def self.calculate_trend(result)
@@ -1,3 +1,3 @@
1
1
  module Linter
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -40,5 +40,4 @@ Gem::Specification.new do |spec|
40
40
  spec.add_development_dependency "rake", "~> 10.0"
41
41
  spec.add_development_dependency "rspec", "~> 3.0"
42
42
  spec.add_development_dependency 'pry', '~> 0.13'
43
- spec.add_dependency 'ostruct'
44
43
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - lien van den steen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-01 00:00:00.000000000 Z
11
+ date: 2020-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -66,20 +66,6 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0.13'
69
- - !ruby/object:Gem::Dependency
70
- name: ostruct
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :runtime
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
69
  description:
84
70
  email:
85
71
  - lienvandensteen@gmail.com
@@ -127,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
113
  - !ruby/object:Gem::Version
128
114
  version: '0'
129
115
  requirements: []
130
- rubygems_version: 3.0.6
116
+ rubygems_version: 3.0.3
131
117
  signing_key:
132
118
  specification_version: 4
133
119
  summary: Library to check a text for gender coded language