helper_classes 0.2.1 → 0.3.0

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: f2cc2efbfcfed05e72c9003554b4a7e3c344f925
4
- data.tar.gz: 3426825c61f9d9b782dc46d507c20bca84164f43
3
+ metadata.gz: b11ad595e3d4a3850c21d3ef3c29e8604b5c24b1
4
+ data.tar.gz: 79c63ec77b17bef460842261cef66e04f31db163
5
5
  SHA512:
6
- metadata.gz: b19fbe9429c4097b68464cdfc05ec33bb91d9da52ebc6ae04236e88359bb33c11caa85ff9af718260df64f2f940ddf127df56ae39da1ee3adea1cbcfb8dfee45
7
- data.tar.gz: 3d71d53497721d7e8fdeb724707d81d8363a3feaceb7db61db57aae6a28e47317214b6cec7a7bd68867062aa429d593f9b1215c465e4dc9105243e45b043e45c
6
+ metadata.gz: 274840444e7c41610ba045041ab97c7ccd91ac1b772b78e6e338d521e9723f8fc5bb0e712c5d9c323f0b171cc7bec0a462bd1dc687c74fda5e32accf2edd3006
7
+ data.tar.gz: 5610cb8da1b6c4e41543737c00a69ad7de34485b8275f6865bd7f4f9a19ea6d30791b15aa9628a0cf26b04d868bdcb2e4031b139116c977e0ca983052d68bde0
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'helper_classes'
3
- s.version = '0.2.1'
3
+ s.version = '0.3.0'
4
4
  s.date = '2015-05-12'
5
5
  s.summary = 'Hash._accessor Array.to_sym and DPuts'
6
6
  s.description = 'Added accessors to Hash, to_sym to Array and a nice debugging-interface called DPuts'
@@ -0,0 +1,7 @@
1
+ require 'helper_classes/arraysym'
2
+ require 'helper_classes/dputs'
3
+ require 'helper_classes/hashaccessor'
4
+ require 'helper_classes/readconfig'
5
+ require 'helper_classes/service'
6
+ require 'helper_classes/system'
7
+ require 'helper_classes/timing'
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
data/test/test.rb CHANGED
@@ -2,7 +2,7 @@
2
2
  $LOAD_PATH.push '../lib', '.'
3
3
 
4
4
  require 'test/unit'
5
- require 'helperclasses'
5
+ require 'helper_classes'
6
6
  include HelperClasses
7
7
 
8
8
  tests = Dir.glob( 'hc_*.rb' )
@@ -1,5 +1,5 @@
1
- require 'helperclasses/arraysym'
1
+ require 'helper_classes/arraysym'
2
2
 
3
3
  using HelperClasses::ArraySym
4
4
 
5
- p ["a", "b"].to_sym
5
+ p %w(a b).to_sym
data/test/test_dputs.rb CHANGED
@@ -1,12 +1,14 @@
1
- require "helperclasses/dputs"
1
+ require 'helper_classes/dputs'
2
2
 
3
3
  DEBUG_LVL = 5
4
4
 
5
5
  include HelperClasses
6
6
 
7
- DPuts.dputs(5){"Hello"}
7
+ DPuts.dputs(5){ 'Hello'
8
+ }
8
9
 
9
10
  include DPuts
10
11
 
11
- dputs( 5 ){"Hello there"}
12
+ dputs( 5 ){ 'Hello there'
13
+ }
12
14
 
@@ -1,4 +1,4 @@
1
- require 'helperclasses/hashaccessor'
1
+ require 'helper_classes/hashaccessor'
2
2
 
3
3
  using HelperClasses::HashAccessor
4
4
 
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- $LOAD_PATH.push('../lib')
4
- require 'helperclasses/readconfig'
3
+ require 'helper_classes/readconfig'
5
4
 
6
5
  include HelperClasses
7
6
 
data/test/test_system.rb CHANGED
@@ -1,8 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- $LOAD_PATH.push '../lib'
4
-
5
- require 'helperclasses/system'
3
+ require 'helper_classes/system'
6
4
  include HelperClasses::System
7
5
 
8
6
  rescue_all do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: helper_classes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Linus Gasser
@@ -21,14 +21,14 @@ files:
21
21
  - LICENSE
22
22
  - README.md
23
23
  - helper_classes.gemspec
24
- - lib/helperclasses.rb
25
- - lib/helperclasses/arraysym.rb
26
- - lib/helperclasses/dputs.rb
27
- - lib/helperclasses/hashaccessor.rb
28
- - lib/helperclasses/readconfig.rb
29
- - lib/helperclasses/service.rb
30
- - lib/helperclasses/system.rb
31
- - lib/helperclasses/timing.rb
24
+ - lib/helper_classes.rb
25
+ - lib/helper_classes/arraysym.rb
26
+ - lib/helper_classes/dputs.rb
27
+ - lib/helper_classes/hashaccessor.rb
28
+ - lib/helper_classes/readconfig.rb
29
+ - lib/helper_classes/service.rb
30
+ - lib/helper_classes/system.rb
31
+ - lib/helper_classes/timing.rb
32
32
  - test/hc_service.rb
33
33
  - test/test.rb
34
34
  - test/test_arraysym.rb
data/lib/helperclasses.rb DELETED
@@ -1,7 +0,0 @@
1
- require 'helperclasses/arraysym'
2
- require 'helperclasses/dputs'
3
- require 'helperclasses/hashaccessor'
4
- require 'helperclasses/readconfig'
5
- require 'helperclasses/service'
6
- require 'helperclasses/system'
7
- require 'helperclasses/timing'