moj_tribunals_config 1.5.2 → 1.6.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
  SHA1:
3
- metadata.gz: f4c73240aeb4b5b5dc479411d43e30e6e6c9c3f6
4
- data.tar.gz: 3d42e0bc7e68a1d4dd3bb4616b2298a28dff4685
3
+ metadata.gz: 6e3f3450742381c705fd366b6f2bacbd618f2560
4
+ data.tar.gz: b7586110ec6e72f0141e89f90489e7872d3a42ff
5
5
  SHA512:
6
- metadata.gz: 3996e05508319d76a82e96db378356740781ef16a2685712f1259fa8e16d4f6c13f2a6af762c65881bcc7868e5fdbbc30ea9415b3459f95431d618e558dfd72f
7
- data.tar.gz: e85a78325600ea4c1d40d6b42aaa62687b5a4bbef8a2a01f796e5937cf70610c25e41e7bd6d680a7bfa5de4621e338d5fd2dfe73655b65847ac8d65c996704a8
6
+ metadata.gz: 6f4496792f0958ebbda328e31c60d4d0687070943a1eb3ec505b0ef7211920ef60269dae2da4881064bd104d267eba3b357ddbb48b053fbed934d350f49bed4a
7
+ data.tar.gz: 0d3a69c99be0a890fe34ff6cad81f42615a292d99a8b9b13eb62987bf02b303ade6c4fd4135482f90e99972f7f7e40fdf18270ea2beb68078de822494d1f19e9
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.2
1
+ 1.6.0
@@ -28,6 +28,10 @@ tribunal:
28
28
  judges:
29
29
  text: judges
30
30
  facet: judge_hashes
31
+ search_fields:
32
+ case_title: 20
33
+ ncn: 10
34
+ html:
31
35
  search_params:
32
36
  - query
33
37
  - search_field
@@ -29,6 +29,10 @@ tribunal:
29
29
  judges:
30
30
  text: judges
31
31
  facet: judge_hashes
32
+ search_fields:
33
+ case_title: 20
34
+ ncn: 10
35
+ html:
32
36
  search_params:
33
37
  - query
34
38
  - search_field
@@ -29,12 +29,16 @@ tribunal:
29
29
  judges:
30
30
  text: judges
31
31
  facet: judge_hashes
32
+ search_fields:
33
+ case_title: 20
34
+ ncn: 10
35
+ file_number: 10
36
+ appeal_number: 10
37
+ notes: 5
38
+ html:
32
39
  search_params:
33
40
  - query
34
41
  - search_field
35
- - reported
36
- - unreported
37
- - country_guidance
38
42
  - page
39
43
  - sort_by
40
44
  - judge_ids
@@ -43,6 +43,13 @@ tribunal:
43
43
  judges:
44
44
  text: judges
45
45
  facet: judge_hashes
46
+ search_fields:
47
+ case_title: 20
48
+ ncn: 10
49
+ appeal_number: 10
50
+ keywords: 15
51
+ country_name: 10
52
+ html:
46
53
  search_params:
47
54
  - query
48
55
  - search_field
@@ -2,16 +2,16 @@
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: moj_tribunals_config 1.5.2 ruby lib
5
+ # stub: moj_tribunals_config 1.6.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "moj_tribunals_config"
9
- s.version = "1.5.2"
9
+ s.version = "1.6.0"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Al Davidson"]
14
- s.date = "2015-02-25"
14
+ s.date = "2015-03-05"
15
15
  s.description = "Used by tribunals_frontend and tribunals_api to share configuration.\n To use:\n\n 1) add \"gem 'moj_tribunals_config'\" to your Gemfile\n 2) in an initializer, add the following code:\n\n require 'moj_tribunals_config'\n\n my_config = Moj::Tribunals::ConfigLoader.new.load\n\n This will load the default config files from the gem.\n\n\n To load different files, you can provide an alternative path\n to the ConfigLoader.new method, e.g.\n\n my_config = Moj::Tribunals::ConfigLoader.new('/my/alternative/config/path').load\n\n To just load config for a specific tribunal, you can do:\n\n config_loader = Moj::Tribunals::ConfigLoader.new\n config_file = config_loader.config_file_for('utiac')\n config_loader.load_file( config_file )\n\n RailsConfig integration\n =======================\n\n If you're using the RailsConfig gem, your intializer can just do something like:\n\n files = Moj::Tribunals::ConfigLoader.new.config_files\n files.each{ |f| Settings.add_source!( f ) }\n Settings.reload!\n "
16
16
  s.email = "apdavidson@gmail.com"
17
17
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moj_tribunals_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.2
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Al Davidson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-25 00:00:00.000000000 Z
11
+ date: 2015-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: shoulda