krasivotokak-espresso 0.0.3 → 0.0.4

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 ADDED
@@ -0,0 +1,2 @@
1
+ pkg
2
+ *.gem
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
data/espresso.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{espresso}
8
- s.version = "0.0.3"
8
+ s.version = "0.0.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Alexander Semyonov"]
12
- s.date = %q{2009-08-17}
12
+ s.date = %q{2009-08-31}
13
13
  s.description = %q{Useful templates for controller and model functions}
14
14
  s.email = %q{rotuka@rotuka.com}
15
15
  s.extra_rdoc_files = [
@@ -17,15 +17,16 @@ Gem::Specification.new do |s|
17
17
  "README.rdoc"
18
18
  ]
19
19
  s.files = [
20
- "LICENSE",
20
+ ".gitignore",
21
+ "LICENSE",
21
22
  "README.rdoc",
22
23
  "Rakefile",
23
24
  "VERSION",
24
25
  "espresso.gemspec",
25
26
  "init.rb",
26
27
  "lib/espresso.rb",
27
- "lib/espresso/controller.rb",
28
28
  "lib/espresso/model.rb",
29
+ "lib/espresso/objects_controller.rb",
29
30
  "test/espresso_test.rb",
30
31
  "test/test_helper.rb"
31
32
  ]
data/lib/espresso.rb CHANGED
@@ -1,2 +1,9 @@
1
1
  module Espresso
2
2
  end
3
+
4
+ require 'espresso/objects_controller'
5
+ require 'espresso/model'
6
+
7
+ if defined? Rails
8
+ ActiveRecord::Base.send :include, Espresso::Model if defined? ActiveRecord
9
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: krasivotokak-espresso
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Semyonov
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-17 00:00:00 -07:00
12
+ date: 2009-08-31 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -62,6 +62,7 @@ extra_rdoc_files:
62
62
  - LICENSE
63
63
  - README.rdoc
64
64
  files:
65
+ - .gitignore
65
66
  - LICENSE
66
67
  - README.rdoc
67
68
  - Rakefile
@@ -69,8 +70,8 @@ files:
69
70
  - espresso.gemspec
70
71
  - init.rb
71
72
  - lib/espresso.rb
72
- - lib/espresso/controller.rb
73
73
  - lib/espresso/model.rb
74
+ - lib/espresso/objects_controller.rb
74
75
  - test/espresso_test.rb
75
76
  - test/test_helper.rb
76
77
  has_rdoc: false