not_helpers 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/not_helpers/version.rb +1 -1
- data/lib/not_helpers.rb +17 -4
- metadata +2 -14
- data/app/assets/config/not_helpers_manifest.js +0 -1
- data/app/assets/stylesheets/not_helpers/application.css +0 -15
- data/app/controllers/not_helpers/application_controller.rb +0 -4
- data/app/helpers/not_helpers/application_helper.rb +0 -4
- data/app/jobs/not_helpers/application_job.rb +0 -4
- data/app/mailers/not_helpers/application_mailer.rb +0 -6
- data/app/models/not_helpers/application_record.rb +0 -5
- data/app/views/layouts/not_helpers/application.html.erb +0 -15
- data/config/initializers/super_helpful.rb +0 -17
- data/config/routes.rb +0 -2
- data/lib/not_helpers/engine.rb +0 -5
- data/lib/tasks/not_helpers_tasks.rake +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae75c3c427ee6a1e6bcce103053b48cb8fa216b56c465bcb31123fde5c231052
|
4
|
+
data.tar.gz: 8f5f222be429613ce2d9c523b66e72a484e8ce888ba8ea0448deb93c72c51f8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: acb0ab1219b207c4b72acc72c24ef211d36047010b3149e849eaf1e009e1008a8e1f8a9117a255a80403043c50f128732b4090d32b5198e37dcd6df66de6b734
|
7
|
+
data.tar.gz: 67bfc02d07f9b932a62ca64999e5c8243f3700df9d5f505140fd4fe460eb8ade13f5dfe7759d29556029caaf7b1421668fe7e82d94686939540b134858147527
|
data/lib/not_helpers/version.rb
CHANGED
data/lib/not_helpers.rb
CHANGED
@@ -1,6 +1,19 @@
|
|
1
|
-
require
|
2
|
-
require "not_helpers/engine"
|
1
|
+
require 'not_helpers/version'
|
3
2
|
|
4
|
-
|
5
|
-
|
3
|
+
class Object
|
4
|
+
def not_nil?
|
5
|
+
!nil?
|
6
|
+
end
|
7
|
+
|
8
|
+
def not_blank?
|
9
|
+
!blank?
|
10
|
+
end
|
11
|
+
|
12
|
+
def not_empty?
|
13
|
+
!empty?
|
14
|
+
end
|
15
|
+
|
16
|
+
def not_present?
|
17
|
+
!present?
|
18
|
+
end
|
6
19
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: not_helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leo Policastro
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08-
|
11
|
+
date: 2021-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -41,20 +41,8 @@ files:
|
|
41
41
|
- MIT-LICENSE
|
42
42
|
- README.md
|
43
43
|
- Rakefile
|
44
|
-
- app/assets/config/not_helpers_manifest.js
|
45
|
-
- app/assets/stylesheets/not_helpers/application.css
|
46
|
-
- app/controllers/not_helpers/application_controller.rb
|
47
|
-
- app/helpers/not_helpers/application_helper.rb
|
48
|
-
- app/jobs/not_helpers/application_job.rb
|
49
|
-
- app/mailers/not_helpers/application_mailer.rb
|
50
|
-
- app/models/not_helpers/application_record.rb
|
51
|
-
- app/views/layouts/not_helpers/application.html.erb
|
52
|
-
- config/initializers/super_helpful.rb
|
53
|
-
- config/routes.rb
|
54
44
|
- lib/not_helpers.rb
|
55
|
-
- lib/not_helpers/engine.rb
|
56
45
|
- lib/not_helpers/version.rb
|
57
|
-
- lib/tasks/not_helpers_tasks.rake
|
58
46
|
homepage: https://github.com/leopolicastro/not_helpers
|
59
47
|
licenses:
|
60
48
|
- MIT
|
@@ -1 +0,0 @@
|
|
1
|
-
//= link_directory ../stylesheets/not_helpers .css
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
-
* listed below.
|
4
|
-
*
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
-
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
|
-
*
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
-
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
|
10
|
-
* files in this directory. Styles in this file should be added after the last require_* statement.
|
11
|
-
* It is generally better to create a new file per style scope.
|
12
|
-
*
|
13
|
-
*= require_tree .
|
14
|
-
*= require_self
|
15
|
-
*/
|
data/config/routes.rb
DELETED
data/lib/not_helpers/engine.rb
DELETED