roboto 1.0.0 → 1.0.1

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: 5936e904f0c2730cadb4769ae1cf7047ade056a8
4
- data.tar.gz: 818f1e12068afc8900cba4b301d9ad23ccb23087
3
+ metadata.gz: e931467013fcaa513a5da257cefec136940aea5a
4
+ data.tar.gz: 9451945ab7dde4fa7498c3e75358e3f229a3565a
5
5
  SHA512:
6
- metadata.gz: a46f13c032754f23666e05bc488d045d3b44dbd75bdebcfc21b679b929a4aa21a27c81c400c69a972cb53c2270c0724986c5177ae5de2615c67ffb9975e6fcc0
7
- data.tar.gz: e1ffe328e57f837bd240d579de6d78ac3bc839c70a6c8f5c7b3809225b2db87dbb08a8af8b8b65bbe966a824a3626c110d287efac34929dd74bfefb8b1cafd64
6
+ metadata.gz: ce8a76fab4ae93a724c05474a1108be4a3e7319f48b3bf7055edb1d2c2af147a772dc75e479251af06fb169ad827b5f7991c10ba7861b414752603d31b3de9c2
7
+ data.tar.gz: b602b4a841454f90a09ac014c436474718738c483f3161dd6177035f228d42ebac9498b1ff7d5424c090c40537ed8b708b9b7f63c28eb04c4d0e10793896a639
@@ -1,7 +1,7 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.3
4
- - 2.0.0
3
+ - 2.2.7
4
+ - 2.3.4
5
5
  gemfile:
6
6
  - Gemfile
7
7
  - Gemfile.rails4-0
@@ -6,7 +6,8 @@ source 'https://rubygems.org'
6
6
  gem 'rails', '~> 4.0.0'
7
7
 
8
8
  group :development do
9
- gem 'rspec-rails'
9
+ gem 'rspec-rails', '>= 3.6'
10
+ gem 'rspec-expectations'
10
11
  gem 'ammeter'
11
12
  gem 'capybara'
12
13
  gem 'fakefs'
@@ -1,142 +1,151 @@
1
1
  GEM
2
2
  remote: https://rubygems.org/
3
3
  specs:
4
- actionmailer (4.0.2)
5
- actionpack (= 4.0.2)
6
- mail (~> 2.5.4)
7
- actionpack (4.0.2)
8
- activesupport (= 4.0.2)
4
+ actionmailer (4.0.13)
5
+ actionpack (= 4.0.13)
6
+ mail (~> 2.5, >= 2.5.4)
7
+ actionpack (4.0.13)
8
+ activesupport (= 4.0.13)
9
9
  builder (~> 3.1.0)
10
10
  erubis (~> 2.7.0)
11
11
  rack (~> 1.5.2)
12
12
  rack-test (~> 0.6.2)
13
- activemodel (4.0.2)
14
- activesupport (= 4.0.2)
13
+ activemodel (4.0.13)
14
+ activesupport (= 4.0.13)
15
15
  builder (~> 3.1.0)
16
- activerecord (4.0.2)
17
- activemodel (= 4.0.2)
16
+ activerecord (4.0.13)
17
+ activemodel (= 4.0.13)
18
18
  activerecord-deprecated_finders (~> 1.0.2)
19
- activesupport (= 4.0.2)
19
+ activesupport (= 4.0.13)
20
20
  arel (~> 4.0.0)
21
- activerecord-deprecated_finders (1.0.3)
22
- activesupport (4.0.2)
23
- i18n (~> 0.6, >= 0.6.4)
21
+ activerecord-deprecated_finders (1.0.4)
22
+ activesupport (4.0.13)
23
+ i18n (~> 0.6, >= 0.6.9)
24
24
  minitest (~> 4.2)
25
25
  multi_json (~> 1.3)
26
26
  thread_safe (~> 0.1)
27
27
  tzinfo (~> 0.3.37)
28
- ammeter (0.2.9)
28
+ addressable (2.5.1)
29
+ public_suffix (~> 2.0, >= 2.0.2)
30
+ ammeter (1.1.4)
29
31
  activesupport (>= 3.0)
30
32
  railties (>= 3.0)
31
- rspec (>= 2.2)
32
33
  rspec-rails (>= 2.2)
33
- arel (4.0.1)
34
- atomic (1.1.14)
34
+ arel (4.0.2)
35
35
  builder (3.1.4)
36
- capybara (2.2.0)
36
+ capybara (2.14.4)
37
+ addressable
37
38
  mime-types (>= 1.16)
38
39
  nokogiri (>= 1.3.3)
39
40
  rack (>= 1.0.0)
40
41
  rack-test (>= 0.5.4)
41
42
  xpath (~> 2.0)
42
- celluloid (0.15.2)
43
- timers (~> 1.1.0)
44
- coderay (1.1.0)
45
- diff-lcs (1.2.5)
43
+ coderay (1.1.1)
44
+ concurrent-ruby (1.0.5)
45
+ diff-lcs (1.3)
46
46
  erubis (2.7.0)
47
- fakefs (0.4.3)
48
- ffi (1.9.3)
49
- formatador (0.2.4)
50
- guard (2.2.5)
47
+ fakefs (0.11.0)
48
+ ffi (1.9.18)
49
+ formatador (0.2.5)
50
+ guard (2.14.1)
51
51
  formatador (>= 0.2.4)
52
- listen (~> 2.1)
52
+ listen (>= 2.7, < 4.0)
53
53
  lumberjack (~> 1.0)
54
+ nenv (~> 0.1)
55
+ notiffany (~> 0.0)
54
56
  pry (>= 0.9.12)
57
+ shellany (~> 0.0)
55
58
  thor (>= 0.18.1)
56
- guard-rspec (4.2.0)
57
- guard (>= 2.1.1)
58
- rspec (>= 2.14, < 4.0)
59
- hike (1.2.3)
60
- i18n (0.6.9)
61
- listen (2.4.0)
62
- celluloid (>= 0.15.2)
63
- rb-fsevent (>= 0.9.3)
64
- rb-inotify (>= 0.9)
65
- lumberjack (1.0.4)
66
- mail (2.5.4)
67
- mime-types (~> 1.16)
68
- treetop (~> 1.4.8)
59
+ guard-compat (1.2.1)
60
+ guard-rspec (4.7.3)
61
+ guard (~> 2.1)
62
+ guard-compat (~> 1.1)
63
+ rspec (>= 2.99.0, < 4.0)
64
+ i18n (0.8.4)
65
+ listen (3.1.5)
66
+ rb-fsevent (~> 0.9, >= 0.9.4)
67
+ rb-inotify (~> 0.9, >= 0.9.7)
68
+ ruby_dep (~> 1.2)
69
+ lumberjack (1.0.12)
70
+ mail (2.6.6)
71
+ mime-types (>= 1.16, < 4)
69
72
  method_source (0.8.2)
70
- mime-types (1.25.1)
71
- mini_portile (0.5.2)
73
+ mime-types (3.1)
74
+ mime-types-data (~> 3.2015)
75
+ mime-types-data (3.2016.0521)
76
+ mini_portile2 (2.2.0)
72
77
  minitest (4.7.5)
73
- multi_json (1.8.2)
74
- nokogiri (1.6.1)
75
- mini_portile (~> 0.5.0)
76
- polyglot (0.3.3)
77
- pry (0.9.12.4)
78
- coderay (~> 1.0)
79
- method_source (~> 0.8)
78
+ multi_json (1.12.1)
79
+ nenv (0.3.0)
80
+ nokogiri (1.8.0)
81
+ mini_portile2 (~> 2.2.0)
82
+ notiffany (0.1.1)
83
+ nenv (~> 0.1)
84
+ shellany (~> 0.0)
85
+ pry (0.10.4)
86
+ coderay (~> 1.1.0)
87
+ method_source (~> 0.8.1)
80
88
  slop (~> 3.4)
81
- rack (1.5.2)
82
- rack-test (0.6.2)
89
+ public_suffix (2.0.5)
90
+ rack (1.5.5)
91
+ rack-test (0.6.3)
83
92
  rack (>= 1.0)
84
- rails (4.0.2)
85
- actionmailer (= 4.0.2)
86
- actionpack (= 4.0.2)
87
- activerecord (= 4.0.2)
88
- activesupport (= 4.0.2)
93
+ rails (4.0.13)
94
+ actionmailer (= 4.0.13)
95
+ actionpack (= 4.0.13)
96
+ activerecord (= 4.0.13)
97
+ activesupport (= 4.0.13)
89
98
  bundler (>= 1.3.0, < 2.0)
90
- railties (= 4.0.2)
91
- sprockets-rails (~> 2.0.0)
92
- railties (4.0.2)
93
- actionpack (= 4.0.2)
94
- activesupport (= 4.0.2)
99
+ railties (= 4.0.13)
100
+ sprockets-rails (~> 2.0)
101
+ railties (4.0.13)
102
+ actionpack (= 4.0.13)
103
+ activesupport (= 4.0.13)
95
104
  rake (>= 0.8.7)
96
105
  thor (>= 0.18.1, < 2.0)
97
- rake (10.1.0)
98
- rb-fsevent (0.9.3)
99
- rb-inotify (0.9.3)
100
- ffi (>= 0.5.0)
101
- redcarpet (3.0.0)
102
- rspec (2.14.1)
103
- rspec-core (~> 2.14.0)
104
- rspec-expectations (~> 2.14.0)
105
- rspec-mocks (~> 2.14.0)
106
- rspec-core (2.14.7)
107
- rspec-expectations (2.14.4)
108
- diff-lcs (>= 1.1.3, < 2.0)
109
- rspec-mocks (2.14.4)
110
- rspec-rails (2.14.0)
106
+ rake (12.0.0)
107
+ rb-fsevent (0.10.1)
108
+ rb-inotify (0.9.10)
109
+ ffi (>= 0.5.0, < 2)
110
+ redcarpet (3.4.0)
111
+ rspec (3.6.0)
112
+ rspec-core (~> 3.6.0)
113
+ rspec-expectations (~> 3.6.0)
114
+ rspec-mocks (~> 3.6.0)
115
+ rspec-core (3.6.0)
116
+ rspec-support (~> 3.6.0)
117
+ rspec-expectations (3.6.0)
118
+ diff-lcs (>= 1.2.0, < 2.0)
119
+ rspec-support (~> 3.6.0)
120
+ rspec-mocks (3.6.0)
121
+ diff-lcs (>= 1.2.0, < 2.0)
122
+ rspec-support (~> 3.6.0)
123
+ rspec-rails (3.6.0)
111
124
  actionpack (>= 3.0)
112
125
  activesupport (>= 3.0)
113
126
  railties (>= 3.0)
114
- rspec-core (~> 2.14.0)
115
- rspec-expectations (~> 2.14.0)
116
- rspec-mocks (~> 2.14.0)
117
- slop (3.4.7)
118
- sprockets (2.10.1)
119
- hike (~> 1.2)
120
- multi_json (~> 1.0)
121
- rack (~> 1.0)
122
- tilt (~> 1.1, != 1.3.0)
123
- sprockets-rails (2.0.1)
127
+ rspec-core (~> 3.6.0)
128
+ rspec-expectations (~> 3.6.0)
129
+ rspec-mocks (~> 3.6.0)
130
+ rspec-support (~> 3.6.0)
131
+ rspec-support (3.6.0)
132
+ ruby_dep (1.5.0)
133
+ shellany (0.0.1)
134
+ slop (3.6.0)
135
+ sprockets (3.7.1)
136
+ concurrent-ruby (~> 1.0)
137
+ rack (> 1, < 3)
138
+ sprockets-rails (2.3.3)
124
139
  actionpack (>= 3.0)
125
140
  activesupport (>= 3.0)
126
- sprockets (~> 2.8)
127
- sqlite3 (1.3.8)
128
- thor (0.18.1)
129
- thread_safe (0.1.3)
130
- atomic
131
- tilt (1.4.1)
132
- timers (1.1.0)
133
- treetop (1.4.15)
134
- polyglot
135
- polyglot (>= 0.3.1)
136
- tzinfo (0.3.38)
137
- xpath (2.0.0)
141
+ sprockets (>= 2.8, < 4.0)
142
+ sqlite3 (1.3.13)
143
+ thor (0.19.4)
144
+ thread_safe (0.3.6)
145
+ tzinfo (0.3.53)
146
+ xpath (2.1.0)
138
147
  nokogiri (~> 1.3)
139
- yard (0.8.7.3)
148
+ yard (0.9.9)
140
149
 
141
150
  PLATFORMS
142
151
  ruby
@@ -148,6 +157,10 @@ DEPENDENCIES
148
157
  guard-rspec
149
158
  rails (~> 4.0.0)
150
159
  redcarpet
151
- rspec-rails
160
+ rspec-expectations
161
+ rspec-rails (>= 3.6)
152
162
  sqlite3
153
163
  yard
164
+
165
+ BUNDLED WITH
166
+ 1.13.5
@@ -1,7 +1,8 @@
1
1
  module Roboto
2
2
  class RobotsController < Roboto::ApplicationController
3
3
  def show
4
- render :plain => robot_contents,
4
+ render_sym = Rails.version.split(".")[0].to_i >= 5 ? :plain : :text
5
+ render render_sym => robot_contents,
5
6
  :layout => false,
6
7
  :content_type => 'text/plain'
7
8
  end
@@ -1,4 +1,4 @@
1
1
  module Roboto
2
2
  #The effective version of roboto
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
@@ -18,6 +18,7 @@ Gem::Specification.new do |gem|
18
18
  gem.add_dependency 'rails', '>= 4.2'
19
19
 
20
20
  gem.add_development_dependency 'rspec-rails', '>= 3.6'
21
+ gem.add_development_dependency 'rspec-expectations'
21
22
  gem.add_development_dependency 'ammeter'
22
23
  gem.add_development_dependency 'capybara'
23
24
  gem.add_development_dependency 'fakefs'
@@ -8,7 +8,7 @@ describe Roboto::Generators::InstallGenerator do
8
8
 
9
9
  describe 'presence of roboto configuration file' do
10
10
  before do
11
- @env_availabe = ["roboto_env", "staging", "production"]
11
+ @env_available = ["roboto_env", "staging", "production"]
12
12
  create_fake_env
13
13
  create_routes_rb
14
14
  run_generator
@@ -40,6 +40,6 @@ describe Roboto::Generators::InstallGenerator do
40
40
  def create_fake_env
41
41
  destination = File.join(destination_root, "config/environments")
42
42
  FileUtils.mkdir_p(destination)
43
- @env_availabe.each {|env| FileUtils.touch(destination_root + "/config/environments/#{env}.rb")}
43
+ @env_available.each {|env| FileUtils.touch(destination_root + "/config/environments/#{env}.rb")}
44
44
  end
45
45
  end
@@ -6,6 +6,7 @@ require File.expand_path("../dummy/config/environment.rb", __FILE__)
6
6
 
7
7
  require 'capybara/rspec'
8
8
  require 'rspec/rails'
9
+ require 'rspec/expectations'
9
10
  require 'ammeter/init'
10
11
 
11
12
  Rails.backtrace_cleaner.remove_silencers!
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roboto
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Pickett
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-29 00:00:00.000000000 Z
11
+ date: 2017-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '3.6'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec-expectations
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: ammeter
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -217,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
217
231
  version: '0'
218
232
  requirements: []
219
233
  rubyforge_project:
220
- rubygems_version: 2.4.5.1
234
+ rubygems_version: 2.5.1
221
235
  signing_key:
222
236
  specification_version: 4
223
237
  summary: A Rails Engine to help with robots.txt