jananganamana 0.2.8 → 0.3.0

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: 713b93b039c2292b47032e0da625af0fe6312443c7b6f543e771b942f6a24e79
4
- data.tar.gz: ea20175d8b3fa8037e18b81f24a9023614530dc8cb8f34d0a27110a9b9f0f3cf
3
+ metadata.gz: bad5a217d9889e3957de1e288163bb88453d8a0772c3ec684f73fe23e72cdbed
4
+ data.tar.gz: ac65788799606af813ac4683032bc77f1162ac76c521a690d3d1ee223725dfc7
5
5
  SHA512:
6
- metadata.gz: 822272eac7b8a3c3ff0edfcdecba45bcd1a38c4e8206aee19341b00743aa120c64dc493c3ccdaff48362d20cad9ab65390c15b3e7892469febb232fe55fa8ff4
7
- data.tar.gz: c081dfece89877765e20a007458f4bbaed3bdff49b39b864281b2036270c9dfb47a42588ce4c9b32ed88507d00410a33e5adce85c1dacd49f5e23fb204da73fd
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.8"
4
+ VERSION = "0.3.0"
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 "ApplicationRecord"
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
15
- belongs_to :user
16
- validates :name,presence:true
17
- validates :email,presence:true
14
+ class User1 include ActiveModel::Model #< ApplicationRecord
15
+ # belongs_to :user
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.8
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Durga Satyanarayana