weskit 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,8 @@ Weskit [![Build Status](https://secure.travis-ci.org/f6p/weskit.png?branch=maste
2
2
  ====================================================================================================================
3
3
 
4
4
  Weskit gem consists of tools for interaction with Wesnoth Markup Langage and Wesnoth infrastructure.
5
- For more documentation check out generated ri pages and examples directory.
5
+ For more documentation check out ri pages and examples directory. Production code that
6
+ utilizes weskit capabilites can be found inside Ladder8 sources.
6
7
 
7
8
  #### Modules
8
9
 
@@ -6,19 +6,16 @@ include Weskit::WML
6
6
  # Compared to builder example this one uses more
7
7
  # conservative approach to WML creation process.
8
8
 
9
- root = Root.new
10
-
11
9
  object = Element.new :object
12
10
  object << Attribute.new(:name, 'orb')
13
11
  object << Attribute.new(:type, 'magic item')
14
12
 
15
- modificationno = Element.new :modification
13
+ modification = Element.new :modification
16
14
  modification << Attribute.new(:hp, 100)
17
15
 
18
16
  object << modification
19
- root << object
20
17
 
21
18
  # Set differend formatter globally.
22
19
  Formatter.default = Formatter.color
23
20
 
24
- puts root.to_s
21
+ puts object.to_s
@@ -1,3 +1,3 @@
1
1
  module Weskit
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weskit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: