mushin 0.12.0 → 0.13.0

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: 791ed6577d3d1449a3909a83c6b8908a2034069c
4
- data.tar.gz: 67d81b8451b9fa51bb7565eea0234701ef644481
3
+ metadata.gz: b38f92fc3511d636271ad36e2370db874d240c2d
4
+ data.tar.gz: 9329ab6b57ee48dcc95f93ed4628e86be9abb1ff
5
5
  SHA512:
6
- metadata.gz: 7d4ed1678810aa2faa3906160b968180b7c9df1fa0299a2dd0ef55a952585e6db888fc8500533e0bffad6d1d7f5d8dedd57f19d164cc360f84bf18d6f9774188
7
- data.tar.gz: b5c8762676a8d304babf5b82e94109a00efce457d0d8dc39b5c9fbfde40aebdac006230454412244c088727f520010e4c6d85b17f51d27ab514de06e82503e08
6
+ metadata.gz: ec3f12120a3c5db18418a110d51aaf4893ea9af1963f8b086c4ed6cf95a8f6609d35ea256538ebc3ee631fc52ab29cb1cbdc9ce0ccbe11ee1d3fc75b8a8efa89
7
+ data.tar.gz: 7a9cc7e7fdb270f0b27dde2ebcb91216799acee00b2a1cba8addec116118d3469e9538e0ddec12aa4be21aca68df019e49412ff023530347e0c9afbfee08a971
data/exe/mushin CHANGED
@@ -37,6 +37,13 @@ module Mushin
37
37
 
38
38
  info = set_color(" INFO ", :green, :on_white, :bold)
39
39
  message = " choose if your domain is standalone or nested "
40
+ domain_type = " choose if your domain is standalone or nested "
41
+ case domain_type
42
+ when "standalone"
43
+ when "nested"
44
+ else
45
+ end
46
+
40
47
  puts (info + message)
41
48
 
42
49
  #domain_name = ask(set_color("Domain Name, e.g. 'gamification': ", :bold))
data/lib/mushin/domain.rb CHANGED
@@ -10,7 +10,7 @@ module Mushin
10
10
  subclass.send :include, DSL
11
11
  end
12
12
 
13
- def initialize &block
13
+ def initialize Hash.new, &block
14
14
  $log.info "Domain object #{self} is going to instance_eval"
15
15
  #TODO obj.send("#{prop_name}=", query_value)
16
16
  instance_eval &block
@@ -1,3 +1,3 @@
1
1
  module Mushin
2
- VERSION = "0.12.0"
2
+ VERSION = "0.13.0"
3
3
  end
data/samples/sample1.rb CHANGED
@@ -10,6 +10,7 @@ module Sample
10
10
  env ||= Hash.new
11
11
  env[:shit] = "coool"
12
12
  super
13
+ env[:superman_real_nameA] = "fouad"
13
14
  return env
14
15
  end
15
16
  end
@@ -19,6 +20,7 @@ module Sample
19
20
  env ||= Hash.new
20
21
  env[:nana] = "nana_what"
21
22
  super
23
+ env[:superman_real_nameB] = "where are you now"
22
24
  return env
23
25
  end
24
26
  end
@@ -76,8 +78,9 @@ module Sample
76
78
 
77
79
  end
78
80
 
81
+ p "kil"
79
82
  p domain.torrents
80
- p domain.torrentsB
83
+ p "ok this is the value that i want #{domain.torrentsB}"
81
84
  p "kil"
82
85
 
83
86
  #return domain.query :some_key # query somthing specific from the virtual domain datastore
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mushin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - zotherstupidguy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-02 00:00:00.000000000 Z
11
+ date: 2016-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler