comable 0.2.3 → 0.3.0

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/MIT-LICENSE +1 -1
  3. data/README.md +3 -1
  4. data/Rakefile +16 -4
  5. metadata +8 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cd54f83f823bc8f794476837924ef5181a9d1f7d
4
- data.tar.gz: b1261ff80198f57aa07f72f9a9de4fad24662d14
3
+ metadata.gz: c793bd076f9ba1bb1b91783792ee77e44b1bbc9b
4
+ data.tar.gz: 466f5d3274bf6def41745aaaaf70bc39a0ad321e
5
5
  SHA512:
6
- metadata.gz: d9bcdb3ae2013a69eb2c6acd019ef3807d7165893c31bc784540d38f50e9d4fa93f3ba8e644222cfd72ac3dcd9e6db794c9d52c4810c6fccb3db151b48a7a1fe
7
- data.tar.gz: 64b48f729651975fcf49b0927724f705e9046f88f27a02773fa0fe0c3b30e3c078657c5b892d7ccd0302dd97db6b66a2c5f1df770cabe9245a7230ce5fa5d07c
6
+ metadata.gz: 65407cda6769c1acbaea25e45493c6316edf847b232f6081fee585e53c520f8282b35634eb15a7e5c8c4c8ef76e4ec89c85f98df82cb312534a47d8e7ff60058
7
+ data.tar.gz: 0158a9adf1604ce112230d35a7f8ed9fd1eed1fdf50e2d18f06dd3aef5faaa5c8a9d1e88cd97fffae8eff7d53b6b9b80e99ceee84a523ba865e69b2c561772e8
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2013 YOURNAME
1
+ Copyright 2015 YOSHIDA Hiroki
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
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
- exec 'rubocop'
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.2.3
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: 2014-11-29 00:00:00.000000000 Z
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.2.3
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.2.3
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.2.3
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.2.3
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.2.3
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.2.3
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: