job_status 0.1.0 → 0.1.2

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
  SHA1:
3
- metadata.gz: 37af72829cb512c9afb5f3219acdbca2bfb0de16
4
- data.tar.gz: 23e586a7d4077ff2f080578db7e18fd4ab3b6322
3
+ metadata.gz: faa86031895368a907806319e21723442f2ea5f8
4
+ data.tar.gz: ec5d455c495fc411a7fda28e3766eb7db448b511
5
5
  SHA512:
6
- metadata.gz: 7a9b0936d76c9829b6632edccc3344a73bffbd512b70ba016c491cc46d7da6853ef43d1479f3948d0cecc0fe92339dddfa1520ecd5643c94e4d7fc488cc13be9
7
- data.tar.gz: 71b93c5aa0130bfd66a9ee847605658854e7ee01a4f0ef9df6687e8a826790eaa9b687fc663f48954e2a360f252f04e7c5889f1299d50bf70eabfac471fa87b9
6
+ metadata.gz: 4b3e0b06727a4d14d945c82002b0dd8649703ffd6bf936b744c118aeb62c3fd8df3d4df7c39c84350c35cc875d9e157fbe368ec40e0601ceb6f7c1370d19e86b
7
+ data.tar.gz: c0f6d1734fd48b5996a74dbc918f77664d5c433a661d16f61b3fedeea0c570b009047ec683b2dd1fcd8f4f25a5608696dcd2b9c949261d6f873e30d117902240
data/LICENSE.md ADDED
@@ -0,0 +1,13 @@
1
+ Copyright (c) 2016 Stephen Kapp
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
data/README.md CHANGED
@@ -77,4 +77,8 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
77
77
 
78
78
  ## Contributing
79
79
 
80
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/job_status.
80
+ Bug reports and pull requests are welcome on GitHub at https://github.com/mort666/job_status.
81
+
82
+ ## Copyright
83
+
84
+ Copyright (c) 2016 Stephen Kapp. See LICENSE for details.
@@ -0,0 +1,12 @@
1
+ module JobStatus
2
+ module Generators
3
+ class InstallGenerator < Rails::Generators::Base
4
+ source_root File.expand_path("../templates", __FILE__)
5
+ desc "Creates JobStatus initializer"
6
+
7
+ def copy_initializer
8
+ template "job_status_initializer.rb", "config/initializers/job_status.rb"
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,2 @@
1
+ # Default MemoryStore for the cache to be used for storage for the Job Status data
2
+ JobStatus.store = ActiveSupport::Cache::MemoryStore.new
@@ -3,5 +3,5 @@
3
3
  #
4
4
  module JobStatus
5
5
  # Version Number
6
- VERSION = "0.1.0"
6
+ VERSION = "0.1.2"
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: job_status
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Kapp
@@ -90,12 +90,15 @@ extra_rdoc_files: []
90
90
  files:
91
91
  - ".gitignore"
92
92
  - Gemfile
93
+ - LICENSE.md
93
94
  - README.md
94
95
  - Rakefile
95
96
  - bin/console
96
97
  - bin/setup
97
98
  - circle.yml
98
99
  - job_status.gemspec
100
+ - lib/generators/job_status/job_status_generator.rb
101
+ - lib/generators/job_status/templates/job_status_initializer.rb
99
102
  - lib/job_status.rb
100
103
  - lib/job_status/status.rb
101
104
  - lib/job_status/tracked_job.rb