jekyll-news-sitemap 0.1.5 → 0.2.0

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: 2d9f4926e5b632418297568393d55edac7cdd22130d8b9a3b7bff64c527f8253
4
- data.tar.gz: f9200b31d1d29196d03b9f986d76bec037cb1fed99ce22a121fe7f7109c8b0e4
3
+ metadata.gz: 42e86dee7fa62b751f5ebbf029b475004d5c1715a426ced3d8b5a0249d298de6
4
+ data.tar.gz: 0e092b3df505ae60a984eea2afd225a34d4b85e5097be3912a76138aba060ac5
5
5
  SHA512:
6
- metadata.gz: 47243fa7507c348de6c9a96bfb89e434b000f8b4cefd24e7cfce05eabf2d41feaf04dfd3c0398a3a360b1059c78a3aa2a870e061c77416b1aad97f6af707551b
7
- data.tar.gz: 7a543a12d9326df224e4b331031e72b47729c6163039b8e72ec0489ec3a0ebea0d881d93e04c195180b0ebfa023d5478cb8053e5e60b485e2a2897198f3e55da
6
+ metadata.gz: 297f3bde39c92ea4594020da6762abab26a73363cfdf842f0e05c68fc9782de5cdc8d75f8952a0a5c4036fedcf400c6f23bb98c56887aad907eea9b8ac99923c
7
+ data.tar.gz: 932ef6723f98812fd1c0575fefcac6aa6e091cf361c0c5f46e37cd78513556289e535782adf01ba62d5178e2f457f5c0f4492f0bdff1b166eddfa9888d393a12
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
5
  ## [Unreleased]
6
+ ## [0.2.0]
7
+ ### Change
8
+ - Codebase cleanup
9
+ - Another version of news-sitemap.xml for test
6
10
  ## [0.1.4]
7
11
  ### Change
8
12
  - If sitemap is empty, show valid empty XML.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jekyll-news-sitemap (0.1.5)
4
+ jekyll-news-sitemap (0.2.0)
5
5
  jekyll (>= 3.7, < 5.0)
6
6
 
7
7
  GEM
@@ -9,10 +9,8 @@ GEM
9
9
  specs:
10
10
  addressable (2.7.0)
11
11
  public_suffix (>= 2.0.2, < 5.0)
12
- ast (2.4.0)
13
12
  colorator (1.1.0)
14
13
  concurrent-ruby (1.1.6)
15
- diff-lcs (1.3)
16
14
  em-websocket (0.5.1)
17
15
  eventmachine (>= 0.12.9)
18
16
  http_parser.rb (~> 0.6.0)
@@ -22,7 +20,6 @@ GEM
22
20
  http_parser.rb (0.6.0)
23
21
  i18n (1.8.2)
24
22
  concurrent-ruby (~> 1.0)
25
- jaro_winkler (1.5.4)
26
23
  jekyll (4.0.0)
27
24
  addressable (~> 2.4)
28
25
  colorator (~> 1.0)
@@ -50,52 +47,20 @@ GEM
50
47
  rb-fsevent (~> 0.10, >= 0.10.3)
51
48
  rb-inotify (~> 0.9, >= 0.9.10)
52
49
  mercenary (0.3.6)
53
- parallel (1.19.1)
54
- parser (2.7.0.5)
55
- ast (~> 2.4.0)
56
50
  pathutil (0.16.2)
57
51
  forwardable-extended (~> 2.6)
58
- public_suffix (4.0.4)
59
- rainbow (3.0.0)
52
+ public_suffix (4.0.3)
60
53
  rake (13.0.1)
61
54
  rb-fsevent (0.10.3)
62
55
  rb-inotify (0.10.1)
63
56
  ffi (~> 1.0)
64
- rexml (3.2.4)
65
57
  rouge (3.17.0)
66
- rspec (3.9.0)
67
- rspec-core (~> 3.9.0)
68
- rspec-expectations (~> 3.9.0)
69
- rspec-mocks (~> 3.9.0)
70
- rspec-core (3.9.1)
71
- rspec-support (~> 3.9.1)
72
- rspec-expectations (3.9.1)
73
- diff-lcs (>= 1.2.0, < 2.0)
74
- rspec-support (~> 3.9.0)
75
- rspec-mocks (3.9.1)
76
- diff-lcs (>= 1.2.0, < 2.0)
77
- rspec-support (~> 3.9.0)
78
- rspec-support (3.9.2)
79
- rubocop (0.80.1)
80
- jaro_winkler (~> 1.5.1)
81
- parallel (~> 1.10)
82
- parser (>= 2.7.0.1)
83
- rainbow (>= 2.2.2, < 4.0)
84
- rexml
85
- ruby-progressbar (~> 1.7)
86
- unicode-display_width (>= 1.4.0, < 1.7)
87
- rubocop-jekyll (0.11.0)
88
- rubocop (>= 0.68.0, < 0.81.0)
89
- rubocop-performance (~> 1.2)
90
- rubocop-performance (1.5.2)
91
- rubocop (>= 0.71.0)
92
- ruby-progressbar (1.10.1)
93
58
  safe_yaml (1.0.5)
94
59
  sassc (2.2.1)
95
60
  ffi (~> 1.9)
96
61
  terminal-table (1.8.0)
97
62
  unicode-display_width (~> 1.1, >= 1.1.1)
98
- unicode-display_width (1.6.1)
63
+ unicode-display_width (1.7.0)
99
64
 
100
65
  PLATFORMS
101
66
  ruby
@@ -104,8 +69,6 @@ DEPENDENCIES
104
69
  bundler
105
70
  jekyll-news-sitemap!
106
71
  rake
107
- rspec (~> 3.0)
108
- rubocop-jekyll (~> 0.4)
109
72
 
110
73
  BUNDLED WITH
111
74
  2.1.4
data/README.md CHANGED
@@ -1,4 +1,3 @@
1
- [![Build Status](https://travis-ci.org/skatkov/jekyll-news-sitemap.svg?branch=master)](https://travis-ci.org/skatkov/jekyll-news-sitemap)
2
1
 
3
2
  # Jekyll::NewsSitemap
4
3
 
data/Rakefile CHANGED
@@ -1,8 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "bundler/gem_tasks"
4
- require "rspec/core/rake_task"
5
4
 
6
- RSpec::Core::RakeTask.new(:spec)
7
-
8
- task :default => :spec
@@ -30,6 +30,4 @@ Gem::Specification.new do |spec|
30
30
 
31
31
  spec.add_development_dependency "bundler"
32
32
  spec.add_development_dependency "rake"
33
- spec.add_development_dependency "rspec", "~> 3.0"
34
- spec.add_development_dependency "rubocop-jekyll", "~> 0.4"
35
33
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module NewsSitemap
5
- VERSION = "0.1.5"
5
+ VERSION = "0.2.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-news-sitemap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stanislav Katkov
@@ -58,34 +58,6 @@ dependencies:
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
60
  version: '0'
61
- - !ruby/object:Gem::Dependency
62
- name: rspec
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: '3.0'
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '3.0'
75
- - !ruby/object:Gem::Dependency
76
- name: rubocop-jekyll
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '0.4'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: '0.4'
89
61
  description: Your friendly gem to produce Google News sitemap compatible xml file.
90
62
  email:
91
63
  - sk@skylup.com
@@ -94,10 +66,6 @@ extensions: []
94
66
  extra_rdoc_files: []
95
67
  files:
96
68
  - ".gitignore"
97
- - ".rakeTasks"
98
- - ".rspec"
99
- - ".rubocop_todo.yml"
100
- - ".travis.yml"
101
69
  - CHANGELOG.md
102
70
  - CODE_OF_CONDUCT.md
103
71
  - Gemfile
@@ -113,13 +81,6 @@ files:
113
81
  - lib/jekyll/jekyll-news-sitemap.rb
114
82
  - lib/jekyll/page_without_a_file.rb
115
83
  - lib/sitemap_news.xml
116
- - rubocop.yml
117
- - script/bootstrap
118
- - script/cibuild
119
- - script/console
120
- - script/fmt
121
- - script/release
122
- - script/test
123
84
  homepage: https://www.fbamonthly.com/jekyll-news-sitemap
124
85
  licenses:
125
86
  - MIT
data/.rakeTasks DELETED
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Settings><!--This file was automatically generated by Ruby plugin.
3
- You are allowed to:
4
- 1. Remove rake task
5
- 2. Add existing rake tasks
6
- To add existing rake tasks automatically delete this file and reload the project.
7
- --><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build jekyll-news-sitemap-0.1.0.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated files" fullCmd="clobber" taksId="clobber" /><RakeTask description="Build and install jekyll-news-sitemap-0.1.0.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install jekyll-news-sitemap-0.1.0.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v0.1.0 and build and push jekyll-news-sitemap-0.1.0.gem to TODO: Set to 'http://mygemserver.com'" fullCmd="release[remote]" taksId="release[remote]" /><RakeTask description="Run tests" fullCmd="test" taksId="test" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --color
2
- --format progress
@@ -1,14 +0,0 @@
1
- # This configuration was generated by
2
- # `rubocop --auto-gen-config`
3
- # on 2018-12-06 11:55:46 +0100 using RuboCop version 0.61.1.
4
- # The point is for the user to remove these configuration records
5
- # one by one as the offenses are removed from the code base.
6
- # Note that changes in the inspected code, or installation of new
7
- # versions of RuboCop, may require this file to be generated again.
8
-
9
-
10
- # Offense count: 17
11
- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
12
- # URISchemes: http, https
13
- Metrics/LineLength:
14
- Max: 154
@@ -1,6 +0,0 @@
1
- ---
2
- language: ruby
3
- cache: bundler
4
- rvm:
5
- - 2.6.5
6
- before_install: gem install bundler -v 2.1.4
@@ -1,9 +0,0 @@
1
- inherit_from: .rubocop_todo.yml
2
-
3
- require: rubocop-jekyll
4
- inherit_gem:
5
- rubocop-jekyll: .rubocop.yml
6
-
7
- AllCops:
8
- Exclude:
9
- - vendor/**/*
@@ -1,4 +0,0 @@
1
- #!/bin/sh
2
- set -ex
3
-
4
- bundle install
@@ -1,5 +0,0 @@
1
- #!/bin/sh
2
- set -e
3
-
4
- time script/fmt
5
- time script/test
@@ -1,35 +0,0 @@
1
- #! /usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- def relative_to_root(path)
5
- File.expand_path(path, File.dirname(__dir__))
6
- end
7
-
8
- require "jekyll"
9
- require relative_to_root("lib/jekyll-news-sitemap.rb")
10
- require "pry-debugger"
11
-
12
- SOURCE_DIR = relative_to_root("spec/fixtures")
13
- DEST_DIR = relative_to_root("spec/dest")
14
-
15
- def source_dir(*files)
16
- File.join(SOURCE_DIR, *files)
17
- end
18
-
19
- def dest_dir(*files)
20
- File.join(DEST_DIR, *files)
21
- end
22
-
23
- def config(overrides = {})
24
- Jekyll.configuration(
25
- "source" => source_dir,
26
- "destination" => dest_dir,
27
- "url" => "http://example.org"
28
- ).merge(overrides)
29
- end
30
-
31
- def site(configuration = config)
32
- Jekyll::Site.new(configuration)
33
- end
34
-
35
- binding.pry
data/script/fmt DELETED
@@ -1,10 +0,0 @@
1
- #!/bin/bash
2
- set -e
3
-
4
- echo "Rubocop $(bundle exec rubocop --version)"
5
- bundle exec rubocop -D -E $@
6
- success=$?
7
- if ((success != 0)); then
8
- echo -e "\nTry running \`script/fmt -a\` to automatically fix errors"
9
- fi
10
- exit $success
@@ -1,7 +0,0 @@
1
- #!/bin/sh
2
- # Tag and push a release.
3
-
4
- set -e
5
-
6
- script/cibuild
7
- bundle exec rake release
@@ -1,5 +0,0 @@
1
- #!/bin/bash
2
- set -ex
3
-
4
- bundle exec rspec "$@"
5
- bundle exec rspec spec/test_jekyll-last-modified-at.rb