comable 0.2.3 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/README.md +3 -1
- data/Rakefile +16 -4
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c793bd076f9ba1bb1b91783792ee77e44b1bbc9b
|
4
|
+
data.tar.gz: 466f5d3274bf6def41745aaaaf70bc39a0ad321e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65407cda6769c1acbaea25e45493c6316edf847b232f6081fee585e53c520f8282b35634eb15a7e5c8c4c8ef76e4ec89c85f98df82cb312534a47d8e7ff60058
|
7
|
+
data.tar.gz: 0158a9adf1604ce112230d35a7f8ed9fd1eed1fdf50e2d18f06dd3aef5faaa5c8a9d1e88cd97fffae8eff7d53b6b9b80e99ceee84a523ba865e69b2c561772e8
|
data/MIT-LICENSE
CHANGED
data/README.md
CHANGED
@@ -9,9 +9,11 @@ Comable provides a simple way to add e-commerce features to your Ruby on Rails a
|
|
9
9
|
|
10
10
|
## Installation
|
11
11
|
|
12
|
-
1. Add comable in the `Gemfile`:
|
12
|
+
1. Add comable and a source in the `Gemfile`:
|
13
13
|
|
14
14
|
```ruby
|
15
|
+
source 'https://rails-assets.org'
|
16
|
+
|
15
17
|
gem 'comable'
|
16
18
|
```
|
17
19
|
|
data/Rakefile
CHANGED
@@ -69,16 +69,28 @@ if File.exist?('comable.gemspec')
|
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
72
|
-
task default: ['app:spec:all', 'rubocop']
|
72
|
+
task default: ['app:spec:all', 'rubocop', 'brakeman:all']
|
73
|
+
else
|
74
|
+
task default: ['app:spec', 'rubocop', 'brakeman']
|
73
75
|
end
|
74
76
|
|
75
|
-
task default: ['app:spec', 'rubocop']
|
76
|
-
|
77
77
|
Bundler::GemHelper.install_tasks
|
78
78
|
|
79
79
|
# from https://github.com/rspec/rspec-rails/issues/936
|
80
80
|
task 'test:prepare'
|
81
81
|
|
82
82
|
task :rubocop do
|
83
|
-
|
83
|
+
sh 'rubocop'
|
84
|
+
end
|
85
|
+
|
86
|
+
task :brakeman do
|
87
|
+
sh 'brakeman --exit-on-warn --ignore-config .brakeman.ignore'
|
88
|
+
end
|
89
|
+
|
90
|
+
namespace :brakeman do
|
91
|
+
task :all do
|
92
|
+
FRAMEWORKS.each do |framework|
|
93
|
+
sh "brakeman --exit-on-warn --ignore-config .brakeman.ignore #{framework}"
|
94
|
+
end
|
95
|
+
end
|
84
96
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: comable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- YOSHIDA Hiroki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: comable_core
|
@@ -16,42 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.3.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.3.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: comable_frontend
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.3.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.3.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: comable_backend
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.3.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.3.0
|
55
55
|
description: Comable provides a simple way to add e-commerce features to your Ruby
|
56
56
|
on Rails application.
|
57
57
|
email:
|