mediawiki-gateway 1.0.0.rc1 → 1.0.0

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: 5150a41bc6e40dcb57657afdc997e131fa2d870a
4
- data.tar.gz: 2de54f26896f811c5deb030ebbbb763d63b567b1
3
+ metadata.gz: 9348630e11f96f1c356898c7c788f0a92331da51
4
+ data.tar.gz: 04cb698dc943616403ea27dbbfc9ab02a89b1cc8
5
5
  SHA512:
6
- metadata.gz: 4dda2f19dc6b2431f052d59b57d1c36990757f1cb1daf4bf3f9a751c78705c13c4e7c778bdd8106c24ea3a9f45f192f336a360f7a260b43b8099969545c1c2a1
7
- data.tar.gz: bf221978ac17b5fd4712f5738196f438453bbe5854a26c0e0caa1ec863d9396623aed815677e685ed2e56b29b45a7d778869303b3a1b59928e308e540bb05952
6
+ metadata.gz: 3103c1160612dd0edd49e5fde0e5a1af1ed08e49910185d45f37b0b82fcae2829d93cc8ac0e956441e0d65dc27fe96cb64a3850fe284c44cbee28ad04cc3a813
7
+ data.tar.gz: 77190501400ca7b3213cfcbe0de6a2683ac7324c0550007cf321538a7c1adeae55630e338d0ff965a9969fdea0db4a4ee282005733ad1748bc9f89bcf0159a18
data/ChangeLog CHANGED
@@ -2,15 +2,19 @@
2
2
 
3
3
  = Revision history for mediawiki-gateway
4
4
 
5
- == 1.0.0 [unreleased]
5
+ == 1.0.0 [2014-10-31]
6
6
 
7
7
  * <b>Required Ruby version is now 1.9.3 or higher.</b>
8
8
  * For better Unicode support, install the +unicode+ or +activesupport+ gem.
9
9
  * API methods are grouped into submodules of MediaWiki::Gateway.
10
+ * MediaWiki::Utils has been added as a proper module.
11
+ * MediaWiki::FakeWiki has been added as a first-class citizen.
12
+ * MediaWiki::Config has been removed.
10
13
  * MediaWiki::Gateway#send_request allows generic API requests.
14
+ * MediaWiki::Gateway::Query#custom_query has been made public.
11
15
  * MediaWiki::Gateway::new learned +user_agent+ option.
12
- * MediaWiki::Gateway::Query#custom_query is now public.
13
- * MediaWiki::Gateway#wiki_url attribute is now exposed.
16
+ * MediaWiki::Gateway#headers attribute has been exposed.
17
+ * MediaWiki::Gateway#wiki_url attribute has been exposed.
14
18
  * Added +mediawiki-gateway+ command-line client.
15
19
  * Changed or removed some of the dependencies.
16
20
  * Housekeeping and internal refactoring.
data/README.md CHANGED
@@ -9,7 +9,7 @@ A Ruby framework for [MediaWiki API](http://www.mediawiki.org/wiki/API:Main_page
9
9
  * List, search operations work around API limits to fetch all results
10
10
  * Support for maxlag detection and automated retries on 503
11
11
  * Integrated logging
12
- * Tested up to MediaWiki 1.22
12
+ * Tested up to MediaWiki 1.23
13
13
  * Should work with Ruby 1.9.3 and higher
14
14
 
15
15
  ## Links
@@ -80,19 +80,19 @@ You only need to provide the part that identifies your own bot, an additional pa
80
80
  To compile and test MediaWiki::Gateway locally, install its development dependencies:
81
81
 
82
82
  ```shell
83
- gem install --development mediawiki-gateway
83
+ $ gem install --development mediawiki-gateway
84
84
  ```
85
85
 
86
86
  Then this will list the available options:
87
87
 
88
88
  ```shell
89
- rake -T
89
+ $ rake -T
90
90
  ```
91
91
 
92
92
  To build and install the gem use:
93
93
 
94
94
  ```shell
95
- rake gem:install
95
+ $ rake gem:install
96
96
  ```
97
97
 
98
98
  ### Testing against a live MediaWiki instance
@@ -10,7 +10,7 @@ module MediaWiki
10
10
 
11
11
  # Returns array representation.
12
12
  def to_a
13
- [MAJOR, MINOR, PATCH] << 'rc1'
13
+ [MAJOR, MINOR, PATCH]
14
14
  end
15
15
 
16
16
  # Short-cut for version string.
@@ -1,3 +1,5 @@
1
+ # encoding: utf-8
2
+
1
3
  describe MediaWiki::Utils do
2
4
 
3
5
  describe '::get_path_to_subpage' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mediawiki-gateway
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jani Patokallio
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-10-23 00:00:00.000000000 Z
12
+ date: 2014-10-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
@@ -87,20 +87,20 @@ dependencies:
87
87
  requirements:
88
88
  - - "~>"
89
89
  - !ruby/object:Gem::Version
90
- version: '0.7'
90
+ version: '0.8'
91
91
  - - ">="
92
92
  - !ruby/object:Gem::Version
93
- version: 0.7.1
93
+ version: 0.8.0
94
94
  type: :development
95
95
  prerelease: false
96
96
  version_requirements: !ruby/object:Gem::Requirement
97
97
  requirements:
98
98
  - - "~>"
99
99
  - !ruby/object:Gem::Version
100
- version: '0.7'
100
+ version: '0.8'
101
101
  - - ">="
102
102
  - !ruby/object:Gem::Version
103
- version: 0.7.1
103
+ version: 0.8.0
104
104
  - !ruby/object:Gem::Dependency
105
105
  name: rake
106
106
  requirement: !ruby/object:Gem::Requirement
@@ -174,22 +174,26 @@ licenses:
174
174
  metadata: {}
175
175
  post_install_message: |2+
176
176
 
177
- mediawiki-gateway-1.0.0 [unreleased]:
177
+ mediawiki-gateway-1.0.0 [2014-10-31]:
178
178
 
179
179
  * <b>Required Ruby version is now 1.9.3 or higher.</b>
180
180
  * For better Unicode support, install the +unicode+ or +activesupport+ gem.
181
181
  * API methods are grouped into submodules of MediaWiki::Gateway.
182
+ * MediaWiki::Utils has been added as a proper module.
183
+ * MediaWiki::FakeWiki has been added as a first-class citizen.
184
+ * MediaWiki::Config has been removed.
182
185
  * MediaWiki::Gateway#send_request allows generic API requests.
186
+ * MediaWiki::Gateway::Query#custom_query has been made public.
183
187
  * MediaWiki::Gateway::new learned +user_agent+ option.
184
- * MediaWiki::Gateway::Query#custom_query is now public.
185
- * MediaWiki::Gateway#wiki_url attribute is now exposed.
188
+ * MediaWiki::Gateway#headers attribute has been exposed.
189
+ * MediaWiki::Gateway#wiki_url attribute has been exposed.
186
190
  * Added +mediawiki-gateway+ command-line client.
187
191
  * Changed or removed some of the dependencies.
188
192
  * Housekeeping and internal refactoring.
189
193
 
190
194
  rdoc_options:
191
195
  - "--title"
192
- - mediawiki-gateway Application documentation (v1.0.0.rc1)
196
+ - mediawiki-gateway Application documentation (v1.0.0)
193
197
  - "--charset"
194
198
  - UTF-8
195
199
  - "--line-numbers"
@@ -205,9 +209,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
205
209
  version: 1.9.3
206
210
  required_rubygems_version: !ruby/object:Gem::Requirement
207
211
  requirements:
208
- - - ">"
212
+ - - ">="
209
213
  - !ruby/object:Gem::Version
210
- version: 1.3.1
214
+ version: '0'
211
215
  requirements: []
212
216
  rubyforge_project:
213
217
  rubygems_version: 2.4.2