is_published 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/CHANGELOG.md +7 -0
- data/Gemfile.lock +1 -1
- data/README.md +6 -5
- data/is_published.gemspec +2 -2
- data/lib/is_published/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a19de810fed315d96c0bab71b45d4040cc117fdd718c81f5a1e85a8c94d971d
|
4
|
+
data.tar.gz: b1198cd1dc86c45b9e48c77c437f9f180365e03bfd99794d68d3f867384f0f9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5eab8e3e239c2f5f06f3619ebc90814901cd9be2a9e490ce44617a417ba5a5cc3a3ac9a6d34d0decac36cc007232810523dd52f9f382c52bf2439f49a2b68fa4
|
7
|
+
data.tar.gz: cfa2e0fc0d819ef1a510ccc7865a493cad546fce815c6015e4c26311488919a9db727adbe6e69bae2c50ce285cc688f4f2d4094570689ad94f032800eaf70a8f
|
data/CHANGELOG.md
ADDED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,21 +1,22 @@
|
|
1
1
|
# IsPublished
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
Simple RubyGem which adds scope .published to any rails model you want!
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
9
7
|
Add this line to your application's Gemfile:
|
10
8
|
|
11
9
|
```ruby
|
12
|
-
gem 'is_published'
|
10
|
+
gem 'is_published'
|
13
11
|
```
|
14
12
|
|
15
13
|
And then execute:
|
16
14
|
|
17
15
|
$ bundle
|
18
16
|
|
17
|
+
Or install it manually on local machine
|
18
|
+
|
19
|
+
$ gem install is_published
|
19
20
|
|
20
21
|
## Usage
|
21
22
|
Before all, class you want to extend with this gem, needs to have column 'published' in the database.
|
@@ -66,7 +67,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
66
67
|
|
67
68
|
## Contributing
|
68
69
|
|
69
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
70
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/Eviath/is_published. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
70
71
|
|
71
72
|
## License
|
72
73
|
|
data/is_published.gemspec
CHANGED
@@ -10,10 +10,10 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["eviathos@gmail.com"]
|
11
11
|
|
12
12
|
spec.summary = "is_published rubygem adds .published scope to ruby class"
|
13
|
-
spec.description = "is_published rubygem adds .published scope to ruby class,
|
13
|
+
spec.description = "is_published rubygem adds .published scope to ruby class, more information about gem installation/usage in Github Homepage"
|
14
14
|
spec.homepage = "https://github.com/Eviath/is_published.git"
|
15
15
|
spec.license = "MIT"
|
16
|
-
|
16
|
+
|
17
17
|
|
18
18
|
# Specify which files should be added to the gem when it is released.
|
19
19
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
data/lib/is_published/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: is_published
|
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
|
- Jacek Kowalski
|
@@ -80,7 +80,8 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '3.2'
|
83
|
-
description: is_published rubygem adds .published scope to ruby class,
|
83
|
+
description: is_published rubygem adds .published scope to ruby class, more information
|
84
|
+
about gem installation/usage in Github Homepage
|
84
85
|
email:
|
85
86
|
- eviathos@gmail.com
|
86
87
|
executables: []
|
@@ -90,6 +91,7 @@ files:
|
|
90
91
|
- ".gitignore"
|
91
92
|
- ".rspec"
|
92
93
|
- ".travis.yml"
|
94
|
+
- CHANGELOG.md
|
93
95
|
- CODE_OF_CONDUCT.md
|
94
96
|
- Gemfile
|
95
97
|
- Gemfile.lock
|