laa-fee-calculator-client 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +18 -23
- data/lib/laa/fee_calculator/fee_scheme.rb +1 -0
- data/lib/laa/fee_calculator/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dec4050260a085f016d8901191c1b1732cdd9de33181105d5178e57215d7ed4e
|
4
|
+
data.tar.gz: 19cd50c3a2fb3ffbcdeffacc225287866c4093145b9ed0ee9b5c509e052202e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e06348e90e19c81035787c3e303031a75a7c1dba8e8100ca655cf5246995817f98c9b5a9b74247779e86feb53d129b69f3971cf80b92e09401edba89e0abd1b4
|
7
|
+
data.tar.gz: 2c2c4350a354c7adc1a74f9217d479eb0ca5de360af83bddb7ffd05f6bbaa360aa7feb95e0f2b36817dd51d4795be9c2ea8bc116a26976f654eb72dbff9c70e8
|
data/README.md
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
[![Build Status](https://travis-ci.org/ministryofjustice/laa-fee-calculator-client.svg?branch=master)](https://travis-ci.org/ministryofjustice/laa-fee-calculator-client)
|
2
|
+
[![Gem Version](https://badge.fury.io/rb/laa-fee-calculator-client.svg)](https://badge.fury.io/rb/laa-fee-calculator-client)
|
3
|
+
![](https://ruby-gem-downloads-badge.herokuapp.com/laa-fee-calculator-client?type=total)
|
2
4
|
|
3
5
|
# Legal Aid Agency Fee Calculator Client
|
4
6
|
|
@@ -10,14 +12,14 @@ endpoints, providing a simple interface for querying data, in particular, the pr
|
|
10
12
|
Add this line to your application's Gemfile:
|
11
13
|
|
12
14
|
```ruby
|
13
|
-
gem 'laa-fee-calculator-client'
|
15
|
+
gem 'laa-fee-calculator-client', '~> 0.1.1'
|
14
16
|
```
|
15
17
|
|
16
18
|
And then execute:
|
17
19
|
|
18
20
|
$ bundle
|
19
21
|
|
20
|
-
Or install it yourself
|
22
|
+
Or install it yourself:
|
21
23
|
|
22
24
|
$ gem install laa-fee-calculator-client
|
23
25
|
|
@@ -82,9 +84,7 @@ fee_scheme = client.fee_schemes(type: 'AGFS', case_date: '2018-01-01')
|
|
82
84
|
|
83
85
|
fee_scheme = client.fee_schemes(type: 'AGFS', case_date: '2018-04-01')
|
84
86
|
# => AGFS scheme 10 object
|
85
|
-
|
86
87
|
```
|
87
|
-
note: supplier type and its args are to be changed (20/06/2018) in API
|
88
88
|
|
89
89
|
###### Lookup data
|
90
90
|
|
@@ -166,29 +166,24 @@ Bug reports and pull requests are welcome on GitHub at [ministryofjustice/laa-fe
|
|
166
166
|
|
167
167
|
3. Update the version in `lib/laa/fee_calculator/version` using [semantic versioning](https://guides.rubygems.org/patterns/#semantic-versioning).
|
168
168
|
|
169
|
-
4. PR the change, code-review, merge
|
170
|
-
|
171
|
-
5. Pull master and tag it with the new version number:
|
172
|
-
|
173
|
-
```
|
174
|
-
$ git tag -a v0.1.1 -m "version 0.1.1 - description"
|
175
|
-
```
|
176
|
-
|
177
|
-
```
|
178
|
-
$ git push origin v0.1.1
|
179
|
-
```
|
169
|
+
4. PR the change, code-review, merge.
|
180
170
|
|
181
|
-
|
171
|
+
5. Pull master and run rake task below to publish
|
182
172
|
|
183
|
-
|
184
|
-
|
185
|
-
|
173
|
+
```bash
|
174
|
+
$ rake release
|
175
|
+
```
|
186
176
|
|
187
|
-
|
177
|
+
This rake task automates the following:
|
188
178
|
|
189
|
-
|
190
|
-
|
191
|
-
|
179
|
+
```bash
|
180
|
+
$ git push -u origin <branch>
|
181
|
+
$ git tag -a v<VERSION> -m "Version <VERSION>"
|
182
|
+
$ git push origin v<VERSION>
|
183
|
+
$ gem build laa-fee-calculator-client.gemspec
|
184
|
+
$ gem push laa-fee-calculator-client-<VERSION>.gemspec
|
185
|
+
```
|
186
|
+
*`<VERSION>` is the value of `LAA::FeeCalculator::VERSION`
|
192
187
|
|
193
188
|
## License
|
194
189
|
|