ress 0.0.2 → 0.0.3

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.
@@ -16,4 +16,8 @@ There is some setup you must do manually if you haven't yet:
16
16
  <%= csrf_meta_tags %>
17
17
  </head>
18
18
 
19
+ 3. Make sure you have a meta viewport tag in your head, for example:
20
+
21
+ <meta name="viewport" content="user-scalable=no,width=device-width">
22
+
19
23
  ===============================================================================
@@ -14,7 +14,7 @@ module Ress
14
14
  end
15
15
 
16
16
  def add_alternate(options)
17
- version = AlternateVersion.new(options.delete(:name), options.delete(:media_type), options)
17
+ version = AlternateVersion.new(options.delete(:name), options.delete(:media), options)
18
18
  alternate_versions << version
19
19
  end
20
20
 
data/lib/ress/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ress
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -35,7 +35,7 @@ describe ActionView::Base do
35
35
  it 'generates the link tags when there is one category' do
36
36
 
37
37
  Ress.configure do |r|
38
- r.add_alternate :name => 'm', :media_type => 'stuff'
38
+ r.add_alternate :name => 'm', :media => 'stuff'
39
39
  end
40
40
 
41
41
  view.ress_annotation_tags.should ==
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ress
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.2
5
+ version: 0.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Matthew Robertson