dhis2 3.0.7 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -0
- data/lib/dhis2/api/version228/index.rb +2 -0
- data/lib/dhis2/api/version228/program_indicator.rb +12 -0
- data/lib/dhis2/api/version228/program_indicator_group.rb +12 -0
- data/lib/dhis2/classes.rb +2 -0
- data/lib/dhis2/client.rb +8 -0
- data/lib/dhis2/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89b8adaeaddd4025bb11fb1291f86348249a307e
|
4
|
+
data.tar.gz: 334eea55aaf819d87a80e9d1cfe577a4062e1a7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b97719f13f6750232b4ea1987be6c67cbe21ce5d99c0d56cb48481f4b6ff1a4e4239112c65df073f79341f67310e4d47faa25c2eab83834aeca953295c9dafb
|
7
|
+
data.tar.gz: 0ab9c836879c22f114f9ac40da203c28b22f3cd5865f347b1c6947334f26073eeb40713ebe9c213d433949af201d23c93f3a6a73cc01d5df153d412e6c799c95
|
data/README.md
CHANGED
@@ -236,6 +236,8 @@ The API is currently limited to actions on the following elements:
|
|
236
236
|
- `OrganisationUnitGroup`
|
237
237
|
- `OrganisationUnitLevel`
|
238
238
|
- `Program`
|
239
|
+
- `ProgramIndicator`
|
240
|
+
- `ProgramIndicatorGroup`
|
239
241
|
- `Report`
|
240
242
|
- `ReportTable`
|
241
243
|
- `ResourceTables`
|
@@ -370,6 +372,12 @@ gem bump --tag --release
|
|
370
372
|
|
371
373
|
Bug reports and pull requests are welcome on GitHub at https://github.com/BLSQ/dhis2. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
372
374
|
|
375
|
+
Please use Semantic versioning when bumping versions: Mj.Mn.P
|
376
|
+
|
377
|
+
- MAJOR version when you make incompatible API changes
|
378
|
+
- MINOR version when you add functionality in a backwards-compatible manner, and
|
379
|
+
- PATCH version when you make backwards-compatible bug fixes.
|
380
|
+
|
373
381
|
## License
|
374
382
|
|
375
383
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
@@ -22,6 +22,8 @@ require_relative "organisation_unit_group"
|
|
22
22
|
require_relative "organisation_unit_group_set"
|
23
23
|
require_relative "organisation_unit_level"
|
24
24
|
require_relative "program"
|
25
|
+
require_relative "program_indicator"
|
26
|
+
require_relative "program_indicator_group"
|
25
27
|
require_relative "report_table"
|
26
28
|
require_relative "resource_table"
|
27
29
|
require_relative "report"
|
data/lib/dhis2/classes.rb
CHANGED
@@ -39,6 +39,8 @@ module Dhis2
|
|
39
39
|
class OrganisationUnitGroupSet < Versioned; end
|
40
40
|
class OrganisationUnitLevel < Versioned; end
|
41
41
|
class Program < Versioned; end
|
42
|
+
class ProgramIndicator < Versioned; end
|
43
|
+
class ProgramIndicatorGroup < Versioned; end
|
42
44
|
class Report < Versioned; end
|
43
45
|
class ReportTable < Versioned; end
|
44
46
|
class ResourceTable < Versioned; end
|
data/lib/dhis2/client.rb
CHANGED
@@ -116,6 +116,14 @@ module Dhis2
|
|
116
116
|
@programs ||= CollectionWrapper.new("Program", self)
|
117
117
|
end
|
118
118
|
|
119
|
+
def program_indicators
|
120
|
+
@program_indicators ||= CollectionWrapper.new("ProgramIndicator", self)
|
121
|
+
end
|
122
|
+
|
123
|
+
def program_indicator_groups
|
124
|
+
@program_indicator_groups ||= CollectionWrapper.new("ProgramIndicatorGroup", self)
|
125
|
+
end
|
126
|
+
|
119
127
|
def reports
|
120
128
|
@reports ||= CollectionWrapper.new("Report", self)
|
121
129
|
end
|
data/lib/dhis2/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dhis2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Van Aken
|
@@ -371,6 +371,8 @@ files:
|
|
371
371
|
- lib/dhis2/api/version228/organisation_unit_group_set.rb
|
372
372
|
- lib/dhis2/api/version228/organisation_unit_level.rb
|
373
373
|
- lib/dhis2/api/version228/program.rb
|
374
|
+
- lib/dhis2/api/version228/program_indicator.rb
|
375
|
+
- lib/dhis2/api/version228/program_indicator_group.rb
|
374
376
|
- lib/dhis2/api/version228/report.rb
|
375
377
|
- lib/dhis2/api/version228/report_table.rb
|
376
378
|
- lib/dhis2/api/version228/resource_table.rb
|