Skip to content

Commit

Permalink
Merge branch 'release/v0.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
saberma committed Aug 7, 2012
2 parents 52bb14b + 463c73d commit e280421
Show file tree
Hide file tree
Showing 60 changed files with 646 additions and 556 deletions.
25 changes: 3 additions & 22 deletions .travis.yml
Expand Up @@ -4,39 +4,20 @@ rvm: 1.9.3

# RubyPython::PyObject::FFI (NameError)
# https://github.com/travis-ci/travis-ci/issues/557#issuecomment-5919720
before_install: gem uninstall ffi -a
# before_install: gem uninstall ffi -a

# request headless test
before_script: sh -e /etc/init.d/xvfb start

script:
- "cp config/database.yml.example.postgresql config/database.yml 2>&1"
- "cp config/app_secret_config.yml.example config/app_secret_config.yml 2>&1"
#- "bundle exec rake travis:init_db"
- "bundle exec rake db:drop db:create db:schema:load --trace 2>&1"
- "bundle exec rake travis:parallel"
- "time bundle exec rake db:drop db:create db:schema:load --trace 2>&1"
- "time bundle exec rake travis:parallel"

env:
- UNIT_TEST=1 # 单元测试1
- UNIT_TEST=2 # 单元测试2
- UNIT_TEST=3 # 单元测试3
- UNIT_TEST=4 # 单元测试4
- UNIT_TEST=5 # 单元测试5
- UNIT_TEST=6 # 单元测试6
- UNIT_TEST=7 # 单元测试7
- UNIT_TEST=8 # 单元测试8
- INTEGRATE_TEST=1 # 集成测试1
- INTEGRATE_TEST=2 # 集成测试2
- INTEGRATE_TEST=3 # 集成测试3
- INTEGRATE_TEST=4 # 集成测试4
- INTEGRATE_TEST=5 # 集成测试5
- INTEGRATE_TEST=6 # 集成测试6
- INTEGRATE_TEST=7 # 集成测试7
- INTEGRATE_TEST=8 # 集成测试8

#notifications:
# recipients:
# - mahb45@gmail.com

timeouts:
bundle: 1200
18 changes: 18 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,21 @@
## v0.2.0 / 2012-06-17 (9)

### 功能(7):

1. Upgrade to Rails3.2.6[saberma] #461
2. rake db:seed或者db:seed:development:shop 报错[saberma] #459
3. 商店支持 WebHook[saberma] #457
4. 后台管理显示已安装应用[saberma] #456
5. 商品详情的图片要使用绝对路径[saberma] #453
6. 用户可以安装应用[saberma] #183
7. 开发app应用示例[saberma] #114

### 缺陷(2):

1. 后台管理日志未显示操作人名称[saberma] #455
2. 批量修改库存刷新后不生效[saberma] #454


## v0.1.10 / 2012-04-15 (24)

### 功能(12):
Expand Down
17 changes: 8 additions & 9 deletions Gemfile
@@ -1,11 +1,11 @@
#rails new . -d postgresql -T -J
source 'http://rubygems.org'

gem 'rails', '3.2.6'
gem 'rails', '3.2.7'

##### 实体相关 #####
gem 'pg'
gem 'devise', '~> 1.4.9'
gem 'devise', '~> 2.1.2'
gem 'sass-rails' # 放在assets分组会报错 http://j.mp/oj7y6K


Expand All @@ -16,15 +16,15 @@ gem 'acts_as_list', git: 'git://github.com/saberma/acts_as_list.git' # 支持同
gem 'unicorn'

gem 'default_value_for'
gem 'sunspot_rails', "~> 1.3.0.rc6"
gem 'sunspot_rails', '~> 1.3.3'

gem 'active_hash' # 用于保存配置型(枚举)记录
gem 'kaminari' # 分页
#用于处理图片(缩略图)
gem 'dragonfly', ' ~> 0.9.8'
gem 'rack-cache', require: 'rack/cache'
gem 'liquid','~> 2.3.0' #模板语言
gem "carrierwave"
gem "carrierwave", '~> 0.6.2'
gem 'meta_search', '~> 1.1.1' #查询
gem 'squeel'
gem 'seedbank' # 分离出各个环境下的seed
Expand All @@ -45,16 +45,16 @@ gem "activemerchant" # 支付
gem "activemerchant_patch_for_china", git: "git://github.com/saberma/activemerchant_patch_for_china.git" # 支持多个支付帐户(待完成其他财付通等类型后再send pull request)
gem "httparty"
#gem "resque" # 后台任务
gem "resque", git: 'git://github.com/defunkt/resque.git' # 1.19.0之后的版本才支持后台运行
gem "resque-scheduler", git: 'git://github.com/bvandenbos/resque-scheduler.git' # 最新版本才支持后台运行
gem "resque", "~> 1.21.0"
gem "resque-scheduler", "~> 2.0.0"
gem "chinese_pinyin" # 汉字转拼音
gem "nokogiri" # 解释模板config/settings.html
gem "uuid" # 生成36位(或32位)唯一序列号
gem 'settingslogic' #用于解析一些配置信息
#gem 'rack-perftools_profiler', :require => 'rack/perftools_profiler'
gem 'grit', git: 'git://github.com/mojombo/grit.git' # 主题版本控制(每个商店主题都是一个git repository) # 2.4.1版本存在此问题 http://j.mp/uoEKw1
gem 'doorkeeper', '~> 0.4.0'
gem "oauth2", "~> 0.5.2" # 0.6.1 版本依赖 multi_json 1.3,与 rails 3.1.5 冲突,0.6.1 以上版本依赖 rack 1.4,与 resque 依赖 1.3 冲突
gem "oauth2", "~> 0.8.0"
gem 'rabl' # 构造 json api 数据
#gem 'newrelic_rpm' # 性能监控(模板编辑器中的layout/theme.liquid也会被注入script,暂时不使用此gem)
gem "jquery-rails"
Expand All @@ -68,7 +68,6 @@ group :development do
gem 'rails3-generators'
gem "haml-rails"
#gem 'ruby-debug19', platforms: :ruby_19 # To use debugger(add 'debugger' in code, then set autoeval; set autolist in console)
gem 'rails-dev-boost', git: 'git://github.com/thedarkone/rails-dev-boost.git', require: 'rails_development_boost' # 加快开发时的响应速度
gem 'rvm-capistrano', "~> 1.1.0", require: 'capistrano'
gem "letter_opener"
gem 'guard-livereload'
Expand All @@ -77,7 +76,7 @@ end
group :development, :test do
unless ENV['TRAVIS'] # 特殊处理,去掉在travis-ci中不需要的gem
gem "awesome_print", require: 'ap' # 调试
gem 'sunspot_solr'
gem 'sunspot_solr', '~> 1.3.3'
end
gem "factory_girl"
gem "factory_girl_rails"
Expand Down

0 comments on commit e280421

Please sign in to comment.