da_funk 0.4.15 → 0.4.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c71a022894a2992a96f807725594df7a54d9a27d
4
- data.tar.gz: ae01716d14310f7cfb1a6d9621cfd1bb3bc80766
3
+ metadata.gz: 408d2708f7605799cbab509df98402cca696453e
4
+ data.tar.gz: d5ad37c422a7d745f9c744f7e9ac4035aeafb543
5
5
  SHA512:
6
- metadata.gz: 29d9509398e039740dbbcda5ab21276c192e465fac94f4eb725166d09b9759b6f5a46947e29316e7821ddaea8373f39761125ffab51f993a2b65f8e3a5f5358e
7
- data.tar.gz: 3fe51480128815ddfedd6b7442bda0c81a2c1aaae3a863e41829f8a859d181ba54ec450d510b0af5313b70ce4300c2bd161e2bd1bb6a377edb40447d16901cb7
6
+ metadata.gz: f93fe281b957b9a856508db13aa63fa30ccd722a309116b4cd29617c64d039388c353e5c9639345fd7215efa5ceff4a3f4f0fe1d3475b42c1246dffbe90d0270
7
+ data.tar.gz: 0588e00468e1b335856e1af4bb9147004892b7eb8eded4d1eca1468b543154113074cd7a528c5e54eaa326ee8701b05b0d4669b46099eb40f640cb7b5e515923
data/Gemfile.lock CHANGED
@@ -7,7 +7,7 @@ GIT
7
7
  PATH
8
8
  remote: .
9
9
  specs:
10
- da_funk (0.4.15)
10
+ da_funk (0.4.16)
11
11
  bundler (~> 1.7)
12
12
  cloudwalk_handshake (~> 0.4)
13
13
  rake (~> 10.4)
data/RELEASE_NOTES.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # DaFunk
2
2
 
3
+ ### 0.4.16 - 2015-11-27 - Serial and logical_number configuration on rake test
4
+ - Support to serial and logical_number configuration on rake test.
5
+
3
6
  ### 0.4.15 - 2015-11-24 - Screen limitation abstraction
4
7
  - Implement class Screen to replace STDOUT and perform column and line display abstraction on place that doesn’t support screen display by STDOUT.
5
8
 
data/lib/da_funk/test.rb CHANGED
@@ -48,7 +48,7 @@ module DaFunk
48
48
 
49
49
  class Test
50
50
  class << self
51
- attr_accessor :root_path, :libs, :tests
51
+ attr_accessor :root_path, :libs, :tests, :logical_number, :serial
52
52
 
53
53
  if Object.const_defined?(:MTest)
54
54
  include DaFunk::MRuby
@@ -70,7 +70,9 @@ module DaFunk
70
70
  def self.configure
71
71
  yield self if block_given?
72
72
 
73
- @root_path ||= File.dirname("./")
73
+ @root_path ||= File.dirname("./")
74
+ @serial ||= "1111111111"
75
+ @logical_number ||= "00001"
74
76
  if self.cruby?
75
77
  @libs ||= FileList[File.join(root_path, 'lib/**/*.rb')]
76
78
  @tests ||= FileList[File.join(root_path, 'test/**/*test.rb')]
@@ -1,6 +1,6 @@
1
1
 
2
2
  class Device
3
- API_VERSION="0.4.15"
3
+ API_VERSION="0.4.16"
4
4
 
5
5
  def self.api_version
6
6
  Device::API_VERSION
data/out/da_funk.mrb CHANGED
Binary file
@@ -67,8 +67,8 @@ class CommandLinePlatform
67
67
  end
68
68
 
69
69
  class System
70
- def self.serial
71
- "50111541"
70
+ class << self
71
+ attr_accessor :serial
72
72
  end
73
73
 
74
74
  def self.restart
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: da_funk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.15
4
+ version: 0.4.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thiago Scalone
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-24 00:00:00.000000000 Z
11
+ date: 2015-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake