beamer 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ # Beamer
2
+
3
+ A simple presenter.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'beamer'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install beamer
18
+
19
+ ## Contributing
20
+
21
+ 1. Fork it
22
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
23
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
24
+ 4. Push to the branch (`git push origin my-new-feature`)
25
+ 5. Create new Pull Request
26
+
27
+
28
+
@@ -12,7 +12,7 @@ module Beamer
12
12
  }.merge(args.extract_options!)
13
13
 
14
14
 
15
- presenter = options[:class].new(object, view) if options[:class]
15
+ presenter = options[:class].new(object, view_context) if options[:class]
16
16
 
17
17
  presenter ||= begin
18
18
  loader_module = "Beamer::Loader"
@@ -1,3 +1,3 @@
1
1
  module Beamer
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beamer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,14 +10,14 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-04-18 00:00:00.000000000 Z
13
+ date: 2013-05-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
- - - ~>
20
+ - - ! '>'
21
21
  - !ruby/object:Gem::Version
22
22
  version: '3.1'
23
23
  type: :runtime
@@ -25,7 +25,7 @@ dependencies:
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  none: false
27
27
  requirements:
28
- - - ~>
28
+ - - ! '>'
29
29
  - !ruby/object:Gem::Version
30
30
  version: '3.1'
31
31
  - !ruby/object:Gem::Dependency
@@ -62,7 +62,7 @@ files:
62
62
  - lib/beamer.rb
63
63
  - MIT-LICENSE
64
64
  - Rakefile
65
- - README.rdoc
65
+ - README.md
66
66
  - test/controllers/helpers_test.rb
67
67
  - test/dummy/app/assets/javascripts/application.js
68
68
  - test/dummy/app/assets/stylesheets/application.css
@@ -88,12 +88,8 @@ files:
88
88
  - test/dummy/config/locales/en.yml
89
89
  - test/dummy/config/routes.rb
90
90
  - test/dummy/config.ru
91
- - test/dummy/db/development.sqlite3
92
91
  - test/dummy/db/migrate/20130418173109_create_projects.rb
93
92
  - test/dummy/db/schema.rb
94
- - test/dummy/db/test.sqlite3
95
- - test/dummy/log/development.log
96
- - test/dummy/log/test.log
97
93
  - test/dummy/public/404.html
98
94
  - test/dummy/public/422.html
99
95
  - test/dummy/public/500.html
@@ -154,12 +150,8 @@ test_files:
154
150
  - test/dummy/config/locales/en.yml
155
151
  - test/dummy/config/routes.rb
156
152
  - test/dummy/config.ru
157
- - test/dummy/db/development.sqlite3
158
153
  - test/dummy/db/migrate/20130418173109_create_projects.rb
159
154
  - test/dummy/db/schema.rb
160
- - test/dummy/db/test.sqlite3
161
- - test/dummy/log/development.log
162
- - test/dummy/log/test.log
163
155
  - test/dummy/public/404.html
164
156
  - test/dummy/public/422.html
165
157
  - test/dummy/public/500.html
@@ -1,3 +0,0 @@
1
- = Beamer
2
-
3
- This project rocks and uses MIT-LICENSE.
Binary file
@@ -1,20 +0,0 @@
1
- Connecting to database specified by database.yml
2
- Connecting to database specified by database.yml
3
-  (0.2ms) select sqlite_version(*)
4
-  (2.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
5
-  (2.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
6
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
7
- Migrating to CreateProjects (20130418173109)
8
-  (0.0ms) begin transaction
9
-  (0.5ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
10
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130418173109')
11
-  (3.2ms) commit transaction
12
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
13
- Connecting to database specified by database.yml
14
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
15
-  (0.3ms) select sqlite_version(*)
16
-  (2.1ms) CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
17
-  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
18
-  (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
19
-  (0.2ms) SELECT version FROM "schema_migrations"
20
-  (2.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130418173109')
@@ -1,32 +0,0 @@
1
- Connecting to database specified by database.yml
2
- Connecting to database specified by database.yml
3
-  (0.6ms) begin transaction
4
-  (0.1ms) rollback transaction
5
-  (0.1ms) begin transaction
6
-  (0.1ms) rollback transaction
7
-  (0.1ms) begin transaction
8
-  (0.1ms) rollback transaction
9
- Connecting to database specified by database.yml
10
-  (0.6ms) begin transaction
11
-  (0.1ms) rollback transaction
12
-  (0.1ms) begin transaction
13
-  (0.0ms) rollback transaction
14
-  (0.0ms) begin transaction
15
-  (0.1ms) rollback transaction
16
- Connecting to database specified by database.yml
17
-  (0.5ms) begin transaction
18
-  (0.1ms) rollback transaction
19
-  (0.1ms) begin transaction
20
-  (0.1ms) rollback transaction
21
-  (0.0ms) begin transaction
22
-  (0.1ms) rollback transaction
23
- Connecting to database specified by database.yml
24
-  (0.6ms) begin transaction
25
-  (0.0ms) rollback transaction
26
-  (0.1ms) begin transaction
27
-  (0.1ms) rollback transaction
28
-  (0.1ms) begin transaction
29
-  (0.1ms) SAVEPOINT active_record_1
30
- SQL (28.5ms) INSERT INTO "projects" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 18 Apr 2013 17:34:12 UTC +00:00], ["name", "test"], ["updated_at", Thu, 18 Apr 2013 17:34:12 UTC +00:00]]
31
-  (0.1ms) RELEASE SAVEPOINT active_record_1
32
-  (0.8ms) rollback transaction