shopqi-app 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Rakefile
CHANGED
|
@@ -13,10 +13,6 @@ class ShopQiAppGenerator < Rails::Generators::Base
|
|
|
13
13
|
template 'config/app_secret_config.yml.erb', 'config/app_secret_config.yml'
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
-
def install_migration
|
|
17
|
-
migration_template 'db/migrate/create_shops.rb', 'db/migrate/create_shops.rb'
|
|
18
|
-
end
|
|
19
|
-
|
|
20
16
|
def remove_files
|
|
21
17
|
remove_file 'public/index.html'
|
|
22
18
|
remove_file 'app/assets/javascripts/application.js'
|
|
@@ -29,6 +25,10 @@ class ShopQiAppGenerator < Rails::Generators::Base
|
|
|
29
25
|
route "root :to => 'home#index'"
|
|
30
26
|
end
|
|
31
27
|
|
|
28
|
+
def install_migration
|
|
29
|
+
migration_template 'db/migrate/create_shops.rb', 'db/migrate/create_shops.rb'
|
|
30
|
+
end
|
|
31
|
+
|
|
32
32
|
def show
|
|
33
33
|
readme "README"
|
|
34
34
|
end
|
|
@@ -4,6 +4,9 @@ defaults: &defaults
|
|
|
4
4
|
secret: <%= client_secret %>
|
|
5
5
|
scope: 'read_products read_orders'
|
|
6
6
|
callback_path: '/callback'
|
|
7
|
+
domain:
|
|
8
|
+
host: 'lvh.me:3000'
|
|
9
|
+
record: 粤ICP备11089804号
|
|
7
10
|
|
|
8
11
|
development:
|
|
9
12
|
<<: *defaults
|
|
@@ -18,3 +21,6 @@ production:
|
|
|
18
21
|
client_secret: <%= client_secret %>
|
|
19
22
|
scope: 'read_products read_orders'
|
|
20
23
|
callback_path: '/callback'
|
|
24
|
+
domain:
|
|
25
|
+
host: 'example.shopqiapp.com'
|
|
26
|
+
record: 粤ICP备11089804号
|
data/lib/shopqi_app/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shopqi-app
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.4
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-07-
|
|
12
|
+
date: 2012-07-17 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -188,7 +188,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
188
188
|
version: '0'
|
|
189
189
|
segments:
|
|
190
190
|
- 0
|
|
191
|
-
hash:
|
|
191
|
+
hash: -226147441
|
|
192
192
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
193
193
|
none: false
|
|
194
194
|
requirements:
|
|
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
197
197
|
version: '0'
|
|
198
198
|
segments:
|
|
199
199
|
- 0
|
|
200
|
-
hash:
|
|
200
|
+
hash: -226147441
|
|
201
201
|
requirements: []
|
|
202
202
|
rubyforge_project:
|
|
203
203
|
rubygems_version: 1.8.24
|