glass-rails 0.0.1 → 0.0.2

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/README.md CHANGED
@@ -1,11 +1,12 @@
1
1
  # Glass::Rails
2
2
 
3
- A DSL for building Google Glass apps using Ruby on Rails.
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:
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  module Glass
2
2
  module Rails
3
- VERSION="0.0.1"
3
+ VERSION="0.0.2"
4
4
  end
5
5
  end
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.1
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-20 00:00:00.000000000 Z
13
+ date: 2013-05-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties