schema_dot_org 1.6.0 → 1.6.1

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: fd1688fe2c05954777862ee6727412e86f56f91eb8383336a030fd5b78b944bd
4
- data.tar.gz: d0dc0588f96446bae7b871ba526170e310fb9d4b07e4169efa36de3b5c600afa
3
+ metadata.gz: 94b2d07e8efd22d98a9ad76181915fcd2bb91d6b3cf56028c125ff12854d3056
4
+ data.tar.gz: b7625ad03b3dc4911b1f5b75db53e2187df6bfd8e74f184537dd9a1b3b631097
5
5
  SHA512:
6
- metadata.gz: '052544928aaa4d5834b4d8e172d1a774fc2f1ae15c8f71d96c76f74f3f562f22e1e7c9239e09aa321cdbc78eba2ad5aa7d771f34e5c0fd63efd6801f9af6121b'
7
- data.tar.gz: 34dbf599ececf0079537134688de5cb92d362e7c9bb473016da708f764d6818b5eeffc4350b7d67d647e633425741045b26297660ae5e31d96f7f8b7fe763dbf
6
+ metadata.gz: 62860dcaa9d40e17ba4b495cb7e63e64cc46765166c1c5ba9a6d2777fcf93a76492ee3a1279cc95b1fe7e720422992e78f978b05a2b8a60f4258cd9d79396a16
7
+ data.tar.gz: 4c0c209701314df1e8a07bf359da709d0285b76eb8e909dfa87c404a0c2efaeee27929c7ef766fc8af99e6ff993f86725d17a13bf09e753518485f113150fb8d
@@ -1 +1 @@
1
- 2.5.1
1
+ 2.7.1
@@ -1,52 +1,54 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- schema_dot_org (1.6.0)
4
+ schema_dot_org (1.6.1)
5
5
  validated_object (~> 2.0.2)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activemodel (5.2.0)
11
- activesupport (= 5.2.0)
12
- activesupport (5.2.0)
10
+ activemodel (6.0.3.2)
11
+ activesupport (= 6.0.3.2)
12
+ activesupport (6.0.3.2)
13
13
  concurrent-ruby (~> 1.0, >= 1.0.2)
14
14
  i18n (>= 0.7, < 2)
15
15
  minitest (~> 5.1)
16
16
  tzinfo (~> 1.1)
17
- concurrent-ruby (1.0.5)
18
- diff-lcs (1.3)
19
- i18n (1.0.1)
17
+ zeitwerk (~> 2.2, >= 2.2.2)
18
+ concurrent-ruby (1.1.7)
19
+ diff-lcs (1.4.4)
20
+ i18n (1.8.5)
20
21
  concurrent-ruby (~> 1.0)
21
- minitest (5.11.3)
22
- rake (10.5.0)
23
- rspec (3.7.0)
24
- rspec-core (~> 3.7.0)
25
- rspec-expectations (~> 3.7.0)
26
- rspec-mocks (~> 3.7.0)
27
- rspec-core (3.7.1)
28
- rspec-support (~> 3.7.0)
29
- rspec-expectations (3.7.0)
22
+ minitest (5.14.1)
23
+ rake (13.0.1)
24
+ rspec (3.9.0)
25
+ rspec-core (~> 3.9.0)
26
+ rspec-expectations (~> 3.9.0)
27
+ rspec-mocks (~> 3.9.0)
28
+ rspec-core (3.9.2)
29
+ rspec-support (~> 3.9.3)
30
+ rspec-expectations (3.9.2)
30
31
  diff-lcs (>= 1.2.0, < 2.0)
31
- rspec-support (~> 3.7.0)
32
- rspec-mocks (3.7.0)
32
+ rspec-support (~> 3.9.0)
33
+ rspec-mocks (3.9.1)
33
34
  diff-lcs (>= 1.2.0, < 2.0)
34
- rspec-support (~> 3.7.0)
35
- rspec-support (3.7.1)
35
+ rspec-support (~> 3.9.0)
36
+ rspec-support (3.9.3)
36
37
  thread_safe (0.3.6)
37
- tzinfo (1.2.5)
38
+ tzinfo (1.2.7)
38
39
  thread_safe (~> 0.1)
39
- validated_object (2.0.2)
40
+ validated_object (2.0.3)
40
41
  activemodel (>= 3.2.21)
42
+ zeitwerk (2.4.0)
41
43
 
42
44
  PLATFORMS
43
45
  ruby
44
46
 
45
47
  DEPENDENCIES
46
- bundler (~> 1.16)
47
- rake (~> 10.0)
48
+ bundler (~> 2)
49
+ rake (>= 12.3.3)
48
50
  rspec (~> 3.0)
49
51
  schema_dot_org!
50
52
 
51
53
  BUNDLED WITH
52
- 1.16.2
54
+ 2.1.4
data/README.md CHANGED
@@ -56,7 +56,8 @@ Let's say you have a Rails app. If you put this in a controller:
56
56
  "sameAs": [
57
57
  "https://twitter.com/law_is_code",
58
58
  "https://www.facebook.com/PublicDotLaw"
59
- ],
59
+ ]
60
+ }
60
61
  </script>
61
62
  ```
62
63
 
@@ -159,8 +160,8 @@ To install this gem onto your local machine, run `bundle exec rake install`.
159
160
 
160
161
  ## Contributing
161
162
 
162
- Bug reports and pull requests are welcome on GitHub at https://github.com/dogweather/schema_dot_org.
163
+ Bug reports and pull requests are welcome on GitHub.
163
164
 
164
165
  ## License
165
166
 
166
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
167
+ [The](The) gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -13,7 +13,7 @@ module SchemaDotOrg
13
13
  def _to_json_struct
14
14
  {
15
15
  'target' => self.target,
16
- 'query-input' => self.query_input
16
+ 'query_input' => self.query_input
17
17
  }
18
18
  end
19
19
  end
data/run-script CHANGED
@@ -1 +1,2 @@
1
+ #!/bin/bash
1
2
  ruby -I lib ./test-script.rb
@@ -1,28 +1,27 @@
1
-
2
- lib = File.expand_path("../lib", __FILE__)
1
+ lib = File.expand_path('lib', __dir__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
3
 
5
4
  Gem::Specification.new do |spec|
6
- spec.name = "schema_dot_org"
7
- spec.version = '1.6.0'
8
- spec.authors = ["Robb Shecter"]
9
- spec.email = ["robb@public.law"]
5
+ spec.name = 'schema_dot_org'
6
+ spec.version = '1.6.1'
7
+ spec.authors = ['Robb Shecter']
8
+ spec.email = ['robb@public.law']
10
9
 
11
- spec.summary = %q{JSON-LD generator for Schema.org vocabulary}
12
- spec.description = %q{Creates well-formed website metadata with strongly typed Ruby.}
13
- spec.homepage = "https://github.com/dogweather/schema-dot-org"
14
- spec.license = "MIT"
10
+ spec.summary = 'JSON-LD generator for Schema.org vocabulary'
11
+ spec.description = 'Creates well-formed website metadata with strongly typed Ruby.'
12
+ spec.homepage = 'https://github.com/public-law/schema-dot-org'
13
+ spec.license = 'MIT'
15
14
 
16
15
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
16
  f.match(%r{^(test|spec|features)/})
18
17
  end
19
- spec.bindir = "exe"
18
+ spec.bindir = 'exe'
20
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
- spec.require_paths = ["lib"]
20
+ spec.require_paths = ['lib']
22
21
 
23
- spec.add_dependency "validated_object", "~> 2.0.2"
22
+ spec.add_dependency 'validated_object', '~> 2.0.2'
24
23
 
25
- spec.add_development_dependency "bundler", "~> 1.16"
26
- spec.add_development_dependency "rake", "~> 10.0"
27
- spec.add_development_dependency "rspec", "~> 3.0"
24
+ spec.add_development_dependency 'bundler', '~> 2'
25
+ spec.add_development_dependency 'rake', '>= 12.3.3'
26
+ spec.add_development_dependency 'rspec', '~> 3.0'
28
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schema_dot_org
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robb Shecter
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-26 00:00:00.000000000 Z
11
+ date: 2020-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: validated_object
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.16'
33
+ version: '2'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.16'
40
+ version: '2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '10.0'
47
+ version: 12.3.3
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '10.0'
54
+ version: 12.3.3
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -93,11 +93,11 @@ files:
93
93
  - run-script
94
94
  - schema_dot_org.gemspec
95
95
  - test-script.rb
96
- homepage: https://github.com/dogweather/schema-dot-org
96
+ homepage: https://github.com/public-law/schema-dot-org
97
97
  licenses:
98
98
  - MIT
99
99
  metadata: {}
100
- post_install_message:
100
+ post_install_message:
101
101
  rdoc_options: []
102
102
  require_paths:
103
103
  - lib
@@ -112,9 +112,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  - !ruby/object:Gem::Version
113
113
  version: '0'
114
114
  requirements: []
115
- rubyforge_project:
116
- rubygems_version: 2.7.7
117
- signing_key:
115
+ rubygems_version: 3.1.4
116
+ signing_key:
118
117
  specification_version: 4
119
118
  summary: JSON-LD generator for Schema.org vocabulary
120
119
  test_files: []