shopqi-app 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -23,6 +23,5 @@ end
23
23
  APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
24
24
  load 'rails/tasks/engine.rake'
25
25
 
26
-
27
26
  Bundler::GemHelper.install_tasks
28
27
 
@@ -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号
@@ -1,3 +1,3 @@
1
1
  module ShopQiApp
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
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.3
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-16 00:00:00.000000000 Z
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: 678150255
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: 678150255
200
+ hash: -226147441
201
201
  requirements: []
202
202
  rubyforge_project:
203
203
  rubygems_version: 1.8.24