human_power 0.0.4 → 0.0.6

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: 9d90d62d2553046a86e4548fadcec0a055c5956f
4
- data.tar.gz: 3114fde3618db41e9f2f78eb5be1c53b47049d13
3
+ metadata.gz: 6d42507a07817c999567723432bcfc334acf0915
4
+ data.tar.gz: 16944ca90ecea9a3aa797787d03f321ed8cf49ef
5
5
  SHA512:
6
- metadata.gz: 107fcde74d0cace16683d8bb892a81facb094ad6cc635cfa9258c143997afa342af46e5b4b26617c8f61751aab62da16bf070996195e5198fbf3e9d1e02d8398
7
- data.tar.gz: 1fac4d961a5f28246df45b37f87df8ef66bff8ee34aee3a11f043182d6ae171c3c2974e525cb9d72dcfc72aecb4aefe5147d27d701c6d1d08ff17fd1a2a7c325
6
+ metadata.gz: 6687a32753b3261d45b899f02f14c3f7ba9a5195467f05281ec9e4acbdc43dde51bfe375f562bfac62800a7e8517a89f29b7c9d0643cdf58d7ebb6d6a98bb345
7
+ data.tar.gz: 836e6e7500a71d531eaf93c255f22074537b9a442752b51e4742b7987862ab45e958c9061935e8c1c80a52e5dc1cfdd01dfa2a06891f537a1bf466f3044412b1
@@ -7,8 +7,9 @@ module HumanPower
7
7
  instance_eval open(file).read, file
8
8
  end
9
9
 
10
- render text: generator.render
10
+ # render text: something does not give correct content type
11
+ render text: generator.render, content_type: Mime::TEXT
11
12
  end
12
13
  end
13
14
  end
14
- end
15
+ end
@@ -1,3 +1,3 @@
1
1
  module HumanPower
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -4,6 +4,7 @@ class IntegrationTest < ActionDispatch::IntegrationTest
4
4
  test "robots.txt" do
5
5
  get "/robots.txt"
6
6
  assert_response :success
7
+ assert_equal "text/plain", response.content_type
7
8
 
8
9
  assert_equal "Sitemap: http://www.example.com/sitemap.xml\n"\
9
10
  "\n"\
metadata CHANGED
@@ -1,69 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: human_power
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lasse Bunk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-02 00:00:00.000000000 Z
11
+ date: 2014-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
20
  type: :development
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: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
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
  - !ruby/object:Gem::Dependency
42
42
  name: rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: 4.0.1
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 4.0.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: sqlite3
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  description: Easy generation of robots.txt.
@@ -73,8 +73,8 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
- - .gitignore
77
- - .travis.yml
76
+ - ".gitignore"
77
+ - ".travis.yml"
78
78
  - Gemfile
79
79
  - LICENSE.txt
80
80
  - README.md
@@ -144,17 +144,17 @@ require_paths:
144
144
  - lib
145
145
  required_ruby_version: !ruby/object:Gem::Requirement
146
146
  requirements:
147
- - - '>='
147
+ - - ">="
148
148
  - !ruby/object:Gem::Version
149
149
  version: '0'
150
150
  required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  requirements:
152
- - - '>='
152
+ - - ">="
153
153
  - !ruby/object:Gem::Version
154
154
  version: '0'
155
155
  requirements: []
156
156
  rubyforge_project:
157
- rubygems_version: 2.1.11
157
+ rubygems_version: 2.2.1
158
158
  signing_key:
159
159
  specification_version: 4
160
160
  summary: Easy generation of robots.txt. Force the robots into submission!