session_gem 0.1.2 → 0.1.3

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
  SHA256:
3
- metadata.gz: edc87181c16caa5ab403c0531a01961187cecdb188539fb9aaf810b675146e4f
4
- data.tar.gz: 910690b2c7764c9affbc602b8ac29f95bb0fd7336fb61a1ab043bd3d7cfb5a4f
3
+ metadata.gz: bd24423c8fb0b62a4216bc29bff7f812657a9cb10bae453bc198acdec78f082c
4
+ data.tar.gz: bf6e5fb50e75e9a33ba5af6c4be4e2e9a56a195e558049b7627cf0d5f024abb5
5
5
  SHA512:
6
- metadata.gz: efee822f99af276e7d45e02d7af6fa98a9f0ce353e37d220c867899881369e170e850749d048127932ba611bf9ebcd92094afb20230e590801e5352bb6180683
7
- data.tar.gz: 2383e05a3244c3323d7f70ac81fd6df24d5ee72ef0bd400f1b5bb6cb49069bc761eb0ce0b120aa711c3bacdae23c99546cbeaaef425be21f594770ded151ff90
6
+ metadata.gz: bc46ce0fa0e869fa2ce550f39c9cc0b22de54009ea97aa835a46b45d6294596bb7cfc13905febc3f97618f61487fb76d241708ff2ef76b20f0440cc4a250b317
7
+ data.tar.gz: b2890ddbef9aac646804a5a7cfeac54e991dc14864416caa66101f067a6461721c6941816dc7d91d2023dc0ac1714a9a3d9ef1cf64fa31de8b69fd1d41e73111
@@ -0,0 +1,10 @@
1
+ require 'rails/generators'
2
+
3
+ module SessionGem
4
+ module Generators
5
+ class SessionGemGenerator < Rails::Generators::Base
6
+ namespace 'session_gem'
7
+ source_root File.expand_path('templates', __dir__)
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,11 @@
1
+ module SessionGem
2
+ module Generators
3
+ class SessionGemMigrationGenerator < Rails::Generators::MigrationGenerator
4
+ source_root File.expand_path('templates', __dir__)
5
+
6
+ def create_migration_file
7
+ migration_template 'migration.rb', 'db/migrate/session_gem_migration.rb'
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ class CreateSessionGemSessions < ActiveRecord::Migration[7.0]
2
+ def change
3
+ create_table :session_gem_sessions do |t|
4
+ t.string :topic
5
+ t.string :description
6
+ t.integer :user_id
7
+
8
+ t.timestamps
9
+ end
10
+ end
11
+ end
@@ -1,3 +1,3 @@
1
1
  module SessionGem
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: session_gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ShravanEssence
@@ -61,6 +61,9 @@ files:
61
61
  - config/routes.rb
62
62
  - config/storage.yml
63
63
  - db/migrate/20230524061415_create_session_gem_sessions.rb
64
+ - lib/generators/session_gem.rb
65
+ - lib/generators/session_gem_migration_generator.rb
66
+ - lib/generators/templates/migration.rb
64
67
  - lib/session_gem.rb
65
68
  - lib/session_gem/engine.rb
66
69
  - lib/session_gem/version.rb