envrobots 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c7b911459979f619e676b88f444ed983f2d4536d
4
- data.tar.gz: 20e543442327ef69aa4095b2b6bb71238bf89455
3
+ metadata.gz: 767cd7e6f4f1f8f6228019a449955f2bed7ad9e8
4
+ data.tar.gz: 73c6d1c549841588459a4b07290e81334a8e1efc
5
5
  SHA512:
6
- metadata.gz: 2db5e377b930f02c6b98861926d3c99f9a32f1f8efaf1d0ef18ca3347b5886fc3df964284a4a4c54025fad2f7c25943ab101658a9415df4afdd8538c4c90867b
7
- data.tar.gz: 7da39adb78177816ace8f397a17c0e6d6206310d93d76c444c2a6066fd9fc57cc85be5603e4329d51d28956cc53f82ca808901919fd3efecddf5a8a99dad5f2e
6
+ metadata.gz: 37760dbf5f6ceac0668c3fa9ecde0eb198b433fb5e563fc43581eba575b7ce3d1d8ce31de9f936039aa9140bc3da5e56c86523762d4f3ae7fade61d8483b9f92
7
+ data.tar.gz: 35cb5df1cb027ad0ad2f51d16c8c18df434d255dd1333a1fa59c3898e19e4a8138ff54dbf772cd4712299a7798077030cfb8a74d6ce9dfeb4ff8556009e39079
@@ -1,9 +1,9 @@
1
1
  class Envrobots::RobotsController < ApplicationController
2
2
  def index
3
3
  if Rails.env.production?
4
- render file: 'config/robots/robots.production.txt', content_type: 'text/plain'
4
+ render file: 'config/robots/robots.production.txt', content_type: 'text/plain', layout: false
5
5
  else
6
- render file: 'config/robots/robots.other.txt', content_type: 'text/plain'
6
+ render file: 'config/robots/robots.other.txt', content_type: 'text/plain', layout: false
7
7
  end
8
8
  end
9
9
  end
@@ -1,3 +1,3 @@
1
1
  module Envrobots
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: envrobots
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Martinez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-30 00:00:00.000000000 Z
11
+ date: 2014-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 4.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 4.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec-rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: Flexible robots.txt solution for Rails to use different robots.txt files
@@ -46,16 +46,16 @@ executables: []
46
46
  extensions: []
47
47
  extra_rdoc_files: []
48
48
  files:
49
+ - MIT-LICENSE
50
+ - Rakefile
49
51
  - app/controllers/envrobots/robots_controller.rb
50
52
  - config/routes.rb
53
+ - lib/envrobots.rb
51
54
  - lib/envrobots/engine.rb
52
55
  - lib/envrobots/version.rb
53
- - lib/envrobots.rb
54
56
  - lib/generators/envrobots/install_generator.rb
55
57
  - lib/generators/templates/robots.other.txt
56
58
  - lib/generators/templates/robots.production.txt
57
- - MIT-LICENSE
58
- - Rakefile
59
59
  homepage: http://github.com/jamescmartinez/envrobots
60
60
  licenses:
61
61
  - MIT
@@ -66,17 +66,17 @@ require_paths:
66
66
  - lib
67
67
  required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
- - - '>='
69
+ - - ">="
70
70
  - !ruby/object:Gem::Version
71
71
  version: '0'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - '>='
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
78
  rubyforge_project:
79
- rubygems_version: 2.1.11
79
+ rubygems_version: 2.2.2
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: Flexible robots.txt solution for Rails.