lasha 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -1
  3. data/Rakefile +19 -18
  4. data/lib/lasha/version.rb +1 -1
  5. metadata +17 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 132c0c11691cb94f1a6d766d7e2d88e6bedb4962aeef64a5f06a208180ce21fb
4
- data.tar.gz: 7a9c2fa18ee0852d21e6a569ea62193fa7058d5f00ed6ca71508b370e032f089
3
+ metadata.gz: '09eca313c8e83b2ccdd5c91f60afe38b8c939356eee8c62c1f6a5a22c02dfef9'
4
+ data.tar.gz: d9125ff70792e6bbc1dce8caf960599a6a09328a0ab9ab113d7a4f19cae0ec3f
5
5
  SHA512:
6
- metadata.gz: 719f5acf9b7e3c71df7ce90a9f0de043135c15c3b2bf3481cb338e0f73dc667aac8de2a9e6e79f25c81c0bb6377ed59e23209cba09268a7b844e47f5547c881d
7
- data.tar.gz: 77d08df8648c7a6ef687ab2baedf900a1ec11030c73e74a25255af8784055f9333261e1391be790ce079abe1805b60aa328bd4b856abc1b7f283bc88787ca3f8
6
+ metadata.gz: bd6bf026b882076b9bdc0375cd2744745b96839dbcb75ec5c1ad1e58eb21ac74d8ace20467485bcfc47cf7e70739f8124f6749d6947dac31b07373b3877786f2
7
+ data.tar.gz: 9575722d5f900706ecad365628426a978507906f725e4ff3814f2d219f14b70e525788caa755e002ad3b614255066ae39d09fdf63421a7251a2bb9705ab8ca0a
data/README.md CHANGED
@@ -39,7 +39,9 @@ index view `index.html.slim`
39
39
 
40
40
  #### Mailer helper
41
41
  Mail helper uses its own partial, just invoke:
42
- ```LashaMailer.notify("destination@email.com", "subject", "body").deliver!```
42
+ ```
43
+ LashaMailer.notify("destination@email.com", "subject", "body").deliver!
44
+ ```
43
45
 
44
46
  ## Installation
45
47
  Add this line to your application's Gemfile:
data/Rakefile CHANGED
@@ -1,32 +1,33 @@
1
1
  begin
2
- require 'bundler/setup'
2
+ require "bundler/setup"
3
3
  rescue LoadError
4
- puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
4
+ puts "You must `gem install bundler` and `bundle install` to run rake tasks"
5
5
  end
6
6
 
7
- require 'rdoc/task'
7
+ require "rdoc/task"
8
8
 
9
9
  RDoc::Task.new(:rdoc) do |rdoc|
10
- rdoc.rdoc_dir = 'rdoc'
11
- rdoc.title = 'Lasha'
12
- rdoc.options << '--line-numbers'
13
- rdoc.rdoc_files.include('README.md')
14
- rdoc.rdoc_files.include('lib/**/*.rb')
10
+ rdoc.rdoc_dir = "rdoc"
11
+ rdoc.title = "Lasha"
12
+ rdoc.options << "--line-numbers"
13
+ rdoc.rdoc_files.include("README.md")
14
+ rdoc.rdoc_files.include("lib/**/*.rb")
15
15
  end
16
16
 
17
- APP_RAKEFILE = File.expand_path("test/dummy/Rakefile", __dir__)
18
- load 'rails/tasks/engine.rake'
17
+ APP_RAKEFILE = File.expand_path("spec/dummy/Rakefile", __dir__)
18
+ load "rails/tasks/engine.rake"
19
19
 
20
- load 'rails/tasks/statistics.rake'
20
+ load "rails/tasks/statistics.rake"
21
21
 
22
- require 'bundler/gem_tasks'
22
+ require "bundler/gem_tasks"
23
23
 
24
- require 'rake/testtask'
24
+ require "rspec/core/rake_task"
25
25
 
26
- Rake::TestTask.new(:test) do |t|
27
- t.libs << 'test'
28
- t.pattern = 'test/**/*_test.rb'
29
- t.verbose = false
26
+ RSpec::Core::RakeTask.new(:spec) do |t|
27
+ t.pattern = Dir.glob("spec/**/*_spec.rb")
28
+ t.rspec_opts = "--format documentation"
29
+ # t.rspec_opts << ' more options'
30
+ t.verbose = true
30
31
  end
31
32
 
32
- task default: :test
33
+ task default: :spec
data/lib/lasha/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lasha
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lasha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lasha Abulashvili
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-01 00:00:00.000000000 Z
11
+ date: 2019-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -39,7 +39,21 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: sqlite3
42
+ name: rspec-rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.8'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.8'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pg
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
59
  - - ">="