lasha 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/Rakefile +19 -18
- data/lib/lasha/version.rb +1 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '09eca313c8e83b2ccdd5c91f60afe38b8c939356eee8c62c1f6a5a22c02dfef9'
|
4
|
+
data.tar.gz: d9125ff70792e6bbc1dce8caf960599a6a09328a0ab9ab113d7a4f19cae0ec3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
```
|
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
|
2
|
+
require "bundler/setup"
|
3
3
|
rescue LoadError
|
4
|
-
puts
|
4
|
+
puts "You must `gem install bundler` and `bundle install` to run rake tasks"
|
5
5
|
end
|
6
6
|
|
7
|
-
require
|
7
|
+
require "rdoc/task"
|
8
8
|
|
9
9
|
RDoc::Task.new(:rdoc) do |rdoc|
|
10
|
-
rdoc.rdoc_dir =
|
11
|
-
rdoc.title =
|
12
|
-
rdoc.options <<
|
13
|
-
rdoc.rdoc_files.include(
|
14
|
-
rdoc.rdoc_files.include(
|
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("
|
18
|
-
load
|
17
|
+
APP_RAKEFILE = File.expand_path("spec/dummy/Rakefile", __dir__)
|
18
|
+
load "rails/tasks/engine.rake"
|
19
19
|
|
20
|
-
load
|
20
|
+
load "rails/tasks/statistics.rake"
|
21
21
|
|
22
|
-
require
|
22
|
+
require "bundler/gem_tasks"
|
23
23
|
|
24
|
-
require
|
24
|
+
require "rspec/core/rake_task"
|
25
25
|
|
26
|
-
|
27
|
-
t.
|
28
|
-
t.
|
29
|
-
t.
|
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: :
|
33
|
+
task default: :spec
|
data/lib/lasha/version.rb
CHANGED
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.
|
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-
|
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:
|
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
|
- - ">="
|