grid-plugin-echo 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.
- data/.gitignore +4 -0
- data/Gemfile +4 -0
- data/Rakefile +1 -0
- data/grid-plugin-echo.gemspec +20 -0
- data/lib/grid-plugin-echo/version.rb +7 -0
- data/lib/grid-plugin-echo.rb +12 -0
- metadata +88 -0
data/.gitignore
ADDED
data/Gemfile
ADDED
data/Rakefile
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require 'bundler/gem_tasks'
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
$:.push File.expand_path("../lib", __FILE__)
|
|
2
|
+
require "grid-plugin-echo/version"
|
|
3
|
+
|
|
4
|
+
Gem::Specification.new do |s|
|
|
5
|
+
s.name = "grid-plugin-echo"
|
|
6
|
+
s.version = Grid::Plugin::Echo::VERSION
|
|
7
|
+
s.authors = ["Brian Muller"]
|
|
8
|
+
s.email = ["bamuller@gmail.com"]
|
|
9
|
+
s.homepage = ""
|
|
10
|
+
s.summary = "A simple grid module that loudly uses all of the gridcli hooks."
|
|
11
|
+
s.description = "A simple grid module that loudly uses all of the gridcli hooks."
|
|
12
|
+
|
|
13
|
+
s.rubyforge_project = "grid-plugin-echo"
|
|
14
|
+
|
|
15
|
+
s.files = `git ls-files`.split("\n")
|
|
16
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
17
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
|
18
|
+
s.require_paths = ["lib"]
|
|
19
|
+
s.add_dependency("gridcli", ">= 0.0.5")
|
|
20
|
+
end
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
require "grid-plugin-echo/version"
|
|
2
|
+
|
|
3
|
+
GridCLI.hooker.register(:before_post_creation) { |post|
|
|
4
|
+
puts "[grid-echo] A post is about to be created. It's params are:"
|
|
5
|
+
p post
|
|
6
|
+
post
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
GridCLI.hooker.register(:before_signup) { |username|
|
|
10
|
+
puts "[grid-echo] #{username} is about to sign up!"
|
|
11
|
+
username
|
|
12
|
+
}
|
metadata
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: grid-plugin-echo
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
hash: 29
|
|
5
|
+
prerelease: false
|
|
6
|
+
segments:
|
|
7
|
+
- 0
|
|
8
|
+
- 0
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.0.1
|
|
11
|
+
platform: ruby
|
|
12
|
+
authors:
|
|
13
|
+
- Brian Muller
|
|
14
|
+
autorequire:
|
|
15
|
+
bindir: bin
|
|
16
|
+
cert_chain: []
|
|
17
|
+
|
|
18
|
+
date: 2011-10-08 00:00:00 -04:00
|
|
19
|
+
default_executable:
|
|
20
|
+
dependencies:
|
|
21
|
+
- !ruby/object:Gem::Dependency
|
|
22
|
+
name: gridcli
|
|
23
|
+
prerelease: false
|
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
26
|
+
requirements:
|
|
27
|
+
- - ">="
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
hash: 21
|
|
30
|
+
segments:
|
|
31
|
+
- 0
|
|
32
|
+
- 0
|
|
33
|
+
- 5
|
|
34
|
+
version: 0.0.5
|
|
35
|
+
type: :runtime
|
|
36
|
+
version_requirements: *id001
|
|
37
|
+
description: A simple grid module that loudly uses all of the gridcli hooks.
|
|
38
|
+
email:
|
|
39
|
+
- bamuller@gmail.com
|
|
40
|
+
executables: []
|
|
41
|
+
|
|
42
|
+
extensions: []
|
|
43
|
+
|
|
44
|
+
extra_rdoc_files: []
|
|
45
|
+
|
|
46
|
+
files:
|
|
47
|
+
- .gitignore
|
|
48
|
+
- Gemfile
|
|
49
|
+
- Rakefile
|
|
50
|
+
- grid-plugin-echo.gemspec
|
|
51
|
+
- lib/grid-plugin-echo.rb
|
|
52
|
+
- lib/grid-plugin-echo/version.rb
|
|
53
|
+
has_rdoc: true
|
|
54
|
+
homepage: ""
|
|
55
|
+
licenses: []
|
|
56
|
+
|
|
57
|
+
post_install_message:
|
|
58
|
+
rdoc_options: []
|
|
59
|
+
|
|
60
|
+
require_paths:
|
|
61
|
+
- lib
|
|
62
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
63
|
+
none: false
|
|
64
|
+
requirements:
|
|
65
|
+
- - ">="
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
hash: 3
|
|
68
|
+
segments:
|
|
69
|
+
- 0
|
|
70
|
+
version: "0"
|
|
71
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
72
|
+
none: false
|
|
73
|
+
requirements:
|
|
74
|
+
- - ">="
|
|
75
|
+
- !ruby/object:Gem::Version
|
|
76
|
+
hash: 3
|
|
77
|
+
segments:
|
|
78
|
+
- 0
|
|
79
|
+
version: "0"
|
|
80
|
+
requirements: []
|
|
81
|
+
|
|
82
|
+
rubyforge_project: grid-plugin-echo
|
|
83
|
+
rubygems_version: 1.3.7
|
|
84
|
+
signing_key:
|
|
85
|
+
specification_version: 3
|
|
86
|
+
summary: A simple grid module that loudly uses all of the gridcli hooks.
|
|
87
|
+
test_files: []
|
|
88
|
+
|