tengine_rails_plugin 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/Gemfile ADDED
@@ -0,0 +1,17 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Declare your gem's dependencies in tengine_rails_plugin.gemspec.
4
+ # Bundler will treat runtime dependencies like base dependencies, and
5
+ # development dependencies will be added by default to the :development group.
6
+ gemspec
7
+
8
+ # jquery-rails is used by the dummy application
9
+ gem "jquery-rails"
10
+
11
+ # Declare any dependencies that are still in development here instead of in
12
+ # your gemspec. These might include edge Rails or gems from your path or
13
+ # Git. Remember to move these dependencies to your gemspec before releasing
14
+ # your gem to rubygems.org.
15
+
16
+ # To use debugger
17
+ # gem 'debugger'
data/Gemfile.lock ADDED
@@ -0,0 +1,120 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ tengine_rails_plugin (0.0.1)
5
+ rails (~> 3.2.8)
6
+ tengine_event (~> 0.4.0)
7
+ tengine_support (~> 0.3.27)
8
+
9
+ GEM
10
+ remote: http://rubygems.org/
11
+ specs:
12
+ actionmailer (3.2.8)
13
+ actionpack (= 3.2.8)
14
+ mail (~> 2.4.4)
15
+ actionpack (3.2.8)
16
+ activemodel (= 3.2.8)
17
+ activesupport (= 3.2.8)
18
+ builder (~> 3.0.0)
19
+ erubis (~> 2.7.0)
20
+ journey (~> 1.0.4)
21
+ rack (~> 1.4.0)
22
+ rack-cache (~> 1.2)
23
+ rack-test (~> 0.6.1)
24
+ sprockets (~> 2.1.3)
25
+ activemodel (3.2.8)
26
+ activesupport (= 3.2.8)
27
+ builder (~> 3.0.0)
28
+ activerecord (3.2.8)
29
+ activemodel (= 3.2.8)
30
+ activesupport (= 3.2.8)
31
+ arel (~> 3.0.2)
32
+ tzinfo (~> 0.3.29)
33
+ activeresource (3.2.8)
34
+ activemodel (= 3.2.8)
35
+ activesupport (= 3.2.8)
36
+ activesupport (3.2.8)
37
+ i18n (~> 0.6)
38
+ multi_json (~> 1.0)
39
+ amq-client (0.8.7)
40
+ amq-protocol (>= 0.8.4)
41
+ eventmachine
42
+ amq-protocol (0.8.4)
43
+ amqp (0.8.4)
44
+ amq-client (~> 0.8.7)
45
+ amq-protocol (~> 0.8.4)
46
+ eventmachine
47
+ arel (3.0.2)
48
+ builder (3.0.0)
49
+ erubis (2.7.0)
50
+ eventmachine (0.12.10)
51
+ hike (1.2.1)
52
+ i18n (0.6.0)
53
+ journey (1.0.4)
54
+ jquery-rails (2.1.1)
55
+ railties (>= 3.1.0, < 5.0)
56
+ thor (~> 0.14)
57
+ json (1.7.5)
58
+ macaddr (1.6.1)
59
+ systemu (~> 2.5.0)
60
+ mail (2.4.4)
61
+ i18n (>= 0.4.0)
62
+ mime-types (~> 1.16)
63
+ treetop (~> 1.4.8)
64
+ mime-types (1.19)
65
+ multi_json (1.3.6)
66
+ polyglot (0.3.3)
67
+ rack (1.4.1)
68
+ rack-cache (1.2)
69
+ rack (>= 0.4)
70
+ rack-ssl (1.3.2)
71
+ rack
72
+ rack-test (0.6.1)
73
+ rack (>= 1.0)
74
+ rails (3.2.8)
75
+ actionmailer (= 3.2.8)
76
+ actionpack (= 3.2.8)
77
+ activerecord (= 3.2.8)
78
+ activeresource (= 3.2.8)
79
+ activesupport (= 3.2.8)
80
+ bundler (~> 1.0)
81
+ railties (= 3.2.8)
82
+ railties (3.2.8)
83
+ actionpack (= 3.2.8)
84
+ activesupport (= 3.2.8)
85
+ rack-ssl (~> 1.3.2)
86
+ rake (>= 0.8.7)
87
+ rdoc (~> 3.4)
88
+ thor (>= 0.14.6, < 2.0)
89
+ rake (0.9.2.2)
90
+ rdoc (3.12)
91
+ json (~> 1.4)
92
+ sprockets (2.1.3)
93
+ hike (~> 1.2)
94
+ rack (~> 1.0)
95
+ tilt (~> 1.1, != 1.3.0)
96
+ sqlite3 (1.3.6)
97
+ systemu (2.5.2)
98
+ tengine_event (0.4.9)
99
+ activesupport (>= 3.0.0)
100
+ amqp (~> 0.8.0)
101
+ tengine_support (>= 0.3.27)
102
+ uuid (~> 2.3.4)
103
+ tengine_support (0.3.27)
104
+ activesupport (>= 3.0.0)
105
+ thor (0.16.0)
106
+ tilt (1.3.3)
107
+ treetop (1.4.10)
108
+ polyglot
109
+ polyglot (>= 0.3.1)
110
+ tzinfo (0.3.33)
111
+ uuid (2.3.5)
112
+ macaddr (~> 1.0)
113
+
114
+ PLATFORMS
115
+ ruby
116
+
117
+ DEPENDENCIES
118
+ jquery-rails
119
+ sqlite3
120
+ tengine_rails_plugin!
data/README.rdoc ADDED
@@ -0,0 +1,9 @@
1
+ # tengine_rails_plugin
2
+ tengine_rails_plugin supports the use of tengine in Rails application.
3
+
4
+ ## License
5
+ tengine_event is distributed under the MPL2.0 or LGPLv3 or the dual license of MPL2.0/LGPLv3
6
+
7
+ ## Copyright
8
+
9
+ Copyright (c) 2012 Groovenauts, Inc.
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :tengine_rails_plugin do
3
+ # # Task goes here
4
+ # end
@@ -0,0 +1,3 @@
1
+ module TengineRailsPlugin
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,26 @@
1
+ require 'rails'
2
+
3
+ module TengineRailsPlugin
4
+ class Railtie < Rails::Railtie
5
+ def expandpath app, str
6
+ app.paths["config"].expanded.each do |d|
7
+ yml = File.expand_path(str, d)
8
+ if File.exist?(yml)
9
+ yield yml
10
+ else
11
+ str = "#{yml} not found, write one please."
12
+ Rails.logger.error(str)
13
+ STDERR.puts(str) if STDERR.isatty
14
+ end
15
+ end
16
+ end
17
+
18
+ initializer "newplugin.initialize" do |app|
19
+ require 'tengine_event'
20
+ require 'tengine/support/yaml_with_erb'
21
+ expandpath app, "event_sender.yml" do |yml|
22
+ Tengine::Event.config = YAML.load_file(yml)
23
+ end
24
+ end
25
+ end
26
+ end
metadata ADDED
@@ -0,0 +1,100 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tengine_rails_plugin
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - taigou
9
+ - totty
10
+ - g-morita
11
+ - shyouhei
12
+ - akm
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+ date: 2012-10-09 00:00:00.000000000 Z
17
+ dependencies:
18
+ - !ruby/object:Gem::Dependency
19
+ name: rails
20
+ requirement: &70175160393640 !ruby/object:Gem::Requirement
21
+ none: false
22
+ requirements:
23
+ - - ~>
24
+ - !ruby/object:Gem::Version
25
+ version: 3.2.8
26
+ type: :runtime
27
+ prerelease: false
28
+ version_requirements: *70175160393640
29
+ - !ruby/object:Gem::Dependency
30
+ name: tengine_event
31
+ requirement: &70175160392600 !ruby/object:Gem::Requirement
32
+ none: false
33
+ requirements:
34
+ - - ~>
35
+ - !ruby/object:Gem::Version
36
+ version: 0.4.0
37
+ type: :runtime
38
+ prerelease: false
39
+ version_requirements: *70175160392600
40
+ - !ruby/object:Gem::Dependency
41
+ name: tengine_support
42
+ requirement: &70175160391720 !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: 0.3.27
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: *70175160391720
51
+ - !ruby/object:Gem::Dependency
52
+ name: sqlite3
53
+ requirement: &70175160390860 !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ! '>='
57
+ - !ruby/object:Gem::Version
58
+ version: '0'
59
+ type: :development
60
+ prerelease: false
61
+ version_requirements: *70175160390860
62
+ description: tengine_rails_plugin supports the use of tengine in Rails application.
63
+ email: tengine-info@groovenauts.jp
64
+ executables: []
65
+ extensions: []
66
+ extra_rdoc_files: []
67
+ files:
68
+ - lib/tasks/tengine_rails_plugin_tasks.rake
69
+ - lib/tengine_rails_plugin/version.rb
70
+ - lib/tengine_rails_plugin.rb
71
+ - Gemfile
72
+ - Gemfile.lock
73
+ - README.rdoc
74
+ homepage: https://github.com/tengine/tengine/tree/develop/tengine_rails_plugin
75
+ licenses:
76
+ - MPL2.0/LGPLv3
77
+ post_install_message:
78
+ rdoc_options: []
79
+ require_paths:
80
+ - lib
81
+ required_ruby_version: !ruby/object:Gem::Requirement
82
+ none: false
83
+ requirements:
84
+ - - ! '>='
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
87
+ required_rubygems_version: !ruby/object:Gem::Requirement
88
+ none: false
89
+ requirements:
90
+ - - ! '>='
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ requirements: []
94
+ rubyforge_project:
95
+ rubygems_version: 1.8.10
96
+ signing_key:
97
+ specification_version: 3
98
+ summary: tengine_rails_plugin supports the use of tengine in Rails application.
99
+ test_files: []
100
+ has_rdoc: