arbitrium 1.0.2 → 1.0.3

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: 86519c383cfded8f29faf1d9b32410bbf292f49f
4
- data.tar.gz: fc6c82185ddd69eb8b7153f5835c8fa7f4dbcb34
3
+ metadata.gz: bfdd0e739cc04ad4a352959eccf4ea013f75c205
4
+ data.tar.gz: aa3f5f37ba483b2e1a1480ac10463bd3993396d1
5
5
  SHA512:
6
- metadata.gz: 679166fc387b8bc1418c739c444fcaa776f598d4a957228d922ad3c714294567bb34d63e35643f6a24449872dde7f7b48a3b141bcdb09dfd85e810d1b96f63fb
7
- data.tar.gz: 3c326ed172dc340dc21339bbfd820ea8955aec8d4315a7c3aa831ce185c5a03713020faa7cdd6efa7b01ac2f4ba1696457e56c74d18496046528604de944ab05
6
+ metadata.gz: b1491e66225d2597783119ce010fb524de2c0244f26194b80b6ce51586f0dfc82035edbdea18892f0a8c5424267254a5880b40d39a6a6f2e8551761442d69d22
7
+ data.tar.gz: 8537c6757d1207dd79d3c341f1c3b1ed92f319ddd3586453b9ae2bafe5988f2cb26b15b1692a28583a1b37810b68a0372c568be01a6544717e96c148046a19f1
@@ -65,7 +65,7 @@ module Arbitrium
65
65
  end
66
66
 
67
67
  def class_header
68
- module_array.empty? ? "class #{class_name}" : "#{add_spaces(module_array.length)} class #{class_name}"
68
+ module_array.empty? ? "class #{class_name}" : "\n#{add_spaces(module_array.length)} class #{class_name}"
69
69
  end
70
70
 
71
71
  def add_spaces(value = module_array.length)
@@ -81,7 +81,7 @@ module Arbitrium
81
81
  end
82
82
 
83
83
  def file_footer
84
- module_array.map.with_index { |_, i| puts i; "#{add_spaces((module_array.length - i))}end" }.join("\n")
84
+ module_array.map.with_index { |_, i| "#{add_spaces((module_array.length - i))}end" }.join("\n")
85
85
  end
86
86
  end
87
87
  end
@@ -1,3 +1,3 @@
1
1
  module Arbitrium
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arbitrium
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lollar