blueprinter-rb 1.0.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/blueprinter/configuration.rb +10 -1
- data/lib/blueprinter/helpers/type_helpers.rb +3 -5
- data/lib/blueprinter/version.rb +1 -1
- data/lib/blueprinter/view_collection.rb +6 -8
- metadata +15 -20
- data/CHANGELOG.md +0 -167
- data/README.md +0 -1050
- data/Rakefile +0 -30
data/Rakefile
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
require 'rdoc/task'
|
2
|
-
require 'bundler/gem_tasks'
|
3
|
-
require 'rake/testtask'
|
4
|
-
require 'rspec/core/rake_task'
|
5
|
-
|
6
|
-
begin
|
7
|
-
require 'bundler/setup'
|
8
|
-
rescue LoadError
|
9
|
-
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
10
|
-
end
|
11
|
-
|
12
|
-
RDoc::Task.new(:rdoc) do |rdoc|
|
13
|
-
rdoc.rdoc_dir = 'rdoc'
|
14
|
-
rdoc.title = 'Blueprinter'
|
15
|
-
rdoc.options << '--line-numbers'
|
16
|
-
rdoc.rdoc_files.include('README.md')
|
17
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
18
|
-
end
|
19
|
-
|
20
|
-
RSpec::Core::RakeTask.new(:spec) do |t|
|
21
|
-
t.rspec_opts = '--pattern spec/**/*_spec.rb --warnings'
|
22
|
-
end
|
23
|
-
|
24
|
-
Rake::TestTask.new(:benchmarks) do |t|
|
25
|
-
t.libs << 'spec'
|
26
|
-
t.pattern = 'spec/benchmarks/**/*_test.rb'
|
27
|
-
t.verbose = false
|
28
|
-
end
|
29
|
-
|
30
|
-
task default: :spec
|