mushin 0.27.0 → 0.28.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 +4 -4
- data/exe/generator.rb +2 -2
- data/exe/mushin +12 -10
- data/lib/mushin/version.rb +1 -1
- data/showcases/torrents_showcase/README.md +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ec46cc552da76c1e93c664f5723bcb48ca7e087
|
4
|
+
data.tar.gz: a485d4742049cb4be62e1e171c188a159fe96d7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd38b77a4756d5f169b406ced9acfc86e3e9be83d6ffbf5da98622d95544b63073ac303c6a3fed65dac5cc05d446b6d0fdcff6c8c5b3a3c764b051e23eb76adc
|
7
|
+
data.tar.gz: 30e681d86b603d3ef91025fabe8dd4e0160f2e7ee68776b43467af42fa3b15f7c8ab3f0268e8f1e0fc2c50810b0401df6d8fe3f3be8738b1256fb100782fdcfe
|
data/exe/generator.rb
CHANGED
@@ -35,7 +35,7 @@ module Mushin
|
|
35
35
|
file = "#{name.to_s}/lib/#{name.to_s}.rb"
|
36
36
|
@require_gem = <<-FOO
|
37
37
|
require 'mushin'
|
38
|
-
|
38
|
+
require_relative '#{name}/version'
|
39
39
|
FOO
|
40
40
|
gsub_file file, /^.*\b(version)\b.*$/ do |match|
|
41
41
|
match = @require_gem
|
@@ -114,7 +114,7 @@ end
|
|
114
114
|
|
115
115
|
@require_gem = <<-FOO
|
116
116
|
require 'mushin'
|
117
|
-
|
117
|
+
require_relative '#{name}/version'
|
118
118
|
FOO
|
119
119
|
gsub_file file, /^.*\b(version)\b.*$/ do |match|
|
120
120
|
match = @require_gem
|
data/exe/mushin
CHANGED
@@ -39,11 +39,12 @@ module Mushin
|
|
39
39
|
message = " Generating a Mushin Domain-specific Framework Wizard! "
|
40
40
|
puts (info + message)
|
41
41
|
|
42
|
-
dsf_name = ask(set_color("Mushin Domain-specific Framework Name : ", :bold))
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
42
|
+
dsf_name = ask(set_color("Mushin Domain-specific Framework Name : ", :bold)) #.downcase
|
43
|
+
dsf_name = "Mushin::" + dsf_name
|
44
|
+
dsf_summary = ask(set_color("Mushin Domain-specific Framework Summary : ", :bold)) #.downcase
|
45
|
+
dsf_description = ask(set_color("Mushin Domain-specific Framework Description : ", :bold)) #.downcase
|
46
|
+
dsf_homepage = ask(set_color("Mushin Domain-specific Framework Homepage : ", :bold)) #.downcase
|
47
|
+
dsf_license = ask(set_color("Mushin Domain-specific Framework License : ", :bold)) #.downcase
|
47
48
|
|
48
49
|
seprator
|
49
50
|
Mushin::Generator.new.generate_dsf name: dsf_name, summary: dsf_summary, description: dsf_description, homepage: dsf_homepage, license: dsf_license
|
@@ -53,11 +54,12 @@ module Mushin
|
|
53
54
|
message = " Generating a Mushin Extension Wizard! "
|
54
55
|
puts (info + message)
|
55
56
|
|
56
|
-
ext_name = ask(set_color("Mushin Extension Name : ", :bold))
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
57
|
+
ext_name = ask(set_color("Mushin Extension Name : ", :bold)) #.downcase
|
58
|
+
ext_name = "Mushin::" + ext_name
|
59
|
+
ext_summary = ask(set_color("Mushin Extension Summary : ", :bold)) #.downcase
|
60
|
+
ext_description = ask(set_color("Mushin Extension Description : ", :bold)) #.downcase
|
61
|
+
ext_homepage = ask(set_color("Mushin Extension Homepage : ", :bold)) #.downcase
|
62
|
+
ext_license = ask(set_color("Mushin Extension License : ", :bold)) #.downcase
|
61
63
|
|
62
64
|
seprator
|
63
65
|
Mushin::Generator.new.generate_ext name: ext_name, summary: ext_summary, description: ext_description, homepage: ext_homepage, license: ext_license
|
data/lib/mushin/version.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
This directory contains:
|
2
2
|
|
3
|
-
-
|
4
|
-
- TPB: a sample built-in mushin extenstion for
|
5
|
-
- RUTracker: a sample standalone mushin extenstion for
|
6
|
-
- SampleApp: a sample application using
|
3
|
+
- ztorrents: a sample mushin domain-specific framework for searching torrent websites
|
4
|
+
- TPB: a sample built-in mushin extenstion for to search ThePirateBay
|
5
|
+
- RUTracker: a sample standalone mushin extenstion for ztorrents
|
6
|
+
- SampleApp: a sample application using ztorrents framework
|