algoliasearch-jekyll 0.8.0 → 0.8.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
  SHA1:
3
- metadata.gz: 2ebfd20e06b278a2b943b37c75d7b3075779f48d
4
- data.tar.gz: 2272b59b28c71753e7b7e15ade27807fcb8feaf4
3
+ metadata.gz: a4b59f4c91d0eac1cab4091e3fa75eef84a3f7de
4
+ data.tar.gz: 284b830615a7ded54b3713df2240339f8e59c26f
5
5
  SHA512:
6
- metadata.gz: 324e688e2753917e29d652832162e7feca773f2461681cc7cdcd008a36e735321c5d641448ecd7e497af4e551be66ec032446a2fc9340aa4bde71cfb4936499d
7
- data.tar.gz: 90fcc05cc357873eb8b49ba3c8d35c5e2e00aaf796e762726c9b66f9e27e6aae3dd9caa8d42f6b42f5bd3c81ce497716e20a4b0e6f2c41a0063162efc119799d
6
+ metadata.gz: c2dcb1dc7850bb2125cf1c150f06f03156863298fc5b2531a03a2fe9e3e933ee7b38e364b6a060946d3e0fb8361020d3bab454ee339fd0908540ba741191d6ba
7
+ data.tar.gz: 139ff66169a6af0c775bb47193c07d1efb357e03dee589bb3683fd03c7ab535bed4928e07c092deb316b4bbe8b05c7816ca18842cbee98e5e82b65e6c5ddf6da
data/Gemfile CHANGED
@@ -4,10 +4,11 @@ gem 'algoliasearch', '~> 1.4'
4
4
  gem 'appraisal', '~> 2.1.0'
5
5
  gem 'awesome_print', '~> 1.6'
6
6
  gem 'json', '~> 1.8'
7
- gem 'nokogiri', '~> 1.6'
7
+ gem 'nokogiri', '~> 1.7', '>= 1.7.2'
8
8
  gem 'verbal_expressions', '~> 0.1.5'
9
9
 
10
10
  group :development do
11
+ gem 'rake', '< 11.0'
11
12
  gem 'coveralls', '~> 0.8'
12
13
  gem 'flay', '~> 2.6'
13
14
  gem 'flog', '~> 4.3'
data/README.md CHANGED
@@ -32,7 +32,7 @@ source 'https://rubygems.org'
32
32
  gem 'jekyll', '~> 2.5.3'
33
33
 
34
34
  group :jekyll_plugins do
35
- gem 'algoliasearch-jekyll', '~> 0.7.0'
35
+ gem 'algoliasearch-jekyll', '~> 0.8.0'
36
36
  end
37
37
  ```
38
38
 
@@ -71,7 +71,8 @@ You can define it on the same line as your command, allowing you to type
71
71
  Note that your API key should have write access to both the `index_name` and
72
72
  `_tmp` suffixed version of it (eg. `your_index_name` and `your_index_name_tmp`)
73
73
  in the previous example). This is due to the way we do atomic pushes by pushing
74
- to a temporary index and then renaming it.
74
+ to a temporary index and then renaming it. The easiest way is to create a key
75
+ with access to in the `index_name*` index (note the `*` suffix).
75
76
 
76
77
  ### ⚠ Other, unsecure, method ⚠
77
78
 
@@ -184,7 +185,7 @@ class AlgoliaSearchJekyllPush < Jekyll::Command
184
185
  class << self
185
186
  # Hook to exclude some files from indexing
186
187
  def custom_hook_excluded_file?(file)
187
- return true if filepath =~ %r{^/excluded_dir/}
188
+ return true if file.path =~ %r{^/excluded_dir/}
188
189
  false
189
190
  end
190
191
  end
@@ -2,18 +2,18 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: algoliasearch-jekyll 0.8.0 ruby lib
5
+ # stub: algoliasearch-jekyll 0.8.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
- s.name = "algoliasearch-jekyll"
9
- s.version = "0.8.0"
8
+ s.name = "algoliasearch-jekyll".freeze
9
+ s.version = "0.8.1"
10
10
 
11
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
- s.require_paths = ["lib"]
13
- s.authors = ["Tim Carry"]
14
- s.date = "2016-07-13"
15
- s.description = "Index all your pages and posts to an Algolia index with `jekyll algolia push`"
16
- s.email = "tim@pixelastic.com"
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib".freeze]
13
+ s.authors = ["Tim Carry".freeze]
14
+ s.date = "2017-08-02"
15
+ s.description = "Index all your pages and posts to an Algolia index with `jekyll algolia push`".freeze
16
+ s.email = "tim@pixelastic.com".freeze
17
17
  s.extra_rdoc_files = [
18
18
  "LICENSE.txt",
19
19
  "README.md"
@@ -98,60 +98,63 @@ Gem::Specification.new do |s|
98
98
  "txt/index_name_missing",
99
99
  "txt/sample"
100
100
  ]
101
- s.homepage = "https://github.com/algolia/algoliasearch-jekyll"
102
- s.licenses = ["MIT"]
103
- s.rubygems_version = "2.4.8"
104
- s.summary = "AlgoliaSearch for Jekyll"
101
+ s.homepage = "https://github.com/algolia/algoliasearch-jekyll".freeze
102
+ s.licenses = ["MIT".freeze]
103
+ s.rubygems_version = "2.6.8".freeze
104
+ s.summary = "AlgoliaSearch for Jekyll".freeze
105
105
 
106
106
  if s.respond_to? :specification_version then
107
107
  s.specification_version = 4
108
108
 
109
109
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
110
- s.add_runtime_dependency(%q<algoliasearch>, ["~> 1.4"])
111
- s.add_runtime_dependency(%q<appraisal>, ["~> 2.1.0"])
112
- s.add_runtime_dependency(%q<awesome_print>, ["~> 1.6"])
113
- s.add_runtime_dependency(%q<json>, ["~> 1.8"])
114
- s.add_runtime_dependency(%q<nokogiri>, ["~> 1.6"])
115
- s.add_runtime_dependency(%q<verbal_expressions>, ["~> 0.1.5"])
116
- s.add_development_dependency(%q<coveralls>, ["~> 0.8"])
117
- s.add_development_dependency(%q<flay>, ["~> 2.6"])
118
- s.add_development_dependency(%q<flog>, ["~> 4.3"])
119
- s.add_development_dependency(%q<guard-rspec>, ["~> 4.6"])
120
- s.add_development_dependency(%q<jeweler>, ["~> 2.0"])
121
- s.add_development_dependency(%q<rspec>, ["~> 3.0"])
122
- s.add_development_dependency(%q<rubocop>, ["~> 0.31"])
123
- s.add_development_dependency(%q<simplecov>, ["~> 0.10"])
110
+ s.add_runtime_dependency(%q<algoliasearch>.freeze, ["~> 1.4"])
111
+ s.add_runtime_dependency(%q<appraisal>.freeze, ["~> 2.1.0"])
112
+ s.add_runtime_dependency(%q<awesome_print>.freeze, ["~> 1.6"])
113
+ s.add_runtime_dependency(%q<json>.freeze, ["~> 1.8"])
114
+ s.add_runtime_dependency(%q<nokogiri>.freeze, [">= 1.7.2", "~> 1.7"])
115
+ s.add_runtime_dependency(%q<verbal_expressions>.freeze, ["~> 0.1.5"])
116
+ s.add_development_dependency(%q<rake>.freeze, ["< 11.0"])
117
+ s.add_development_dependency(%q<coveralls>.freeze, ["~> 0.8"])
118
+ s.add_development_dependency(%q<flay>.freeze, ["~> 2.6"])
119
+ s.add_development_dependency(%q<flog>.freeze, ["~> 4.3"])
120
+ s.add_development_dependency(%q<guard-rspec>.freeze, ["~> 4.6"])
121
+ s.add_development_dependency(%q<jeweler>.freeze, ["~> 2.0"])
122
+ s.add_development_dependency(%q<rspec>.freeze, ["~> 3.0"])
123
+ s.add_development_dependency(%q<rubocop>.freeze, ["~> 0.31"])
124
+ s.add_development_dependency(%q<simplecov>.freeze, ["~> 0.10"])
124
125
  else
125
- s.add_dependency(%q<algoliasearch>, ["~> 1.4"])
126
- s.add_dependency(%q<appraisal>, ["~> 2.1.0"])
127
- s.add_dependency(%q<awesome_print>, ["~> 1.6"])
128
- s.add_dependency(%q<json>, ["~> 1.8"])
129
- s.add_dependency(%q<nokogiri>, ["~> 1.6"])
130
- s.add_dependency(%q<verbal_expressions>, ["~> 0.1.5"])
131
- s.add_dependency(%q<coveralls>, ["~> 0.8"])
132
- s.add_dependency(%q<flay>, ["~> 2.6"])
133
- s.add_dependency(%q<flog>, ["~> 4.3"])
134
- s.add_dependency(%q<guard-rspec>, ["~> 4.6"])
135
- s.add_dependency(%q<jeweler>, ["~> 2.0"])
136
- s.add_dependency(%q<rspec>, ["~> 3.0"])
137
- s.add_dependency(%q<rubocop>, ["~> 0.31"])
138
- s.add_dependency(%q<simplecov>, ["~> 0.10"])
126
+ s.add_dependency(%q<algoliasearch>.freeze, ["~> 1.4"])
127
+ s.add_dependency(%q<appraisal>.freeze, ["~> 2.1.0"])
128
+ s.add_dependency(%q<awesome_print>.freeze, ["~> 1.6"])
129
+ s.add_dependency(%q<json>.freeze, ["~> 1.8"])
130
+ s.add_dependency(%q<nokogiri>.freeze, [">= 1.7.2", "~> 1.7"])
131
+ s.add_dependency(%q<verbal_expressions>.freeze, ["~> 0.1.5"])
132
+ s.add_dependency(%q<rake>.freeze, ["< 11.0"])
133
+ s.add_dependency(%q<coveralls>.freeze, ["~> 0.8"])
134
+ s.add_dependency(%q<flay>.freeze, ["~> 2.6"])
135
+ s.add_dependency(%q<flog>.freeze, ["~> 4.3"])
136
+ s.add_dependency(%q<guard-rspec>.freeze, ["~> 4.6"])
137
+ s.add_dependency(%q<jeweler>.freeze, ["~> 2.0"])
138
+ s.add_dependency(%q<rspec>.freeze, ["~> 3.0"])
139
+ s.add_dependency(%q<rubocop>.freeze, ["~> 0.31"])
140
+ s.add_dependency(%q<simplecov>.freeze, ["~> 0.10"])
139
141
  end
140
142
  else
141
- s.add_dependency(%q<algoliasearch>, ["~> 1.4"])
142
- s.add_dependency(%q<appraisal>, ["~> 2.1.0"])
143
- s.add_dependency(%q<awesome_print>, ["~> 1.6"])
144
- s.add_dependency(%q<json>, ["~> 1.8"])
145
- s.add_dependency(%q<nokogiri>, ["~> 1.6"])
146
- s.add_dependency(%q<verbal_expressions>, ["~> 0.1.5"])
147
- s.add_dependency(%q<coveralls>, ["~> 0.8"])
148
- s.add_dependency(%q<flay>, ["~> 2.6"])
149
- s.add_dependency(%q<flog>, ["~> 4.3"])
150
- s.add_dependency(%q<guard-rspec>, ["~> 4.6"])
151
- s.add_dependency(%q<jeweler>, ["~> 2.0"])
152
- s.add_dependency(%q<rspec>, ["~> 3.0"])
153
- s.add_dependency(%q<rubocop>, ["~> 0.31"])
154
- s.add_dependency(%q<simplecov>, ["~> 0.10"])
143
+ s.add_dependency(%q<algoliasearch>.freeze, ["~> 1.4"])
144
+ s.add_dependency(%q<appraisal>.freeze, ["~> 2.1.0"])
145
+ s.add_dependency(%q<awesome_print>.freeze, ["~> 1.6"])
146
+ s.add_dependency(%q<json>.freeze, ["~> 1.8"])
147
+ s.add_dependency(%q<nokogiri>.freeze, [">= 1.7.2", "~> 1.7"])
148
+ s.add_dependency(%q<verbal_expressions>.freeze, ["~> 0.1.5"])
149
+ s.add_dependency(%q<rake>.freeze, ["< 11.0"])
150
+ s.add_dependency(%q<coveralls>.freeze, ["~> 0.8"])
151
+ s.add_dependency(%q<flay>.freeze, ["~> 2.6"])
152
+ s.add_dependency(%q<flog>.freeze, ["~> 4.3"])
153
+ s.add_dependency(%q<guard-rspec>.freeze, ["~> 4.6"])
154
+ s.add_dependency(%q<jeweler>.freeze, ["~> 2.0"])
155
+ s.add_dependency(%q<rspec>.freeze, ["~> 3.0"])
156
+ s.add_dependency(%q<rubocop>.freeze, ["~> 0.31"])
157
+ s.add_dependency(%q<simplecov>.freeze, ["~> 0.10"])
155
158
  end
156
159
  end
157
160
 
@@ -1,6 +1,6 @@
1
1
  # Expose gem version
2
2
  class AlgoliaSearchJekyllVersion
3
3
  def self.to_s
4
- '0.8.0'
4
+ '0.8.1'
5
5
  end
6
6
  end
@@ -0,0 +1 @@
1
+ scripts/./watch_v2
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: algoliasearch-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Carry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-13 00:00:00.000000000 Z
11
+ date: 2017-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: algoliasearch
@@ -70,16 +70,22 @@ dependencies:
70
70
  name: nokogiri
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: 1.7.2
73
76
  - - "~>"
74
77
  - !ruby/object:Gem::Version
75
- version: '1.6'
78
+ version: '1.7'
76
79
  type: :runtime
77
80
  prerelease: false
78
81
  version_requirements: !ruby/object:Gem::Requirement
79
82
  requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: 1.7.2
80
86
  - - "~>"
81
87
  - !ruby/object:Gem::Version
82
- version: '1.6'
88
+ version: '1.7'
83
89
  - !ruby/object:Gem::Dependency
84
90
  name: verbal_expressions
85
91
  requirement: !ruby/object:Gem::Requirement
@@ -94,6 +100,20 @@ dependencies:
94
100
  - - "~>"
95
101
  - !ruby/object:Gem::Version
96
102
  version: 0.1.5
103
+ - !ruby/object:Gem::Dependency
104
+ name: rake
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "<"
108
+ - !ruby/object:Gem::Version
109
+ version: '11.0'
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "<"
115
+ - !ruby/object:Gem::Version
116
+ version: '11.0'
97
117
  - !ruby/object:Gem::Dependency
98
118
  name: coveralls
99
119
  requirement: !ruby/object:Gem::Requirement
@@ -313,7 +333,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
313
333
  version: '0'
314
334
  requirements: []
315
335
  rubyforge_project:
316
- rubygems_version: 2.4.8
336
+ rubygems_version: 2.6.8
317
337
  signing_key:
318
338
  specification_version: 4
319
339
  summary: AlgoliaSearch for Jekyll
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env bash
2
- cd "$(dirname "$BASH_SOURCE")"/..
3
-
4
- guard --guardfile ./Guardfile_jekyllv2