grid-plugin-updater 0.0.1

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.
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in grid-plugin-updater.gemspec
4
+ gemspec
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
data/TODO ADDED
@@ -0,0 +1,2 @@
1
+ * Cron instructions
2
+ * Detect Mac OS and only show launchd instructions then
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>Label</key>
6
+ <string>com.grid.updater</string>
7
+ <key>ProgramArguments</key>
8
+ <array>
9
+ <string>grid</string>
10
+ <string>update</string>
11
+ </array>
12
+ <key>StartInterval</key>
13
+ <integer>300</integer>
14
+ </dict>
15
+ </plist>
@@ -0,0 +1,27 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "grid-plugin-updater/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "grid-plugin-updater"
7
+ s.version = Grid::Plugin::Updater::VERSION
8
+ s.authors = ["myobie"]
9
+ s.email = ["nathan@myobie.com"]
10
+ s.homepage = ""
11
+ s.summary = %q{Update grid every 5 minutes}
12
+ s.description = %q{Keeping your grids updated}
13
+
14
+ s.rubyforge_project = "grid-plugin-updater"
15
+
16
+ s.post_install_message = "* To have grid update every 5 minutes, load this plist into launchd:
17
+ launchctl load -w #{File.expand_path(File.dirname(__FILE__))}/data/com.grid.updater.plist"
18
+
19
+ s.files = `git ls-files`.split("\n")
20
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
21
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
22
+ s.require_paths = ["lib"]
23
+
24
+ # specify any dependencies here; for example:
25
+ # s.add_development_dependency "rspec"
26
+ s.add_runtime_dependency "gridcli"
27
+ end
@@ -0,0 +1,8 @@
1
+ require "grid-plugin-updater/version"
2
+
3
+ module Grid
4
+ module Plugin
5
+ module Updater
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,7 @@
1
+ module Grid
2
+ module Plugin
3
+ module Updater
4
+ VERSION = "0.0.1"
5
+ end
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,65 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: grid-plugin-updater
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - myobie
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-10-31 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: gridcli
16
+ requirement: &70332129945880 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70332129945880
25
+ description: Keeping your grids updated
26
+ email:
27
+ - nathan@myobie.com
28
+ executables: []
29
+ extensions: []
30
+ extra_rdoc_files: []
31
+ files:
32
+ - .gitignore
33
+ - Gemfile
34
+ - Rakefile
35
+ - TODO
36
+ - data/com.grid.updater.plist
37
+ - grid-plugin-updater.gemspec
38
+ - lib/grid-plugin-updater.rb
39
+ - lib/grid-plugin-updater/version.rb
40
+ homepage: ''
41
+ licenses: []
42
+ post_install_message: ! "* To have grid update every 5 minutes, load this plist into
43
+ launchd:\n launchctl load -w /Volumes/Work/grid-plugin-updater/data/com.grid.updater.plist"
44
+ rdoc_options: []
45
+ require_paths:
46
+ - lib
47
+ required_ruby_version: !ruby/object:Gem::Requirement
48
+ none: false
49
+ requirements:
50
+ - - ! '>='
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ required_rubygems_version: !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ! '>='
57
+ - !ruby/object:Gem::Version
58
+ version: '0'
59
+ requirements: []
60
+ rubyforge_project: grid-plugin-updater
61
+ rubygems_version: 1.8.6
62
+ signing_key:
63
+ specification_version: 3
64
+ summary: Update grid every 5 minutes
65
+ test_files: []