jananganamana 0.2.9 → 0.3.0

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: bad5a217d9889e3957de1e288163bb88453d8a0772c3ec684f73fe23e72cdbed
4
+ data.tar.gz: ac65788799606af813ac4683032bc77f1162ac76c521a690d3d1ee223725dfc7
5
5
  SHA512:
6
- metadata.gz: 880373c29790c5fb67a36cc5721a1acdd434272652887c0ee4d47bf7864cf953bb23c2713947dc492d066b805fe2dfcd8574ce5e0f646e01e35035787b4c94ea
7
- data.tar.gz: 25d996f557c6650a86640774148a18183f58c95586df8b33c35e7aa7524f1411aee21f0af92b72ccd8f5057d8778da0f7f7dfec62b93011b07d6da8cd9170bf4
6
+ metadata.gz: 3eea73d460323cb9200ab65ed98ede5a481f7191ca4e65a5140b3a75663ab5126038ccdbd4b9a52fd9308d72cf9a00092975d0c518dae3c88ebc0cf705a095d6
7
+ data.tar.gz: cd1f7e49ad35d70a9dfb91e93cab5ef0efe86fbe90a6b97f63fa4f4531e1275e14411fc6db38d394383772f3b00b688d24da25cb46d5ef19e8c2b021d4003008
@@ -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.0"
5
5
  end
data/lib/jananganamana.rb CHANGED
@@ -11,9 +11,11 @@ module Jananganamana
11
11
  # puts "ganesh"
12
12
  # end
13
13
  # end
14
- class User1 #< ApplicationRecord
14
+ class User1 include ActiveModel::Model #< 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.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Durga Satyanarayana