sape 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +22 -0
  3. data/.travis.yml +11 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +61 -0
  7. data/Rakefile +27 -0
  8. data/lib/app/assets/stylesheets/sape.css +1 -0
  9. data/lib/app/helpers/sape_helper.rb +36 -0
  10. data/lib/app/models/sape_config.rb +15 -0
  11. data/lib/app/models/sape_link.rb +3 -0
  12. data/lib/app/views/sape/_link.html.erb +8 -0
  13. data/lib/app/views/sape/links.html.erb +6 -0
  14. data/lib/generators/sape/migration_generator.rb +19 -0
  15. data/lib/generators/sape/templates/migration.rb +18 -0
  16. data/lib/generators/sape/views_generator.rb +10 -0
  17. data/lib/sape/fetcher.rb +62 -0
  18. data/lib/sape/railtie.rb +5 -0
  19. data/lib/sape/version.rb +3 -0
  20. data/lib/sape.rb +16 -0
  21. data/lib/tasks/sape.rake +28 -0
  22. data/sape.gemspec +35 -0
  23. data/spec/.rspec +2 -0
  24. data/spec/dummy/.gitignore +16 -0
  25. data/spec/dummy/Gemfile +41 -0
  26. data/spec/dummy/Guardfile +24 -0
  27. data/spec/dummy/README.rdoc +28 -0
  28. data/spec/dummy/Rakefile +6 -0
  29. data/spec/dummy/app/assets/images/.keep +0 -0
  30. data/spec/dummy/app/assets/javascripts/application.js +16 -0
  31. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  32. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  33. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  34. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  35. data/spec/dummy/app/mailers/.keep +0 -0
  36. data/spec/dummy/app/models/.keep +0 -0
  37. data/spec/dummy/app/models/concerns/.keep +0 -0
  38. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  39. data/spec/dummy/bin/bundle +3 -0
  40. data/spec/dummy/bin/rails +8 -0
  41. data/spec/dummy/bin/rake +8 -0
  42. data/spec/dummy/bin/spring +18 -0
  43. data/spec/dummy/config/application.rb +23 -0
  44. data/spec/dummy/config/boot.rb +4 -0
  45. data/spec/dummy/config/database.yml +25 -0
  46. data/spec/dummy/config/environment.rb +5 -0
  47. data/spec/dummy/config/environments/development.rb +37 -0
  48. data/spec/dummy/config/environments/production.rb +83 -0
  49. data/spec/dummy/config/environments/test.rb +39 -0
  50. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  51. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  52. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  53. data/spec/dummy/config/initializers/inflections.rb +16 -0
  54. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  55. data/spec/dummy/config/initializers/session_store.rb +3 -0
  56. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  57. data/spec/dummy/config/locales/en.yml +23 -0
  58. data/spec/dummy/config/routes.rb +56 -0
  59. data/spec/dummy/config/secrets.yml +22 -0
  60. data/spec/dummy/config.ru +4 -0
  61. data/spec/dummy/db/migrate/20140715193855_create_sape_storage.rb +18 -0
  62. data/spec/dummy/db/schema.rb +32 -0
  63. data/spec/dummy/db/seeds.rb +7 -0
  64. data/spec/dummy/lib/assets/.keep +0 -0
  65. data/spec/dummy/lib/tasks/.keep +0 -0
  66. data/spec/dummy/log/.keep +0 -0
  67. data/spec/dummy/public/404.html +67 -0
  68. data/spec/dummy/public/422.html +67 -0
  69. data/spec/dummy/public/500.html +66 -0
  70. data/spec/dummy/public/favicon.ico +0 -0
  71. data/spec/dummy/public/robots.txt +5 -0
  72. data/spec/dummy/test/controllers/.keep +0 -0
  73. data/spec/dummy/test/fixtures/.keep +0 -0
  74. data/spec/dummy/test/helpers/.keep +0 -0
  75. data/spec/dummy/test/integration/.keep +0 -0
  76. data/spec/dummy/test/mailers/.keep +0 -0
  77. data/spec/dummy/test/models/.keep +0 -0
  78. data/spec/dummy/test/test_helper.rb +13 -0
  79. data/spec/dummy/vendor/assets/javascripts/.keep +0 -0
  80. data/spec/dummy/vendor/assets/stylesheets/.keep +0 -0
  81. data/spec/fixtures/response.json +0 -0
  82. data/spec/fixtures/sape.yml +3 -0
  83. data/spec/helpers/sape_helper_spec.rb +39 -0
  84. data/spec/lib/tasks/sape_rake_spec.rb +49 -0
  85. data/spec/models/sape_config_spec.rb +28 -0
  86. data/spec/models/sape_link_spec.rb +21 -0
  87. data/spec/spec_helper.rb +20 -0
  88. data/spec/support/shared_contexts/rake.rb +22 -0
  89. metadata +379 -0
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
File without changes
@@ -0,0 +1,5 @@
1
+ # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
2
+ #
3
+ # To ban all spiders from the entire site uncomment the next two lines:
4
+ # User-agent: *
5
+ # Disallow: /
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,13 @@
1
+ ENV['RAILS_ENV'] ||= 'test'
2
+ require File.expand_path('../../config/environment', __FILE__)
3
+ require 'rails/test_help'
4
+
5
+ class ActiveSupport::TestCase
6
+ # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
7
+ #
8
+ # Note: You'll currently still have to declare fixtures explicitly in integration tests
9
+ # -- they do not yet inherit this setting
10
+ fixtures :all
11
+
12
+ # Add more helper methods to be used by all tests here...
13
+ end
File without changes
File without changes
File without changes
@@ -0,0 +1,3 @@
1
+ sape_user: abcdefg
2
+ host: kremlin.ru
3
+ charset: UTF-8
@@ -0,0 +1,39 @@
1
+ require 'spec_helper'
2
+ require 'app/helpers/sape_helper'
3
+
4
+ describe SapeHelper, :type => :helper do
5
+ describe '#sape_links' do
6
+
7
+ subject { helper.sape_links_block }
8
+
9
+ before do
10
+ helper.request.path = '/'
11
+ allow(SapeLink).to receive(:where).with(page: '/', link_type: "simple")
12
+ .and_return([
13
+ mock_model(SapeLink,
14
+ page: '/',
15
+ url: 'http://kremlin.ru',
16
+ anchor: 'See some stuff',
17
+ text: 'Visit Kremlin',
18
+ host: 'kremlin.ru',
19
+ raw_link: 'Visit Kremlin <a href="http://kremlin.ru">See some stuff</a>',
20
+ link_type: "simple"
21
+ )])
22
+ end
23
+
24
+ it { is_expected.to include('kremlin.ru') }
25
+ it { is_expected.to include('See some stuff') }
26
+ it { is_expected.to include('Visit Kremlin') }
27
+
28
+ describe 'recognized as bot' do
29
+ before do
30
+ helper.request.remote_addr = '127.0.0.1'
31
+ allow(SapeConfig).to receive(:bot_ips).and_return(['127.0.0.1'])
32
+ allow(SapeConfig).to receive(:check_code).and_return('<!--check_code-->')
33
+ end
34
+
35
+ it { is_expected.to include('<!--check_code-->') }
36
+
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,49 @@
1
+ require 'spec_helper'
2
+
3
+ describe 'sape:fetch' do
4
+ include_context 'rake'
5
+
6
+ its(:prerequisites) { should include('environment') }
7
+
8
+ describe 'Without config file' do
9
+
10
+ it 'should fails with message' do
11
+ expect { subject.invoke }
12
+ .to raise_exception(RuntimeError, 'Config file not found (config/sape.yml)')
13
+ end
14
+
15
+ end
16
+
17
+ describe 'With config file' do
18
+
19
+ # ACTIVATE, THEN SAPE CREATE FAKE URL FOR DISPENSER REQUEST
20
+ # let(:config) { YAML.load(File.open(Rails.root.join('spec', 'fixtures', 'sape.yml'))) }
21
+ # let(:response) { File.open(Rails.root.join('spec', 'fixtures', 'response.json')) }
22
+ # #let(:url) { 'FAKE_LINK_TO_SAPE' }
23
+
24
+ # before do
25
+ # allow(YAML).to receive(:load_file).with('config/sape.yml').and_return(config)
26
+ # #FakeWeb.register_uri(:any, url, body: response)
27
+ # allow_any_instance_of(SapeConfig).to receive(:delete_all).and_return(:true)
28
+ # allow_any_instance_of(SapeLink).to receive(:delete_all).and_return(:true)
29
+ # end
30
+
31
+ # it 'should fetch xml file' do
32
+ # subject.invoke
33
+ # expect(FakeWeb).to have_requested(:get, url)
34
+ # end
35
+
36
+ # it 'should fails if could not get file' do
37
+ # FakeWeb.register_uri(:any, url, status: 404)
38
+ # expect { subject.invoke }
39
+ # .to raise_exception(RuntimeError, 'Could not receive data')
40
+ # end
41
+
42
+ # it 'should add data' do
43
+ # subject.invoke
44
+ # expect(SapeConfig.count).to eq 7
45
+ # expect(SapeLink.count).to eq 1
46
+ # end
47
+ end
48
+
49
+ end
@@ -0,0 +1,28 @@
1
+ require 'spec_helper'
2
+
3
+ describe SapeConfig, :type => :model do
4
+ before do
5
+ SapeConfig.delete_all
6
+ end
7
+
8
+ context '#check_code' do
9
+ it 'should return check code' do
10
+ SapeConfig.create name: 'sape_new_url', value: '<!--check_code-->'
11
+ expect(SapeConfig.check_code).to eq('<!--check_code-->')
12
+ end
13
+ end
14
+
15
+ context '#delimiter' do
16
+ it 'should return delimiter' do
17
+ SapeConfig.create name: 'sape_delimiter', value: ', '
18
+ expect(SapeConfig.delimiter).to eq(', ')
19
+ end
20
+ end
21
+
22
+ context '#bot_ips' do
23
+ it 'should return bot ips array' do
24
+ SapeConfig.create name: 'ip', value: '127.0.0.1'
25
+ expect(SapeConfig.bot_ips).to eq(['127.0.0.1'])
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,21 @@
1
+ require 'spec_helper'
2
+
3
+ describe SapeLink, :type => :model do
4
+ before do
5
+ SapeLink.delete_all
6
+ end
7
+
8
+ context '#host' do
9
+ it 'should return host without path' do
10
+ link = SapeLink.create(
11
+ page: '/test',
12
+ anchor: 'You must see',
13
+ url: 'http://kremlin.ru/rss',
14
+ host: 'kremlin.ru',
15
+ raw_link: '',
16
+ link_type: "simple"
17
+ )
18
+ expect(link.host).to eq('kremlin.ru')
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,20 @@
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+
4
+ ENV['RAILS_ENV'] ||= 'test'
5
+
6
+ require File.expand_path('../dummy/config/environment', __FILE__)
7
+
8
+ require 'rspec/rails'
9
+ require 'rspec/its'
10
+ require 'rspec/active_model/mocks'
11
+ require 'fakeweb'
12
+ require 'fakeweb_matcher'
13
+ require 'json'
14
+ require 'sape'
15
+
16
+ Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
17
+
18
+ RSpec.configure do |config|
19
+ # some (optional) config here
20
+ end
@@ -0,0 +1,22 @@
1
+ require 'rake'
2
+
3
+ shared_context 'rake' do
4
+ let(:rake) { Rake::Application.new }
5
+ let(:task_name) { self.class.top_level_description }
6
+ let(:task_path) { "../../lib/tasks/#{task_name.split(":").first}" }
7
+ subject { rake[task_name] }
8
+
9
+ def loaded_files_excluding_current_rake_file
10
+ $LOADED_FEATURES
11
+ .reject { |file| file == Rails.root.join("#{task_path}.rake").to_s }
12
+ end
13
+
14
+ before do
15
+ Rake.application = rake
16
+ Rake.application.rake_require(task_path,
17
+ [Rails.root.to_s],
18
+ loaded_files_excluding_current_rake_file)
19
+
20
+ Rake::Task.define_task(:environment)
21
+ end
22
+ end
metadata ADDED
@@ -0,0 +1,379 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sape
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.5
5
+ platform: ruby
6
+ authors:
7
+ - Pavel Rodionov
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-07-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 3.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 3.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: nokogiri
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: domainatrix
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: json
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec-rails
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec-its
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rspec-activemodel-mocks
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: fakeweb
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: fakeweb-matcher
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: bundler
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '1.6'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '1.6'
167
+ - !ruby/object:Gem::Dependency
168
+ name: rake
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: sqlite3
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ description: Sape.ru links exchange system integration
196
+ email:
197
+ - pasha.rod@mail.ru
198
+ executables: []
199
+ extensions: []
200
+ extra_rdoc_files: []
201
+ files:
202
+ - ".gitignore"
203
+ - ".travis.yml"
204
+ - Gemfile
205
+ - LICENSE.txt
206
+ - README.md
207
+ - Rakefile
208
+ - lib/app/assets/stylesheets/sape.css
209
+ - lib/app/helpers/sape_helper.rb
210
+ - lib/app/models/sape_config.rb
211
+ - lib/app/models/sape_link.rb
212
+ - lib/app/views/sape/_link.html.erb
213
+ - lib/app/views/sape/links.html.erb
214
+ - lib/generators/sape/migration_generator.rb
215
+ - lib/generators/sape/templates/migration.rb
216
+ - lib/generators/sape/views_generator.rb
217
+ - lib/sape.rb
218
+ - lib/sape/fetcher.rb
219
+ - lib/sape/railtie.rb
220
+ - lib/sape/version.rb
221
+ - lib/tasks/sape.rake
222
+ - sape.gemspec
223
+ - spec/.rspec
224
+ - spec/dummy/.gitignore
225
+ - spec/dummy/Gemfile
226
+ - spec/dummy/Guardfile
227
+ - spec/dummy/README.rdoc
228
+ - spec/dummy/Rakefile
229
+ - spec/dummy/app/assets/images/.keep
230
+ - spec/dummy/app/assets/javascripts/application.js
231
+ - spec/dummy/app/assets/stylesheets/application.css
232
+ - spec/dummy/app/controllers/application_controller.rb
233
+ - spec/dummy/app/controllers/concerns/.keep
234
+ - spec/dummy/app/helpers/application_helper.rb
235
+ - spec/dummy/app/mailers/.keep
236
+ - spec/dummy/app/models/.keep
237
+ - spec/dummy/app/models/concerns/.keep
238
+ - spec/dummy/app/views/layouts/application.html.erb
239
+ - spec/dummy/bin/bundle
240
+ - spec/dummy/bin/rails
241
+ - spec/dummy/bin/rake
242
+ - spec/dummy/bin/spring
243
+ - spec/dummy/config.ru
244
+ - spec/dummy/config/application.rb
245
+ - spec/dummy/config/boot.rb
246
+ - spec/dummy/config/database.yml
247
+ - spec/dummy/config/environment.rb
248
+ - spec/dummy/config/environments/development.rb
249
+ - spec/dummy/config/environments/production.rb
250
+ - spec/dummy/config/environments/test.rb
251
+ - spec/dummy/config/initializers/backtrace_silencers.rb
252
+ - spec/dummy/config/initializers/cookies_serializer.rb
253
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
254
+ - spec/dummy/config/initializers/inflections.rb
255
+ - spec/dummy/config/initializers/mime_types.rb
256
+ - spec/dummy/config/initializers/session_store.rb
257
+ - spec/dummy/config/initializers/wrap_parameters.rb
258
+ - spec/dummy/config/locales/en.yml
259
+ - spec/dummy/config/routes.rb
260
+ - spec/dummy/config/secrets.yml
261
+ - spec/dummy/db/migrate/20140715193855_create_sape_storage.rb
262
+ - spec/dummy/db/schema.rb
263
+ - spec/dummy/db/seeds.rb
264
+ - spec/dummy/lib/assets/.keep
265
+ - spec/dummy/lib/tasks/.keep
266
+ - spec/dummy/log/.keep
267
+ - spec/dummy/public/404.html
268
+ - spec/dummy/public/422.html
269
+ - spec/dummy/public/500.html
270
+ - spec/dummy/public/favicon.ico
271
+ - spec/dummy/public/robots.txt
272
+ - spec/dummy/test/controllers/.keep
273
+ - spec/dummy/test/fixtures/.keep
274
+ - spec/dummy/test/helpers/.keep
275
+ - spec/dummy/test/integration/.keep
276
+ - spec/dummy/test/mailers/.keep
277
+ - spec/dummy/test/models/.keep
278
+ - spec/dummy/test/test_helper.rb
279
+ - spec/dummy/vendor/assets/javascripts/.keep
280
+ - spec/dummy/vendor/assets/stylesheets/.keep
281
+ - spec/fixtures/response.json
282
+ - spec/fixtures/sape.yml
283
+ - spec/helpers/sape_helper_spec.rb
284
+ - spec/lib/tasks/sape_rake_spec.rb
285
+ - spec/models/sape_config_spec.rb
286
+ - spec/models/sape_link_spec.rb
287
+ - spec/spec_helper.rb
288
+ - spec/support/shared_contexts/rake.rb
289
+ homepage: ''
290
+ licenses:
291
+ - MIT
292
+ metadata: {}
293
+ post_install_message:
294
+ rdoc_options: []
295
+ require_paths:
296
+ - lib
297
+ required_ruby_version: !ruby/object:Gem::Requirement
298
+ requirements:
299
+ - - ">="
300
+ - !ruby/object:Gem::Version
301
+ version: '0'
302
+ required_rubygems_version: !ruby/object:Gem::Requirement
303
+ requirements:
304
+ - - ">="
305
+ - !ruby/object:Gem::Version
306
+ version: '0'
307
+ requirements: []
308
+ rubyforge_project:
309
+ rubygems_version: 2.2.2
310
+ signing_key:
311
+ specification_version: 4
312
+ summary: Sape.ru Ruby On Rails module
313
+ test_files:
314
+ - spec/.rspec
315
+ - spec/dummy/.gitignore
316
+ - spec/dummy/Gemfile
317
+ - spec/dummy/Guardfile
318
+ - spec/dummy/README.rdoc
319
+ - spec/dummy/Rakefile
320
+ - spec/dummy/app/assets/images/.keep
321
+ - spec/dummy/app/assets/javascripts/application.js
322
+ - spec/dummy/app/assets/stylesheets/application.css
323
+ - spec/dummy/app/controllers/application_controller.rb
324
+ - spec/dummy/app/controllers/concerns/.keep
325
+ - spec/dummy/app/helpers/application_helper.rb
326
+ - spec/dummy/app/mailers/.keep
327
+ - spec/dummy/app/models/.keep
328
+ - spec/dummy/app/models/concerns/.keep
329
+ - spec/dummy/app/views/layouts/application.html.erb
330
+ - spec/dummy/bin/bundle
331
+ - spec/dummy/bin/rails
332
+ - spec/dummy/bin/rake
333
+ - spec/dummy/bin/spring
334
+ - spec/dummy/config.ru
335
+ - spec/dummy/config/application.rb
336
+ - spec/dummy/config/boot.rb
337
+ - spec/dummy/config/database.yml
338
+ - spec/dummy/config/environment.rb
339
+ - spec/dummy/config/environments/development.rb
340
+ - spec/dummy/config/environments/production.rb
341
+ - spec/dummy/config/environments/test.rb
342
+ - spec/dummy/config/initializers/backtrace_silencers.rb
343
+ - spec/dummy/config/initializers/cookies_serializer.rb
344
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
345
+ - spec/dummy/config/initializers/inflections.rb
346
+ - spec/dummy/config/initializers/mime_types.rb
347
+ - spec/dummy/config/initializers/session_store.rb
348
+ - spec/dummy/config/initializers/wrap_parameters.rb
349
+ - spec/dummy/config/locales/en.yml
350
+ - spec/dummy/config/routes.rb
351
+ - spec/dummy/config/secrets.yml
352
+ - spec/dummy/db/migrate/20140715193855_create_sape_storage.rb
353
+ - spec/dummy/db/schema.rb
354
+ - spec/dummy/db/seeds.rb
355
+ - spec/dummy/lib/assets/.keep
356
+ - spec/dummy/lib/tasks/.keep
357
+ - spec/dummy/log/.keep
358
+ - spec/dummy/public/404.html
359
+ - spec/dummy/public/422.html
360
+ - spec/dummy/public/500.html
361
+ - spec/dummy/public/favicon.ico
362
+ - spec/dummy/public/robots.txt
363
+ - spec/dummy/test/controllers/.keep
364
+ - spec/dummy/test/fixtures/.keep
365
+ - spec/dummy/test/helpers/.keep
366
+ - spec/dummy/test/integration/.keep
367
+ - spec/dummy/test/mailers/.keep
368
+ - spec/dummy/test/models/.keep
369
+ - spec/dummy/test/test_helper.rb
370
+ - spec/dummy/vendor/assets/javascripts/.keep
371
+ - spec/dummy/vendor/assets/stylesheets/.keep
372
+ - spec/fixtures/response.json
373
+ - spec/fixtures/sape.yml
374
+ - spec/helpers/sape_helper_spec.rb
375
+ - spec/lib/tasks/sape_rake_spec.rb
376
+ - spec/models/sape_config_spec.rb
377
+ - spec/models/sape_link_spec.rb
378
+ - spec/spec_helper.rb
379
+ - spec/support/shared_contexts/rake.rb