ffxiv-lodestone 0.9.0 → 0.9.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.
Files changed (3) hide show
  1. data/HISTORY +4 -0
  2. data/lib/ffxiv-lodestone.rb +3 -3
  3. metadata +3 -3
data/HISTORY CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.9.1 ==
2
+ * Rails compatability! The #to_json() methods now take an argument (which is promptly dropped on
3
+ the floor) to make ActiveSupport happy.
4
+
1
5
  == 0.9.0 ==
2
6
  * SkillList#list() changed to SkillList#levelled().
3
7
  * Characters can be searched and loaded by name. See the README for directions on how to do this.
@@ -5,7 +5,7 @@ require 'json'
5
5
 
6
6
  module FFXIVLodestone
7
7
  # Gem version.
8
- VERSION = '0.9.0'
8
+ VERSION = '0.9.1'
9
9
 
10
10
  # Accept-language must be sent; their default is Japanese text.
11
11
  HTTP_OPTIONS = {'Accept-Language' => 'en-us,en;q=0.5', 'Accept-Charset' => 'utf-8;q=0.5'}
@@ -54,7 +54,7 @@ module FFXIVLodestone
54
54
  to_hash
55
55
  end
56
56
 
57
- def to_json
57
+ def to_json(args={})
58
58
  self.to_hash.to_json
59
59
  end
60
60
  end
@@ -223,7 +223,7 @@ module FFXIVLodestone
223
223
  "#{@profile[:first_name]} #{@profile[:last_name]}"
224
224
  end
225
225
 
226
- def to_json
226
+ def to_json(args={})
227
227
  data = {}
228
228
  data.merge!(@profile)
229
229
  data[:jobs] = @skills
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffxiv-lodestone
3
3
  version: !ruby/object:Gem::Version
4
- hash: 59
4
+ hash: 57
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 0
10
- version: 0.9.0
9
+ - 1
10
+ version: 0.9.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - owlmanatt