Skip to content

Commit 39d7e07

Browse files
committed
Bump version and confirm production ready
1 parent 2e1fb0a commit 39d7e07

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Moodle::Api.configure({host: 'http://my_moodle_instance.com',
7979
service: 'my_external_service', # ensure you include the shortname of the external service
8080
username: 'jonsnow',
8181
password: 'defendthewall'})
82-
82+
8383
params = { 'criteria[0][key]' => 'firstname', 'criteria[0][value]' => 'Jon' }
8484

8585
Moodle::Api.core_user_get_users(params)
@@ -118,14 +118,11 @@ Note: regenerating vcr cassettes, some data will change which will break the tes
118118
5. Create a new Pull Request
119119
6. Ensure your stuff is rubocop'd
120120

121-
I am always keen to learn so please feel free to create an issue with code reviews, suggestions and possible refactorings.
121+
I am always keen to learn so please feel free to create an issue with code reviews, suggestions and possible refactorings.
122122

123123
## TODOS
124124

125125
- Add additional protocols
126126
- Make cassettes easily rerunnable - will require a parser for the response to remove dynamic data or a funky regex in the specs.
127127
- Moodle web services require you to know how the Moodle API expects params. They are pretty messy. It would be nice to leverage hashes and arrays and then parse them to into what moodle expects.
128128

129-
## Warning
130-
131-
This gem is still under heavy development.

lib/moodle/api/version.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
module Moodle
22
# Used to determine the current version of the gem
33
# Semantic versioning is used
4+
# http://guides.rubygems.org/patterns/#semantic-versioning
45
module Api
5-
VERSION = '1.3'
6+
VERSION = '1.4'
67
end
78
end

0 commit comments

Comments
 (0)