radiant-status-extension 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 17dae9a519396c9d67c4fa9f41461b7b3734c608
4
+ data.tar.gz: b1fee4a75bcaccef96aa93f2ce13ca1114057eeb
5
+ SHA512:
6
+ metadata.gz: e10c23058665c40edff2b8935b1b718b1715fc8314fa7730f3706d77eb98000dce67d6dd78dfb73e0cef5a50dd16e6f26188bed460fd418fa53f247efb6522ba
7
+ data.tar.gz: f17365765b55a389ad7ff789776feff2f9db4b9f6b9938ec719352c9ab6feb6ff3bc4c5e621bbbae46d13d5693003a7d886eacbf3f81c253659b40c97c2de74e
@@ -0,0 +1,12 @@
1
+ require "bundler/gem_tasks"
2
+
3
+ desc 'Default: run specs.'
4
+ task :default => :spec
5
+
6
+ require 'rspec/core/rake_task'
7
+
8
+ desc "Run specs"
9
+ RSpec::Core::RakeTask.new do |t|
10
+ t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default.
11
+ # Put spec opts in a file named .rspec in root
12
+ end
@@ -0,0 +1,11 @@
1
+ class StatusController < ApplicationController
2
+
3
+ skip_filter filter_chain
4
+
5
+ # A simple health status check
6
+ def index
7
+ Page.first
8
+ Rails.cache.write('status', true)
9
+ head :ok
10
+ end
11
+ end
@@ -0,0 +1,3 @@
1
+ ActionController::Routing::Routes.draw do |map|
2
+ map.connect 'status', controller: 'status', action: 'index'
3
+ end
@@ -0,0 +1,20 @@
1
+ Gem::Specification.new do |spec|
2
+ spec.name = "radiant-status-extension"
3
+ spec.version = '0.1.0'
4
+ spec.authors = ["Michael Noack"]
5
+ spec.email = ["support@travellink.com.au"]
6
+ spec.description = %q{Integrate status for elastic beanstalk}
7
+ spec.summary = %q{Integrate status for elastic beanstalk}
8
+ spec.homepage = 'http://github.com/sealink/radiant-status-extension'
9
+
10
+ spec.license = "MIT"
11
+
12
+ spec.files = `git ls-files`.split($/)
13
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
14
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
15
+ spec.require_paths = ["lib"]
16
+
17
+ spec.add_dependency 'radius'
18
+
19
+ spec.add_development_dependency "bundler", "~> 1.3"
20
+ end
@@ -0,0 +1,13 @@
1
+ # Uncomment this if you reference any of your controllers in activate
2
+ # require_dependency 'application_controller'
3
+ class StatusExtension < Radiant::Extension
4
+ version "1.0"
5
+ description 'This extension is to determine status for elastic beanstalk'
6
+ url ''
7
+
8
+ def activate
9
+ end
10
+
11
+ def deactivate
12
+ end
13
+ end
metadata ADDED
@@ -0,0 +1,77 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: radiant-status-extension
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Michael Noack
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-09-14 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: radius
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ description: Integrate status for elastic beanstalk
42
+ email:
43
+ - support@travellink.com.au
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - Rakefile
49
+ - app/controllers/status_controller.rb
50
+ - config/routes.rb
51
+ - radiant-status-extension.gemspec
52
+ - status_extension.rb
53
+ homepage: http://github.com/sealink/radiant-status-extension
54
+ licenses:
55
+ - MIT
56
+ metadata: {}
57
+ post_install_message:
58
+ rdoc_options: []
59
+ require_paths:
60
+ - lib
61
+ required_ruby_version: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ required_rubygems_version: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ requirements: []
72
+ rubyforge_project:
73
+ rubygems_version: 2.4.8
74
+ signing_key:
75
+ specification_version: 4
76
+ summary: Integrate status for elastic beanstalk
77
+ test_files: []