jananganamana 0.2.9 → 0.3.1

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: 7fe479169e602196d6b6141d7328a4dd947c42a8d88dd1c7bbeaf1e1861ac7a5
4
- data.tar.gz: 0a3f677b184fa3280ccb9a09f873294edd09495383b4014284fa398a0108df1c
3
+ metadata.gz: 5adb01fe677d7ba0da1a2856b17a1f7bcf13bb19cacd69d80ee44c2c95da16ee
4
+ data.tar.gz: 5a74ddd2e463f84012d224e296bd4c7f8a36fd096d6c79af98026325746bf8b5
5
5
  SHA512:
6
- metadata.gz: 880373c29790c5fb67a36cc5721a1acdd434272652887c0ee4d47bf7864cf953bb23c2713947dc492d066b805fe2dfcd8574ce5e0f646e01e35035787b4c94ea
7
- data.tar.gz: 25d996f557c6650a86640774148a18183f58c95586df8b33c35e7aa7524f1411aee21f0af92b72ccd8f5057d8778da0f7f7dfec62b93011b07d6da8cd9170bf4
6
+ metadata.gz: 5be03252d0293a14ff6344cc0ea2fae80d1e6ade7ad04f5310d97962b0ccdb0dbc7de1eb1810ad7f11498ec1a7d68b951192c33f824b497abc01fc4b5adbf5db
7
+ data.tar.gz: dbeb7d3a7e2b5bd5ac65e800638f06386a0f8e06cc2b289d02f9f50384a662922ca6647494a9944f4003913d1db572bd6ebfee7f6fac3e349a5ea6c4f1bbda0b
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Jananganamana
4
- VERSION = "0.2.9"
4
+ VERSION = "0.3.1"
5
5
  end
data/lib/jananganamana.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require_relative "jananganamana/version"
4
- # require "application_record"
4
+ require "application_record"
5
5
  module Jananganamana
6
6
  class Error < StandardError; end
7
7
  # Your code goes here...
@@ -11,9 +11,11 @@ module Jananganamana
11
11
  # puts "ganesh"
12
12
  # end
13
13
  # end
14
- class User1 #< ApplicationRecord
14
+ class User1 < ApplicationRecord
15
15
  # belongs_to :user
16
- validates :name,presence:true
17
- validates :email,presence:true
16
+ # validates :name,presence:true
17
+ # validates :email,presence:true
18
+ # attr_accessor :name, :age
19
+ validates_presence_of :name
18
20
  end
19
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jananganamana
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Durga Satyanarayana