glass-rails 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -1
- data/lib/glass/menu_item.rb +1 -1
- data/lib/glass/rails/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
# Glass::Rails
|
2
2
|
|
3
|
-
|
3
|
+
A DSL for building Google Glass apps using Ruby on Rails.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
7
|
Add this line to your application's Gemfile:
|
8
8
|
|
9
|
+
gem "google-api-client" # this is a dependency
|
9
10
|
gem 'glass-rails'
|
10
11
|
|
11
12
|
And then execute:
|
data/lib/glass/menu_item.rb
CHANGED
@@ -7,7 +7,7 @@ module Glass
|
|
7
7
|
|
8
8
|
|
9
9
|
def self.create(action_sym, args)
|
10
|
-
args = BUILT_IN_ACTIONS.include?(action_sym) ? args : args.merge({id: action_sym})
|
10
|
+
args = BUILT_IN_ACTIONS.include?(action_sym) ? args.merge({action: action_sym.to_s.upcase}) : args.merge({id: action_sym})
|
11
11
|
new(args)
|
12
12
|
end
|
13
13
|
|
data/lib/glass/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glass-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-05-
|
13
|
+
date: 2013-05-21 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: railties
|