comable 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/COMABLE_VERSION +1 -1
- data/README.md +4 -4
- data/Rakefile +9 -8
- data/lib/comable.rb +1 -0
- metadata +24 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28e3b53d27ac1fdee594902db76f80057bdbc33e
|
4
|
+
data.tar.gz: c2ea704b35d0e062a7cd1a07edbeb73dcc84d480
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22827b3ce01ad468b02f1ca476deab6e3860f1e299270140cc1b518773622cd447d92f41a3239d736dfaef827c00f9f66298a8af45678909df734f6e6962dbf9
|
7
|
+
data.tar.gz: 6286d194f6503f1c2be5cb00c7e4940ff3fd4138c8659cec18ea98f0408dc544bcae56e76cb4356a8a531ec2b1704381343985f6ced4923f961c965a97dfc19b
|
data/COMABLE_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.2
|
data/README.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# Comable
|
2
2
|
|
3
|
-
[![Build Status](https://img.shields.io/travis/
|
4
|
-
[![Code Climate](https://img.shields.io/codeclimate/github/
|
5
|
-
[![Coverage Status](https://img.shields.io/coveralls/
|
6
|
-
[![Dependency Status](https://img.shields.io/gemnasium/
|
3
|
+
[![Build Status](https://img.shields.io/travis/appirits/comable.svg?style=flat-square)](http://travis-ci.org/appirits/comable)
|
4
|
+
[![Code Climate](https://img.shields.io/codeclimate/github/appirits/comable.svg?style=flat-square)](https://codeclimate.com/github/appirits/comable)
|
5
|
+
[![Coverage Status](https://img.shields.io/coveralls/appirits/comable.svg?style=flat-square)](https://coveralls.io/r/appirits/comable)
|
6
|
+
[![Dependency Status](https://img.shields.io/gemnasium/appirits/comable.svg?style=flat-square)](https://gemnasium.com/appirits/comable)
|
7
7
|
[![Gem Version](https://img.shields.io/gem/v/comable.svg?style=flat-square)](https://rubygems.org/gems/comable)
|
8
8
|
|
9
9
|
Comable provides a simple way to add e-commerce features to your Ruby on Rails application.
|
data/Rakefile
CHANGED
@@ -16,6 +16,11 @@ end
|
|
16
16
|
APP_RAKEFILE = File.expand_path('../spec/dummy/Rakefile', __FILE__)
|
17
17
|
load 'rails/tasks/engine.rake'
|
18
18
|
|
19
|
+
def command(string)
|
20
|
+
puts string
|
21
|
+
system string
|
22
|
+
end
|
23
|
+
|
19
24
|
if File.exist?('comable.gemspec')
|
20
25
|
$LOAD_PATH.unshift File.expand_path('..', __FILE__)
|
21
26
|
require 'tasks/release'
|
@@ -45,9 +50,7 @@ if File.exist?('comable.gemspec')
|
|
45
50
|
namespace :migrate do
|
46
51
|
task :all do
|
47
52
|
FRAMEWORKS.each do |framework|
|
48
|
-
command
|
49
|
-
puts command
|
50
|
-
system command
|
53
|
+
command "cd #{framework} && test -d db/migrate && bundle exec rake db:migrate RAILS_ENV=#{Rails.env}"
|
51
54
|
end
|
52
55
|
end
|
53
56
|
end
|
@@ -59,11 +62,8 @@ if File.exist?('comable.gemspec')
|
|
59
62
|
|
60
63
|
namespace :reset do
|
61
64
|
task :all do
|
62
|
-
|
63
|
-
|
64
|
-
puts command
|
65
|
-
system command
|
66
|
-
end
|
65
|
+
command "bundle exec rake db:drop db:create RAILS_ENV=#{Rails.env}"
|
66
|
+
Rake::Task['db:migrate'].invoke
|
67
67
|
end
|
68
68
|
end
|
69
69
|
end
|
@@ -90,6 +90,7 @@ end
|
|
90
90
|
namespace :brakeman do
|
91
91
|
task :all do
|
92
92
|
FRAMEWORKS.each do |framework|
|
93
|
+
next unless File.directory?("#{framework}/app")
|
93
94
|
sh "brakeman --exit-on-warn --ignore-config .brakeman.ignore #{framework}"
|
94
95
|
end
|
95
96
|
end
|
data/lib/comable.rb
CHANGED
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.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- YOSHIDA Hiroki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: comable_core
|
@@ -16,42 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.4.
|
19
|
+
version: 0.4.2
|
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.4.
|
26
|
+
version: 0.4.2
|
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.4.
|
33
|
+
version: 0.4.2
|
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.4.
|
40
|
+
version: 0.4.2
|
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.4.
|
47
|
+
version: 0.4.2
|
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.4.
|
54
|
+
version: 0.4.2
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: comable_sample
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.4.2
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.4.2
|
55
69
|
description: Comable provides a simple way to add e-commerce features to your Ruby
|
56
70
|
on Rails application.
|
57
71
|
email:
|
@@ -66,7 +80,7 @@ files:
|
|
66
80
|
- Rakefile
|
67
81
|
- lib/comable.rb
|
68
82
|
- lib/comable/version.rb
|
69
|
-
homepage: https://github.com/
|
83
|
+
homepage: https://github.com/appirits/comable#comable
|
70
84
|
licenses:
|
71
85
|
- MIT
|
72
86
|
metadata: {}
|
@@ -86,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
100
|
version: '0'
|
87
101
|
requirements: []
|
88
102
|
rubyforge_project:
|
89
|
-
rubygems_version: 2.
|
103
|
+
rubygems_version: 2.2.2
|
90
104
|
signing_key:
|
91
105
|
specification_version: 4
|
92
106
|
summary: Comable provides a simple way to add e-commerce features to your Ruby on
|