dhis2 3.0.7 → 3.2.1

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: d795828a706adfbd50c6a2d3ef8276c70632012d
4
- data.tar.gz: 14533e1ec21cf38a97c039035b86aa92d4e9b896
3
+ metadata.gz: 89b8adaeaddd4025bb11fb1291f86348249a307e
4
+ data.tar.gz: 334eea55aaf819d87a80e9d1cfe577a4062e1a7a
5
5
  SHA512:
6
- metadata.gz: 069f4753a6cc52e6c553aadcb9438c48b823cc7ad0008e278e3ae4bf400a717eab941ebea3c4c2d41b54d75acd99ebbf0cae832cefdfe3728d3d2c05a4182fc7
7
- data.tar.gz: 67cbdfa019cb8c5d3729df353371e2ca70a702b70279150ada10f6285e8fa00db5a6c6f6a42c8b0d50e7d003d8124e4ed2a111f5eedd74a085bf7ada65ae40e1
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"
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Dhis2
4
+ module Api
5
+ module Version228
6
+ class ProgramIndicator < ::Dhis2::Api::Base
7
+ include ::Dhis2::Api::Listable
8
+ include ::Dhis2::Api::Findable
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Dhis2
4
+ module Api
5
+ module Version228
6
+ class ProgramIndicatorGroup < ::Dhis2::Api::Base
7
+ include ::Dhis2::Api::Listable
8
+ include ::Dhis2::Api::Findable
9
+ end
10
+ end
11
+ end
12
+ end
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dhis2
4
- VERSION = "3.0.7"
4
+ VERSION = "3.2.1"
5
5
  end
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.0.7
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