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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 384d48403fabeec4700a0a593705d35e8be09cea
4
- data.tar.gz: 84cc74f2692dad452a3c1be011cd3ab8a95090cb
3
+ metadata.gz: 2ec46cc552da76c1e93c664f5723bcb48ca7e087
4
+ data.tar.gz: a485d4742049cb4be62e1e171c188a159fe96d7d
5
5
  SHA512:
6
- metadata.gz: db58e6771102b01dc632d06213e20d7413314bd7ca524f5678a353c8711bb1a430f65d436118fc97bc3200948b8eb24668fcf7eac336684c2b6ee1adc2d9fbb0
7
- data.tar.gz: 83cd79c229d3911615050e9d57dc7dca4d79c941be4c23bcf5f113c9307bf5a078a3115a3d2632c473135145bd26847347f9ad10223246c720c0847cedf032c0
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
- require '#{name}/version'
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
- require '#{name}/version'
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)).downcase
43
- dsf_summary = ask(set_color("Mushin Domain-specific Framework Summary : ", :bold)).downcase
44
- dsf_description = ask(set_color("Mushin Domain-specific Framework Description : ", :bold)).downcase
45
- dsf_homepage = ask(set_color("Mushin Domain-specific Framework Homepage : ", :bold)).downcase
46
- dsf_license = ask(set_color("Mushin Domain-specific Framework License : ", :bold)).downcase
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)).downcase
57
- ext_summary = ask(set_color("Mushin Extension Summary : ", :bold)).downcase
58
- ext_description = ask(set_color("Mushin Extension Description : ", :bold)).downcase
59
- ext_homepage = ask(set_color("Mushin Extension Homepage : ", :bold)).downcase
60
- ext_license = ask(set_color("Mushin Extension License : ", :bold)).downcase
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
@@ -1,3 +1,3 @@
1
1
  module Mushin
2
- VERSION = "0.27.0"
2
+ VERSION = "0.28.0"
3
3
  end
@@ -1,6 +1,6 @@
1
1
  This directory contains:
2
2
 
3
- - FetchTorrentz: a sample mushin domain-specific framework for searching torrent websites
4
- - TPB: a sample built-in mushin extenstion for FetchTorrentz to search ThePirateBay
5
- - RUTracker: a sample standalone mushin extenstion for FetchTorrentz
6
- - SampleApp: a sample application using FetchTorrentz framework
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mushin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - zotherstupidguy