solr_cloud-connection 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e273d22bc3c74c27f96e2e4441695c47c8561634d339b8dabdc0d9c0075922e6
4
- data.tar.gz: e208564f23b12ad6554a075caf48f65d57e7dfbe15b800e85eb639f4d2dc6791
3
+ metadata.gz: 2257fc2ce8c0a649712a66c5154222cfd6d2e0b0d837df583d297eba3d19d6bb
4
+ data.tar.gz: b9fdf5d5dd5a3c8d2fe4ec5a0e47f414fc9186a020292d34631e887591528327
5
5
  SHA512:
6
- metadata.gz: 7a1ba3738d5908c753c49b6f813b14465ddb4213d925aa7c075d6665c01229d0aecd59b8479bf5ae54f1d94511579876e7d3c392847f1c0845eb130a0f9c0897
7
- data.tar.gz: 14f6c01885f6d97b477311099e4399b9e74c400fce40c42cdccb3e56a798df3f0ce8b0475aa57299ad3054681c4de059bf80908102a9b98b3b67cd14ecbfb50b
6
+ metadata.gz: 53b06b39cb208dff15696c94541aae3e3069d577be2b16d587f3a8fb86594dac0eef88a9fc4800564d469bfe898ae281421b04fef957af89472085e420f60de2
7
+ data.tar.gz: 3a6daabf59f8dc61fdd2d21019596714649219e50ce6983a4c6ba873d188782c6b3b6a32e932d66512e3e9eab83f4516137f3605f22fbab968811e73e5d78170
data/.env.github CHANGED
@@ -1,3 +1,3 @@
1
- SOLR_URL="http://localhost:8983"
1
+ SOLR_URL="http://localhost:9090"
2
2
  SOLR_PASSWORD=SolrRocks
3
3
  SOLR_USER=solr
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.4.0] - 2023-12-07
4
+ - Fixed rules about what names are legal collections/configsets/aliases
5
+ - Update version and changelog
6
+
3
7
  ## [0.3.0] - 2023-12-06
4
8
 
5
9
  - Major overhaul of the interface to use more-explicit and less-confusing method names
data/compose.yml CHANGED
@@ -15,7 +15,7 @@ services:
15
15
  solr:
16
16
  build: spec/data/solr_docker/.
17
17
  ports:
18
- - "8983:8983"
18
+ - "9090:8983"
19
19
  environment:
20
20
  - ZK_HOST=zoo:2181
21
21
  depends_on:
@@ -25,7 +25,7 @@ services:
25
25
  zoo:
26
26
  image: zookeeper
27
27
  ports:
28
- - 2999:2181
28
+ - 9091:2181
29
29
  environment:
30
30
  ZOO_MY_ID: 1
31
31
  ZOO_SERVERS: server.1=0.0.0.0:2888:3888;2181
@@ -2,6 +2,6 @@
2
2
 
3
3
  module SolrCloud
4
4
  class Connection
5
- VERSION = "0.3.0"
5
+ VERSION = "0.4.0"
6
6
  end
7
7
  end
@@ -178,7 +178,7 @@ module SolrCloud
178
178
  # @param str [String] string to check
179
179
  # @return [Boolean]
180
180
  def legal_solr_name?(str)
181
- !(/[^a-zA-Z_\-0-9]/.match?(str) or str.start_with?("_"))
181
+ !(/[^a-zA-Z_\-.0-9]/.match?(str) or str.start_with?("-"))
182
182
  end
183
183
 
184
184
  def inspect
@@ -194,3 +194,4 @@ module SolrCloud
194
194
  end
195
195
 
196
196
 
197
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solr_cloud-connection
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bill Dueber
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-06 00:00:00.000000000 Z
11
+ date: 2023-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday