KerbalStuff 0.1.7 → 0.1.8

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.
@@ -8,6 +8,10 @@ module KerbalStuff
8
8
 
9
9
  @name = @json['name']
10
10
  @background = @json['background']
11
+ @license = @json['license']
12
+ @website = @json['website']
13
+ @donations = @json['donations']
14
+ @source_code = @json['source_code']
11
15
  @author = @json['author']
12
16
  @downloads = @json['downloads']
13
17
  @id = @json['id']
@@ -16,7 +20,6 @@ module KerbalStuff
16
20
  @followers = @json['followers']
17
21
  @default_version_id = @json['default_version_id']
18
22
  @description = @json['description']
19
- @license = @json['license']
20
23
 
21
24
  if @json.has_key?('versions')
22
25
  @versions = []
@@ -30,7 +33,7 @@ module KerbalStuff
30
33
  end
31
34
 
32
35
  def to_s
33
- "Mod:\nname=#{@name}\nbackground=#{@background}\nlicense=#{@license}\nauthor=#{@author}\ndownloads=#{@downloads}\nid=#{@id}\nshort_description=\"#{@short_description}\"\nversions=#{@versions}\ndescription_html=\"#{@description_html}\"\nfollowers=#{@followers}\ndefault_version_id=#{@default_version_id}\ndescription=\"#{@description}\"\n"
36
+ "Mod:\nname=#{@name}\nbackground=#{@background}\nlicense=#{@license}\nwebsite=#{@website}\ndonations=#{@donations}\nsource_code=#{@source_code}\nauthor=#{@author}\ndownloads=#{@downloads}\nid=#{@id}\nshort_description=\"#{@short_description}\"\nversions=#{@versions}\ndescription_html=\"#{@description_html}\"\nfollowers=#{@followers}\ndefault_version_id=#{@default_version_id}\ndescription=\"#{@description}\"\n"
34
37
  end
35
38
  end
36
39
 
@@ -1,3 +1,3 @@
1
1
  module KerbalStuff
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: KerbalStuff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-10-17 00:00:00.000000000 Z
12
+ date: 2014-10-19 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A simple API wrapper for KerbalStuff
15
15
  email: rockytvbr@gmail.com