dhis2 2.3.2 → 2.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f7ff4c087f33854b186ae23097b182f57aa7199
4
- data.tar.gz: c474400d0e67ad09cba805e882e0633e5e8bbef7
3
+ metadata.gz: 23a68a6e9121453b5f029afc363dae6e4b2acf85
4
+ data.tar.gz: e6f31c8d2d40edbfbdeea5136a28ca7f08defa1c
5
5
  SHA512:
6
- metadata.gz: f3aee591bbae3414fed0772a8245116609fe46fa7525cbfccdf0489f09803dfd33ad0eec60d41f5d0b63d4e6426c3d29c91655b2c4fb9e4182d3f1ebedd79c0a
7
- data.tar.gz: c2146c83b8727c9538bf7ff626af23c66cd1b58d17c1e9ed37be96ad553467041a6028cef5b04eb13f00a3322ff4126e68e6e4b2a3d4dee80eb6c25ab44f2d6c
6
+ metadata.gz: 86bc17621e4f32b5dee4fbb350a5bfc5d0a82445cb468a8c7160450ae8f3bc72cfc0046a8a68463ef11219766b41741a30d97f1e7e4110e46fe2436402b4a9a5
7
+ data.tar.gz: 707583e0ed6e6c6af41573b49f68d7749f3dbb5f4b1161f2ab14fd45acfd95c8951ddbcbce6fc63f72583f7aba87732586e31edaf5717cdb52790afc914ce0fc
data/README.md CHANGED
@@ -118,21 +118,23 @@ You can retreive data values this way:
118
118
 
119
119
  ## Supported features
120
120
 
121
- The API is currently limited to **read** actions on the following elements/classes:
121
+ The API is currently limited to actions on the following elements:
122
122
 
123
123
  * `OrganisationUnit`
124
124
  * `OrganisationUnitGroup`
125
- * `OrganisationUnitLevels`
125
+ * `OrganisationUnitLevel`
126
126
  * `DataElement`
127
127
  * `DataSet`
128
128
  * `DataValueSet`
129
129
  * `DataValue`
130
130
  * `Analytic`
131
131
  * `CategoryCombo`
132
- * `SystemInfos`
132
+ * `CategoryOptionCombo`
133
+ * `SystemInfo`
133
134
  * `Attribute`
134
135
  * `Indicator`
135
136
  * `DataElementGroup`
137
+ * `User`
136
138
 
137
139
 
138
140
  A very basic **write** use case exists for `DataElement` and `DataSet`:
@@ -157,7 +159,7 @@ DHIS2 API does not return the ids of the created elements, but you can retreive
157
159
 
158
160
  ### Full update
159
161
 
160
- You can update a given item by retreiving it using it's id, making any modification on it then calling "update":
162
+ You can update a given item by retreiving it using its id, making any modification on it then calling "update":
161
163
 
162
164
  org_unit = Dhis2.client.organisation_units.find(id)
163
165
  org_unit.short_name = "New Short Name"
data/lib/dhis2.rb CHANGED
@@ -29,6 +29,7 @@ require_relative "dhis2/api/analytic"
29
29
  require_relative "dhis2/api/organisation_unit_group"
30
30
  require_relative "dhis2/api/system_info"
31
31
  require_relative "dhis2/api/attribute"
32
+ require_relative "dhis2/api/user"
32
33
 
33
34
  module Dhis2
34
35
  class << self
@@ -0,0 +1,6 @@
1
+ module Dhis2
2
+ module Api
3
+ class CategoryOptionCombo < Base
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ module Dhis2
2
+ module Api
3
+ class User < Base
4
+ end
5
+ end
6
+ end
data/lib/dhis2/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dhis2
2
- VERSION = "2.3.2"
2
+ VERSION = "2.3.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dhis2
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.2
4
+ version: 2.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Van Aken
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-03 00:00:00.000000000 Z
11
+ date: 2017-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -123,6 +123,7 @@ files:
123
123
  - lib/dhis2/api/attribute.rb
124
124
  - lib/dhis2/api/base.rb
125
125
  - lib/dhis2/api/category_combo.rb
126
+ - lib/dhis2/api/category_option_combo.rb
126
127
  - lib/dhis2/api/data_element.rb
127
128
  - lib/dhis2/api/data_element_group.rb
128
129
  - lib/dhis2/api/data_set.rb
@@ -133,6 +134,7 @@ files:
133
134
  - lib/dhis2/api/organisation_unit_group.rb
134
135
  - lib/dhis2/api/organisation_unit_level.rb
135
136
  - lib/dhis2/api/system_info.rb
137
+ - lib/dhis2/api/user.rb
136
138
  - lib/dhis2/client.rb
137
139
  - lib/dhis2/collection_wrapper.rb
138
140
  - lib/dhis2/configuration.rb