rails_options 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: e0ef2ddbf381db5c9accfec5a6ca700f1782f0bf051819cb52cd4e1eed59b52a
4
- data.tar.gz: 68ef872fbd4d394a240c376d4c1cf1ab3ee09620311baedf12211be60056f160
3
+ metadata.gz: fb52afd115e1fd83470cbcc6debbe7e39a4d10e7d2124c57717cb125c5abc18a
4
+ data.tar.gz: a155ba4831af71189988d8ce3822587f4b7c8d8028e04759db431404358a1603
5
5
  SHA512:
6
- metadata.gz: 2ee6330e396c5a52fa833cc5a3b294a2834f22f8fda5dabeae7d410afd801a52449a16cbf03fbbf6559c2399db07031e6df4b3cb969ef4c5bebac9326f810796
7
- data.tar.gz: f6405d248047bd370f3b1f20c2751ed199b18d1f43d5a194147ce4cce4a3e6d8ed997fe651267984277644160a91dc5a882c934dad2ea3617edea5aa7f441ea0
6
+ metadata.gz: c99be508ce6bc2490dd0cc6e69ea4590b0d1f1b47e2896a2b6c25a994ebd9ce6c36a8e14b4a8fb02be5e8d759a006c9c1a265befae7ca7090317481c31a2e882
7
+ data.tar.gz: cd711407f57ae2f0e2a8f1cf8e81707ed36ab7edf40044c815dc9ab45924d2726647d752b7a76585c6f35ec6129ac074a793ab7199541bda959785be026d1bc6
@@ -0,0 +1,11 @@
1
+ module RailsTaggable
2
+ class InstallGenerator < Rails::Generators::Base
3
+ source_root File.expand_path("templates", __dir__)
4
+
5
+ desc "Configure necessary files to use RailsOptions"
6
+
7
+ def create_migration
8
+ rake "rails_options:install:migrations"
9
+ end
10
+ end
11
+ end
@@ -1,3 +1,3 @@
1
1
  module RailsOptions
2
- VERSION = '0.1.0'
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_options
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - afeiship
@@ -38,8 +38,7 @@ files:
38
38
  - app/models/rails_options/option.rb
39
39
  - config/routes.rb
40
40
  - db/migrate/20220316133202_create_rails_options_options.rb
41
- - lib/generators/install/USAGE
42
- - lib/generators/install/install_generator.rb
41
+ - lib/generators/rails_options/install/install_generator.rb
43
42
  - lib/rails_options.rb
44
43
  - lib/rails_options/engine.rb
45
44
  - lib/rails_options/version.rb
@@ -1,8 +0,0 @@
1
- Description:
2
- Explain the generator
3
-
4
- Example:
5
- bin/rails generate install Thing
6
-
7
- This will create:
8
- what/will/it/create
@@ -1,9 +0,0 @@
1
- class InstallGenerator < Rails::Generators::NamedBase
2
- source_root File.expand_path("templates", __dir__)
3
-
4
- desc "Configure necessary files to use RailsOptions"
5
-
6
- def create_migration
7
- rake "rails_options:install:migrations"
8
- end
9
- end