maxwell 0.4.1 → 0.4.2

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: 0f0c170bf984b46992415436163fb8a0d5e13b45
4
- data.tar.gz: 76b17526a4f0e9c7e9fe9bcbbdcff5b514745a4e
3
+ metadata.gz: 6906df7006fc1b3cbd8608a1adee350254abd3ce
4
+ data.tar.gz: dca0f28579c53f57208468140a0ca4c08f206480
5
5
  SHA512:
6
- metadata.gz: 37ce6c42348e408a7ec8f412aee8c05fecf0fa3cd203f50ffb0a5ff70c8dbc86ff6144261226e461b552e9cb3b4fbcca284b3c09f2e2ba815106f271d92f2635
7
- data.tar.gz: 2ef379ac0f5041e90ccbffe6509589283bb5a07ef08ed3bd8328370ae8645cc31ba204092462419546216bd1ea4502d21a83b856b42897adbf310926ec229922
6
+ metadata.gz: 3f77e481eab44c22127fcc67cc5fd0391e0fda4bfeaa0a3b3cca04552203488a5cc6b3bd1d589db7271708bcaec066a2c7e44145c3a5301ec6201b6d1fd7e70a
7
+ data.tar.gz: c2d7ffc36f3715862b081519f76f823da8ecd5baf714e0f5067007d9abd44a1ca63a8421e59aed873e609cba45a7911de994ed309c7d6cddae9ca338823ebad9
@@ -0,0 +1,11 @@
1
+ class ::String
2
+ def trim
3
+ delete "\r\n\t"
4
+ end
5
+ end
6
+
7
+ class ::Nokogiri::XML::Element
8
+ def text_trim
9
+ self.text.trim
10
+ end
11
+ end
@@ -1,3 +1,3 @@
1
1
  module Maxwell
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
data/lib/maxwell.rb CHANGED
@@ -3,6 +3,8 @@ require 'parallel'
3
3
  require "maxwell/converter"
4
4
  require "maxwell/helper"
5
5
 
6
+ require "maxwell/overide_ohter_class"
7
+
6
8
  module Maxwell
7
9
  class NoParserDefinedErr; end
8
10
 
@@ -54,9 +56,3 @@ module Maxwell
54
56
  end
55
57
  end
56
58
  end
57
-
58
- class ::String
59
- def trim
60
- delete "\r\n\t"
61
- end
62
- end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maxwell
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - gogotanaka
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-03-02 00:00:00.000000000 Z
11
+ date: 2016-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -143,6 +143,7 @@ files:
143
143
  - lib/maxwell.rb
144
144
  - lib/maxwell/converter.rb
145
145
  - lib/maxwell/helper.rb
146
+ - lib/maxwell/overide_ohter_class.rb
146
147
  - lib/maxwell/version.rb
147
148
  - maxwell.gemspec
148
149
  homepage: http://gogotanaka.me/