morse_spec_helpers 0.0.5 → 0.0.6

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: 0df4a44ae8669adb96fcf336e98c7f95f468e17c
4
- data.tar.gz: 408cf2fd5cb840118f87c79dd9e4843fb324393a
3
+ metadata.gz: 992ad78c7642c73e5b174d3cfa7439ff90f2524b
4
+ data.tar.gz: 97d9430d47fcbab8bf0715cd703e384e9cab358e
5
5
  SHA512:
6
- metadata.gz: d18e4ae810d1794ddc14a9bc56644226a25e33bca0d9368e3b00658378f0ae51bed24d2df4a5e9b6b79e90a0bbb12deb4a2895452fc4f51ce0daef6972c63087
7
- data.tar.gz: 011ed9a558965724f470cb01415e56109ab1257b0e7380204b9bdac3b107fd32286dab59e4d6b3533c0e701fa8fb6bd681ce7bb290465f6ea21ef45530047676
6
+ metadata.gz: 255cb99b8f80df741550d2697b11e35b009647caada2205795030cfeef24995528fcb66767761480c4ff859b9118907cacbd262a92077bbf97f5b3e747664d13
7
+ data.tar.gz: d9e940ecce1c977456a262aaecdff8a67f7a61650444af7f04151f3831c74fc88dc23e2ad63878d8180b19af7b059ff8dd2fb8340ca133f17e575f26af77962c
@@ -0,0 +1,11 @@
1
+ class MorseSpecHelpersGenerator < Rails::Generators::Base
2
+ source_root(File.expand_path(File.dirname(__FILE__)))
3
+ def setup_support
4
+ support_dir="#{Rails.root}/spec/support"
5
+ image_dir="#{support_dir}/spec/support/images"
6
+ Dir.mkdir(support_dir) unless Dir.exist?(support_dir)
7
+ Dir.mkdir(image_dir) unless Dir.exist?(image_dir)
8
+ copy_file '../support/project_helpers.rb'."#{support_dir}/project/helpers.rb"
9
+ copy_file '../support/images/placeholder.png'."#{image_dir}/placeholder.png"
10
+ end
11
+ end
@@ -1,6 +1,6 @@
1
- class SupportGenerator < Rails::Generators::Base
1
+ class MorseSpecHelpersGenerator < Rails::Generators::Base
2
2
  source_root(File.expand_path(File.dirname(__FILE__)))
3
- def setup
3
+ def setup_support
4
4
  support_dir="#{Rails.root}/spec/support"
5
5
  image_dir="#{support_dir}/spec/support/images"
6
6
  Dir.mkdir(support_dir) unless Dir.exist?(support_dir)
@@ -1,3 +1,3 @@
1
1
  module MorseSpecHelpers
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: morse_spec_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Terry S
@@ -50,6 +50,7 @@ files:
50
50
  - LICENSE.txt
51
51
  - README.md
52
52
  - Rakefile
53
+ - lib/generators/morse_spec_helpers_generator.rb
53
54
  - lib/generators/support_generator.rb
54
55
  - lib/morse_spec_helpers.rb
55
56
  - lib/morse_spec_helpers/version.rb