rarch_news 0.1.0 → 0.2.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 +4 -4
- data/Gemfile +1 -0
- data/config/schedule.rb +20 -0
- data/lib/rarch_news/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f76b9a090d72546a816c298e94b36e7d3f452c75
|
4
|
+
data.tar.gz: 3ab1cc0801c8367c1b9755ab81f8e3a03b0e37f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72db83e039a0922cec47e100a983bbb0d6fde446f3884201a4a9099040a708838d0dfc26f0451cb53dc69dfbca594ab930c5aff0ec97c4aef786ae9dc538ce25
|
7
|
+
data.tar.gz: 9217197de14f98a3b6642e40acf8ee79c3e9d4ff43de1d9905682e1df360625be4d11cc373057b9537994c0ac4cac2ba8091de3e3711f2b990f6d4f5311a6218
|
data/Gemfile
CHANGED
data/config/schedule.rb
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# Use this file to easily define all of your cron jobs.
|
2
|
+
#
|
3
|
+
# It's helpful, but not entirely necessary to understand cron before proceeding.
|
4
|
+
# http://en.wikipedia.org/wiki/Cron
|
5
|
+
|
6
|
+
# Example:
|
7
|
+
#
|
8
|
+
# set :output, "/path/to/my/cron_log.log"
|
9
|
+
#
|
10
|
+
# every 2.hours do
|
11
|
+
# command "/usr/bin/some_great_command"
|
12
|
+
# runner "MyModel.some_method"
|
13
|
+
# rake "some:great:rake:task"
|
14
|
+
# end
|
15
|
+
#
|
16
|
+
every 1.days do
|
17
|
+
command '/usr/bin/rarch_news'
|
18
|
+
end
|
19
|
+
|
20
|
+
# Learn more: http://github.com/javan/whenever
|
data/lib/rarch_news/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rarch_news
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ahmed Khaled
|
@@ -112,6 +112,7 @@ files:
|
|
112
112
|
- Rakefile
|
113
113
|
- bin/console
|
114
114
|
- bin/setup
|
115
|
+
- config/schedule.rb
|
115
116
|
- exe/rarch_news
|
116
117
|
- lib/rarch_news.rb
|
117
118
|
- lib/rarch_news/article.rb
|