uzuuzu-core 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.project ADDED
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <projectDescription>
3
+ <name>uzuuzu-core</name>
4
+ <comment></comment>
5
+ <projects>
6
+ </projects>
7
+ <buildSpec>
8
+ <buildCommand>
9
+ <name>com.aptana.ide.core.unifiedBuilder</name>
10
+ <arguments>
11
+ </arguments>
12
+ </buildCommand>
13
+ </buildSpec>
14
+ <natures>
15
+ <nature>com.aptana.ruby.core.rubynature</nature>
16
+ </natures>
17
+ </projectDescription>
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/Gemfile ADDED
@@ -0,0 +1,14 @@
1
+ source "http://rubygems.org"
2
+ # Add dependencies required to use your gem here.
3
+ # Example:
4
+ # gem "activesupport", ">= 2.3.5"
5
+
6
+ # Add dependencies to develop your gem here.
7
+ # Include everything needed to run rake, tests, features, etc.
8
+ group :development do
9
+ gem "rspec", ">= 2.3.0"
10
+ gem "bundler", ">= 1.0.0"
11
+ gem "jeweler", ">= 1.6.2"
12
+ gem "rcov", ">= 0"
13
+ gem "extlib", ">= 0.9.15"
14
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,30 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ diff-lcs (1.1.2)
5
+ extlib (0.9.15)
6
+ git (1.2.5)
7
+ jeweler (1.6.2)
8
+ bundler (~> 1.0)
9
+ git (>= 1.2.5)
10
+ rake
11
+ rake (0.8.7)
12
+ rcov (0.9.9)
13
+ rspec (2.6.0)
14
+ rspec-core (~> 2.6.0)
15
+ rspec-expectations (~> 2.6.0)
16
+ rspec-mocks (~> 2.6.0)
17
+ rspec-core (2.6.4)
18
+ rspec-expectations (2.6.0)
19
+ diff-lcs (~> 1.1.2)
20
+ rspec-mocks (2.6.0)
21
+
22
+ PLATFORMS
23
+ ruby
24
+
25
+ DEPENDENCIES
26
+ bundler (>= 1.0.0)
27
+ extlib (>= 0.9.15)
28
+ jeweler (>= 1.6.2)
29
+ rcov
30
+ rspec (>= 2.3.0)
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Takuya Kondo
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,19 @@
1
+ = uzuuzu-core
2
+
3
+ Description goes here.
4
+
5
+ == Contributing to uzuuzu-core
6
+
7
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
8
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
9
+ * Fork the project
10
+ * Start a feature/bugfix branch
11
+ * Commit and push until you are happy with your contribution
12
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
14
+
15
+ == Copyright
16
+
17
+ Copyright (c) 2011 Takuya Kondo. See LICENSE.txt for
18
+ further details.
19
+
data/Rakefile ADDED
@@ -0,0 +1,49 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
+ gem.name = "uzuuzu-core"
18
+ gem.homepage = "http://github.com/takuya-v-v/uzuuzu-core"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{uzuuzu core library}
21
+ gem.description = %Q{uzuuzu core library}
22
+ gem.email = "takuya.v3v@gmail.com"
23
+ gem.authors = ["Takuya Kondo"]
24
+ # dependencies defined in Gemfile
25
+ end
26
+ Jeweler::RubygemsDotOrgTasks.new
27
+
28
+ require 'rspec/core'
29
+ require 'rspec/core/rake_task'
30
+ RSpec::Core::RakeTask.new(:spec) do |spec|
31
+ spec.pattern = FileList['spec/**/*_spec.rb']
32
+ end
33
+
34
+ RSpec::Core::RakeTask.new(:rcov) do |spec|
35
+ spec.pattern = 'spec/**/*_spec.rb'
36
+ spec.rcov = true
37
+ end
38
+
39
+ task :default => :spec
40
+
41
+ require 'rake/rdoctask'
42
+ Rake::RDocTask.new do |rdoc|
43
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
44
+
45
+ rdoc.rdoc_dir = 'rdoc'
46
+ rdoc.title = "uzuuzu-core #{version}"
47
+ rdoc.rdoc_files.include('README*')
48
+ rdoc.rdoc_files.include('lib/**/*.rb')
49
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.0.0
Binary file
@@ -0,0 +1 @@
1
+ require __DIR__('wrapper/wrapper')
@@ -0,0 +1,87 @@
1
+
2
+
3
+ module UzuUzu
4
+ module Controller
5
+ def self.included(controller)
6
+ controller.class_eval do
7
+ provide(:csv, :type => 'application/json') do |action, obj|
8
+ action.instance.instance_variable_get(:@uzuuzu_respond_to_csv)
9
+ end
10
+ provide(:json, :type => 'application/json') do |action, obj|
11
+ action.instance.instance_variable_get(:@uzuuzu_respond_to_json)
12
+ end
13
+ provide(:xml, :type => 'application/xml') do |action, obj|
14
+ action.instance.instance_variable_get(:@uzuuzu_respond_to_xml)
15
+ end
16
+ provide(:yaml, :type => 'application/yaml') do |action, obj|
17
+ action.instance.instance_variable_get(:@uzuuzu_respond_to_yaml)
18
+ end
19
+
20
+ before_all do
21
+ uzuuzu_initialize
22
+ end
23
+ end
24
+ end
25
+
26
+ def respond_to(&b)
27
+ if b.nil?
28
+ return
29
+ end
30
+ wish = action.wish.to_sym
31
+ case(wish)
32
+ when :html
33
+ b.call(wish)
34
+ when :xml
35
+ @uzuuzu_respond_to_xml = b.call(wish)
36
+ when :json
37
+ @uzuuzu_respond_to_json = b.call(wish)
38
+ when :yaml
39
+ @uzuuzu_respond_to_yaml = b.call(wish)
40
+ when :css
41
+ @uzuuzu_respond_to_css = b.call(wish)
42
+ end
43
+ end
44
+
45
+ def uzuuzu_map
46
+ if @uzuuzu_map.nil?
47
+ @uzuuzu_map = {}
48
+ end
49
+ @uzuuzu_map
50
+ end
51
+
52
+ def uzuuzu_initialize
53
+ uzuuzu_map[:title] = memcache.get(:uzuuzu_info_title)
54
+ if uzuuzu_map[:title].nil?
55
+ info = Info.uniq
56
+ unless info.nil?
57
+ uzuuzu_map[:title] = info.title
58
+ memcache.set(:uzuuzu_info_title, uzuuzu_map[:title])
59
+ end
60
+ end
61
+ end
62
+
63
+ def remote_user
64
+ if uzuuzu_map[:remote_user].nil?
65
+ uzuuzu_map[:remote_user] = session[:remote_user]
66
+ unless uzuuzu_map[:remote_user].nil?
67
+ uzuuzu_map[:remote_user] = nil unless uzuuzu_map[:remote_user].authorize?
68
+ end
69
+ end
70
+ uzuuzu_map[:remote_user]
71
+ end
72
+
73
+ def admin?
74
+ if remote_user.nil?
75
+ false
76
+ end
77
+ remote_user.admin?
78
+ end
79
+
80
+ def authorize?
81
+ if remote_user.nil?
82
+ false
83
+ end
84
+ remote_user.authorize?
85
+ end
86
+ end
87
+ end
@@ -0,0 +1,24 @@
1
+
2
+ module UzuUzu
3
+ #
4
+ #
5
+ #
6
+ class DataStoreWrapper
7
+ attr_reader :repositories
8
+ attr_reader :repository
9
+
10
+ def initialize(env=nil, options={})
11
+ end
12
+
13
+ def uzuuzu_repository(repository=nil, &b)
14
+ end
15
+
16
+ def uzuuzu_transaction(repository=nil, *args, &b)
17
+ end
18
+
19
+ def auto_upgrade?
20
+ @auto_upgrade
21
+ end
22
+
23
+ end # DataBaseWrapper
24
+ end # UzuUzu
@@ -0,0 +1,36 @@
1
+
2
+
3
+ module UzuUzu
4
+ class LoggerWrapper
5
+ DEBUG = [:debug, :error, :info, :warn]
6
+ INFO = [:error, :info, :warn]
7
+ WARN = [:error, :warn]
8
+ ERROR = [:error]
9
+
10
+ def initialize(env=nil, options={})
11
+ logger_env = env.clone
12
+ unless logger_env.kind_of?(Array)
13
+ logger_env = [logger_env]
14
+ end
15
+ logger_env.each do |logger|
16
+ level = ERROR
17
+ case(logger['level'])
18
+ when "debug"
19
+ level = DEBUG
20
+ when "info"
21
+ level = INFO
22
+ when "warn"
23
+ level = WARN
24
+ end
25
+ case(logger['adapter'])
26
+ when 'file'
27
+ Ramaze::Log.loggers << Ramaze::Logger::Informer.new(logger['address'], level)
28
+ end
29
+ end
30
+ end
31
+
32
+ def method_missing(action, *args)
33
+ Ramaze::Log.send(action, *args)
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,60 @@
1
+
2
+
3
+
4
+ module UzuUzu
5
+ #
6
+ #
7
+ #
8
+ class MailerWrapper
9
+
10
+ #
11
+ #
12
+ #
13
+ def initialize(env=nil)
14
+ if env.nil?
15
+ return
16
+ end
17
+ @adapter = env['adapter']
18
+ case @adapter
19
+ when 'gae'
20
+ require 'appengine-apis/mail'
21
+ @from = env['address']
22
+ when 'tmail'
23
+ require 'net/smtp'
24
+ require 'tmail'
25
+ when 'tlsmail'
26
+ require 'net/smtp'
27
+ require 'tlsmail'
28
+ else
29
+ raise "mailler setup unsupported adapter fault"
30
+ end
31
+ end
32
+
33
+ #
34
+ #
35
+ #
36
+ def send(to, subject, body, charset='iso-2022-jp')
37
+ case @adapter
38
+ when 'gae'
39
+
40
+ when 'tmail'
41
+ mail = TMail::Mail.new
42
+
43
+ mail.to = to
44
+ mail.from = from
45
+ mail.reply_to = from
46
+ mail.subject = subject
47
+ mail.body = body
48
+ mail.date = Time.now
49
+ mail.mime_version = '1.0'
50
+ mail.set_content_type 'text', 'plain', {'charset' => charset}
51
+ mail.write_back
52
+
53
+ Net::SMTP.start(smtpserver) do |smtp|
54
+ smtp.sendmail(mail.encoded, mail.from, to)
55
+ end
56
+ when 'tlsmail'
57
+ end # case
58
+ end # send
59
+ end # MaillerWrapper
60
+ end
@@ -0,0 +1,20 @@
1
+
2
+
3
+
4
+ module UzuUzu
5
+ class MemcacheWrapper
6
+ #
7
+ attr_reader :memcache
8
+
9
+ #
10
+ #
11
+ #
12
+ def initialize(env=nil, options={})
13
+ @memcache = {}
14
+ end #new
15
+
16
+ def method_missing(action, *args)
17
+ @memcahce.send(action, args)
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,186 @@
1
+ # coding: utf-8
2
+
3
+ #
4
+ #
5
+ #
6
+ module UzuUzu
7
+ #
8
+ LIB_DIR = __DIR__
9
+ #
10
+ def self.dispacher_path
11
+ Environments.instance.dispacher_path
12
+ end
13
+
14
+ #
15
+ def self.root
16
+ Environments.instance.dispacher_path
17
+ end
18
+
19
+ #
20
+ def self.logger
21
+ Environments.instance.logger
22
+ end
23
+
24
+ #
25
+ def self.datastore
26
+ Environments.instance.datastore
27
+ end
28
+
29
+ #
30
+ def self.memcache
31
+ Environments.instance.memcache.memcache
32
+ end
33
+
34
+ #
35
+ def self.repository(&b)
36
+ Environments.instance.repository(&b)
37
+ end
38
+
39
+ #
40
+ def self.transaction(&b)
41
+ Environments.instance.transaction(&b)
42
+ end
43
+
44
+ #
45
+ def self.mailler
46
+ Environments.instance.mailler
47
+ end
48
+
49
+ #
50
+ def self.gae?
51
+ if Environments.instance.gae
52
+ return true
53
+ end
54
+ false
55
+ end
56
+
57
+ #
58
+ def self.auto_upgrade?
59
+ return false if gae?
60
+ return true if Environments.instance.datastore.auto_upgrade?
61
+ false
62
+ end
63
+
64
+ #
65
+ #
66
+ #
67
+ class Environments
68
+ include Singleton
69
+
70
+ #
71
+ DEFAULT_YAML = './uzuuzu.yaml'
72
+ #
73
+ attr_accessor :logger
74
+ #
75
+ attr_accessor :datastore
76
+ #
77
+ attr_accessor :memcache
78
+ #
79
+ attr_accessor :mailler
80
+ #
81
+ attr_accessor :dispatche_path
82
+ #
83
+ attr_accessor :public
84
+ #
85
+ attr_accessor :gae
86
+ #
87
+ attr_accessor :map
88
+
89
+ def self.default_yaml=(yaml)
90
+ @@yaml = yaml
91
+ end
92
+
93
+ def self.default_yaml
94
+ @@yaml || DEFAULT_YAML
95
+ end
96
+
97
+ def initialize
98
+ load_yaml(default_yaml)
99
+ end
100
+
101
+ def load_yaml(yaml)
102
+ return if yaml.blank?
103
+ begin
104
+ yaml = YAML.load_file(yaml) unless yaml.kind_of?(Hash)
105
+ setup(yaml)
106
+ rescue => e
107
+ Ramaze::Log.error "UzuUzu initialize error : load_yaml(#{yaml})"
108
+ end
109
+ end
110
+
111
+ def setup(map)
112
+ return if map.blank?
113
+ @map = map
114
+ @dispatcher_path = map['dispatcher_path']
115
+ if map['gae'].blank?
116
+ @gae = false
117
+ else
118
+ @gae = true
119
+ require 'uzuuzu-adapter-gae'
120
+ end
121
+ @public = map['public']
122
+ @logger = nil
123
+ @datastore = nil
124
+ @memcache = nil
125
+ @mailer = nil
126
+ end
127
+
128
+ def logger
129
+ if @logger.nil?
130
+ unless @gae or @map['logger'].blank?
131
+ case(@map['logger']['adapter'])
132
+ when ''
133
+ end
134
+ end
135
+ @logger = UzuUzu::LoggerWrapper.new(@map['logger']) unless @logger
136
+ end
137
+ @logger
138
+ end
139
+
140
+ def datastore
141
+ if @datastore.nil?
142
+ unless @gae or @map['datastore'].blank?
143
+ case(@map['datastore']['adapter'])
144
+ when 'datamapper'
145
+ require 'uzuuzu-adapter-datamapper'
146
+ end
147
+ end
148
+ @datastore = UzuUzu::DataStoreWrapper.new(@map['datastore'])
149
+ end
150
+ @datastore
151
+ end
152
+
153
+ def memcache
154
+ if @memcache.nil?
155
+ unless @gae or @map['memcache'].blank?
156
+ case(@map['memcache']['adapter'])
157
+ when 'memcache-client'
158
+ require 'uzuuzu-adapter-memcache-client'
159
+ end
160
+ end
161
+ @memcache = UzuUzu::MemcacheWrapper.new(@map['memcache'])
162
+ end
163
+ @memcache
164
+ end
165
+
166
+ def mailler
167
+ if @mailer.nil?
168
+ unless @gae or @map['mailer'].blank?
169
+ case(@map['mailer']['adapter'])
170
+ when ''
171
+ end
172
+ end
173
+ @mailer = UzuUzu::MailerWrapper.new(@map['mailer'])
174
+ end
175
+ @mailer
176
+ end
177
+
178
+ def repository(&b)
179
+ datastore.uzuuzu_repository(&b)
180
+ end
181
+
182
+ def transaction(*args, &b)
183
+ datastore.uzuuzu_transaction(*args, &b)
184
+ end
185
+ end
186
+ end
@@ -0,0 +1,8 @@
1
+ # coding: utf-8
2
+
3
+ require __DIR__('uzuuzu')
4
+ require __DIR__('logger')
5
+ require __DIR__('mailer')
6
+ require __DIR__('memcache')
7
+ require __DIR__('datastore')
8
+ require __DIR__('controller')
@@ -0,0 +1,3 @@
1
+ require 'extlib'
2
+ require 'singleton'
3
+ require __DIR__('uzuuzu/uzuuzu-core')
@@ -0,0 +1,12 @@
1
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
+ require 'rspec'
4
+ require 'uzuuzu-core'
5
+
6
+ # Requires supporting files with custom matchers and macros, etc,
7
+ # in ./support/ and its subdirectories.
8
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
9
+
10
+ RSpec.configure do |config|
11
+
12
+ end
@@ -0,0 +1,7 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+
3
+ describe "UzuuzuCore" do
4
+ it "fails" do
5
+ fail "hey buddy, you should probably rename this file and start specing for real"
6
+ end
7
+ end
@@ -0,0 +1,73 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{uzuuzu-core}
8
+ s.version = "0.0.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Takuya Kondo"]
12
+ s.date = %q{2011-06-12}
13
+ s.description = %q{uzuuzu core library}
14
+ s.email = %q{takuya.v3v@gmail.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".project",
22
+ ".rspec",
23
+ "Gemfile",
24
+ "Gemfile.lock",
25
+ "LICENSE.txt",
26
+ "README.rdoc",
27
+ "Rakefile",
28
+ "VERSION",
29
+ "lib/uzuuzu-core.rb",
30
+ "lib/uzuuzu/.DS_Store",
31
+ "lib/uzuuzu/uzuuzu-core.rb",
32
+ "lib/uzuuzu/wrapper/controller.rb",
33
+ "lib/uzuuzu/wrapper/datastore.rb",
34
+ "lib/uzuuzu/wrapper/logger.rb",
35
+ "lib/uzuuzu/wrapper/mailer.rb",
36
+ "lib/uzuuzu/wrapper/memcache.rb",
37
+ "lib/uzuuzu/wrapper/uzuuzu.rb",
38
+ "lib/uzuuzu/wrapper/wrapper.rb",
39
+ "spec/spec_helper.rb",
40
+ "spec/uzuuzu-core_spec.rb",
41
+ "uzuuzu-core.gemspec"
42
+ ]
43
+ s.homepage = %q{http://github.com/takuya-v-v/uzuuzu-core}
44
+ s.licenses = ["MIT"]
45
+ s.require_paths = ["lib"]
46
+ s.rubygems_version = %q{1.5.2}
47
+ s.summary = %q{uzuuzu core library}
48
+
49
+ if s.respond_to? :specification_version then
50
+ s.specification_version = 3
51
+
52
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
53
+ s.add_development_dependency(%q<rspec>, [">= 2.3.0"])
54
+ s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
55
+ s.add_development_dependency(%q<jeweler>, [">= 1.6.2"])
56
+ s.add_development_dependency(%q<rcov>, [">= 0"])
57
+ s.add_development_dependency(%q<extlib>, [">= 0.9.15"])
58
+ else
59
+ s.add_dependency(%q<rspec>, [">= 2.3.0"])
60
+ s.add_dependency(%q<bundler>, [">= 1.0.0"])
61
+ s.add_dependency(%q<jeweler>, [">= 1.6.2"])
62
+ s.add_dependency(%q<rcov>, [">= 0"])
63
+ s.add_dependency(%q<extlib>, [">= 0.9.15"])
64
+ end
65
+ else
66
+ s.add_dependency(%q<rspec>, [">= 2.3.0"])
67
+ s.add_dependency(%q<bundler>, [">= 1.0.0"])
68
+ s.add_dependency(%q<jeweler>, [">= 1.6.2"])
69
+ s.add_dependency(%q<rcov>, [">= 0"])
70
+ s.add_dependency(%q<extlib>, [">= 0.9.15"])
71
+ end
72
+ end
73
+
metadata ADDED
@@ -0,0 +1,135 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: uzuuzu-core
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 0.0.0
6
+ platform: ruby
7
+ authors:
8
+ - Takuya Kondo
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2011-06-12 00:00:00 +09:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: rspec
18
+ requirement: &id001 !ruby/object:Gem::Requirement
19
+ none: false
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 2.3.0
24
+ type: :development
25
+ prerelease: false
26
+ version_requirements: *id001
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: &id002 !ruby/object:Gem::Requirement
30
+ none: false
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: 1.0.0
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: *id002
38
+ - !ruby/object:Gem::Dependency
39
+ name: jeweler
40
+ requirement: &id003 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ version: 1.6.2
46
+ type: :development
47
+ prerelease: false
48
+ version_requirements: *id003
49
+ - !ruby/object:Gem::Dependency
50
+ name: rcov
51
+ requirement: &id004 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: "0"
57
+ type: :development
58
+ prerelease: false
59
+ version_requirements: *id004
60
+ - !ruby/object:Gem::Dependency
61
+ name: extlib
62
+ requirement: &id005 !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: 0.9.15
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: *id005
71
+ description: uzuuzu core library
72
+ email: takuya.v3v@gmail.com
73
+ executables: []
74
+
75
+ extensions: []
76
+
77
+ extra_rdoc_files:
78
+ - LICENSE.txt
79
+ - README.rdoc
80
+ files:
81
+ - .document
82
+ - .project
83
+ - .rspec
84
+ - Gemfile
85
+ - Gemfile.lock
86
+ - LICENSE.txt
87
+ - README.rdoc
88
+ - Rakefile
89
+ - VERSION
90
+ - lib/uzuuzu-core.rb
91
+ - lib/uzuuzu/.DS_Store
92
+ - lib/uzuuzu/uzuuzu-core.rb
93
+ - lib/uzuuzu/wrapper/controller.rb
94
+ - lib/uzuuzu/wrapper/datastore.rb
95
+ - lib/uzuuzu/wrapper/logger.rb
96
+ - lib/uzuuzu/wrapper/mailer.rb
97
+ - lib/uzuuzu/wrapper/memcache.rb
98
+ - lib/uzuuzu/wrapper/uzuuzu.rb
99
+ - lib/uzuuzu/wrapper/wrapper.rb
100
+ - spec/spec_helper.rb
101
+ - spec/uzuuzu-core_spec.rb
102
+ - uzuuzu-core.gemspec
103
+ has_rdoc: true
104
+ homepage: http://github.com/takuya-v-v/uzuuzu-core
105
+ licenses:
106
+ - MIT
107
+ post_install_message:
108
+ rdoc_options: []
109
+
110
+ require_paths:
111
+ - lib
112
+ required_ruby_version: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ hash: 2037858106668410970
118
+ segments:
119
+ - 0
120
+ version: "0"
121
+ required_rubygems_version: !ruby/object:Gem::Requirement
122
+ none: false
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: "0"
127
+ requirements: []
128
+
129
+ rubyforge_project:
130
+ rubygems_version: 1.5.2
131
+ signing_key:
132
+ specification_version: 3
133
+ summary: uzuuzu core library
134
+ test_files: []
135
+