awesome_xml_dsl 0.1.4 → 0.1.5

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
  SHA256:
3
- metadata.gz: db4ef4ea4831a9b8d5757aefdc7219fec79ed43dbd19afe98a98a6b5bb5b14e1
4
- data.tar.gz: 339e5cd404a2ee3dbc49a3ce8e486413fdd0a946ba70cdd1ed9ef756ebb314cb
3
+ metadata.gz: ebf48dc13d4515903eb4c4bceebffb55a9564a05248b37c7b1eaf01f2e37a3f7
4
+ data.tar.gz: d7d0596be055d58179527a6058734d0ab644d483bbe9db33b99cdb81e88eb00e
5
5
  SHA512:
6
- metadata.gz: 2b596aa331249ea0922194eefd37d91205632921b7c3a9fda02848b04918a22f55b3050860a5f3054f47d89a8f88406e7c2469759db00fa6f9eff93bca633199
7
- data.tar.gz: eed13614e32ebf61b1c66f28faebfc8300d840b6c7834ef8b2bf9f676c2d84a085e4991ae86461931be8371c70e281683269afdeeeb3d3cc27cde55e113da131
6
+ metadata.gz: d4b426a3cf5fd6a43d40d6bcc1b20566764c3e58fcb3edd083d35fce6d2d08c221c3f6dc173a65e209ae8a7cc0fd075bde869d27fac5f5abe4ca2a55bce85399
7
+ data.tar.gz: ad9250663f42d5f2e3fbe8b8dbe01eec869076e0b51087cac897212a57f89499c74d5ca93214d202bffc97603b7790ff38cf6cde93fbfc90d4b5ac0769d940cb
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # XmlDsl
1
+ # AwesomeXmlDsl
2
2
 
3
3
  Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/xml_dsl`. To experiment with that code, run `bin/console` for an interactive prompt.
4
4
 
@@ -41,4 +41,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
41
41
 
42
42
  ## Code of Conduct
43
43
 
44
- Everyone interacting in the XmlDsl project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/xml_dsl/blob/master/CODE_OF_CONDUCT.md).
44
+ Everyone interacting in the AwesomeXmlDsl project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/xml_dsl/blob/master/CODE_OF_CONDUCT.md).
@@ -1,10 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative 'lib/xml_dsl/version'
3
+ require_relative 'lib/awesome_xml_dsl/version'
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'awesome_xml_dsl'
7
- spec.version = XmlDsl::VERSION
7
+ spec.version = AwesomeXmlDsl::VERSION
8
8
  spec.authors = ["Pedro 'Fedeaux' Bernardes"]
9
9
  spec.email = ['phec06@gmail.com']
10
10
 
@@ -11,7 +11,7 @@ require 'xml_dsl/attribute'
11
11
  require 'xml_dsl/partial'
12
12
  require 'xml_dsl/tag'
13
13
 
14
- module XmlDsl
14
+ module AwesomeXmlDsl
15
15
  class RequiredValueNotPresent < StandardError; end
16
16
 
17
17
  def self.root
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module XmlDsl
3
+ module AwesomeXmlDsl
4
4
  class Attribute
5
5
  def initialize(name, value)
6
6
  @name = name
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module XmlDsl
3
+ module AwesomeXmlDsl
4
4
  class AttributeOptionsParser
5
5
  def initialize(original_options)
6
6
  @as = original_options[:as] || original_options[:require] || original_options[:if]
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module XmlDsl
3
+ module AwesomeXmlDsl
4
4
  class DataSource
5
5
  def initialize(object:)
6
6
  @object = object
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module XmlDsl
3
+ module AwesomeXmlDsl
4
4
  class Generator
5
5
  def initialize(data_source:, template:, version_tag: '<?xml version="1.0" encoding="utf-8"?>')
6
6
  @data_source = data_source
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module XmlDsl
3
+ module AwesomeXmlDsl
4
4
  class OptionsParser
5
5
  attr_accessor :options
6
6
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module XmlDsl
3
+ module AwesomeXmlDsl
4
4
  class Partial
5
5
  def initialize(file_name, context, options = {})
6
6
  @context = context
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module XmlDsl
3
+ module AwesomeXmlDsl
4
4
  class Tag
5
5
  def initialize(name, generator, depth, options = {})
6
6
  @name = name
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module AwesomeXmlDsl
4
+ VERSION = '0.1.5'
5
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awesome_xml_dsl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pedro 'Fedeaux' Bernardes
@@ -26,19 +26,19 @@ files:
26
26
  - LICENSE.txt
27
27
  - README.md
28
28
  - Rakefile
29
+ - awesome_xml_dsl.gemspec
29
30
  - bin/console
30
31
  - bin/setup
32
+ - lib/awesome_xml_dsl.rb
33
+ - lib/awesome_xml_dsl/attribute.rb
34
+ - lib/awesome_xml_dsl/attribute_options_parser.rb
35
+ - lib/awesome_xml_dsl/data_source.rb
36
+ - lib/awesome_xml_dsl/generator.rb
37
+ - lib/awesome_xml_dsl/options_parser.rb
38
+ - lib/awesome_xml_dsl/partial.rb
39
+ - lib/awesome_xml_dsl/tag.rb
40
+ - lib/awesome_xml_dsl/version.rb
31
41
  - lib/lib/core_extensions.rb
32
- - lib/xml_dsl.rb
33
- - lib/xml_dsl/attribute.rb
34
- - lib/xml_dsl/attribute_options_parser.rb
35
- - lib/xml_dsl/data_source.rb
36
- - lib/xml_dsl/generator.rb
37
- - lib/xml_dsl/options_parser.rb
38
- - lib/xml_dsl/partial.rb
39
- - lib/xml_dsl/tag.rb
40
- - lib/xml_dsl/version.rb
41
- - xml_dsl.gemspec
42
42
  homepage: https://github.com/fedeaux/xml_dsl
43
43
  licenses:
44
44
  - MIT
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module XmlDsl
4
- VERSION = '0.1.4'
5
- end