mysterious_traveller_test_gem_flex 0.2.8 → 0.2.9
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d29b033e0d7fe1d01cc0f4bd81bbd4304917147
|
4
|
+
data.tar.gz: f5851c31438048d9a1ccd0bc6621036698c5cbda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35929edd4e96eeaf4315dd153ea24bc12c3132619fdad92cdcc2f1ae81574a16bdc3272d7fefc54c2571a8f490543208fceb6c5c2ea59f9b9e54f03d40a11b9f
|
7
|
+
data.tar.gz: 6be4199a94c592b9c4fb62573392f88d802e0d097328c16148b98d96642d6f0a4b671fcd41a47c8bd23652b861d6f40494537552304f7e9f2f67d541120d25eb
|
@@ -1,17 +1,8 @@
|
|
1
|
-
require 'generators/mysterious_traveller_test_gem_flex/generator_helpers'
|
2
|
-
|
3
1
|
module MysteriousTravellerTestGemFlex
|
4
2
|
module Generators
|
5
|
-
# Custom scaffolding generator
|
6
3
|
class ControllerGenerator < Rails::Generators::NamedBase
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
desc "Generates controller, controller_spec and views for the model with the given NAME."
|
11
|
-
source_root File.expand_path('../templates', __FILE__)
|
12
|
-
|
13
|
-
def copy_controller_and_spec_files
|
14
|
-
template "controller.rb", File.join("app/controllers", "coupons_controller.rb")
|
4
|
+
def testing_hello_world
|
5
|
+
puts 'hello world'
|
15
6
|
end
|
16
7
|
end
|
17
8
|
end
|