Skip to content

Commit

Permalink
#7 up
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Aug 23, 2021
1 parent ad71651 commit f9d0521
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 28 deletions.
25 changes: 9 additions & 16 deletions .rultor.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,21 @@
assets:
rubygems.yml: yegor256/home#assets/rubygems.yml
s3cfg: yegor256/home#assets/s3cfg
install: |
sudo apt-get update
sudo gem install pdd -v 0.20.5
pdd -f /dev/null
sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"
release:
script: |-
sudo bundle install
rake
rm -rf *.gem
bundle exec rake clean test rubocop copyright
sed -i "s/1\.0\.snapshot/${tag}/g" lib/xembly/version.rb
git add lib/xembly/version.rb
git commit -m "version set to ${tag}"
gem build xembly.gemspec
chmod 0600 ../rubygems.yml
gem push *.gem --config-file ../rubygems.yml
sudo gem install xembly
pdd --source=$(pwd) --verbose --file=xembly-gem.xml -e=test/** -e=features/** -e=README.md
s3cmd --no-progress put xembly-gem.xml --config=../s3cfg s3://pdd.teamed.io/xembly-gem.xml
commanders:
- yegor256
architect:
- yegor256
- davvd
merge:
commanders: []
deploy: {}
script: |-
bundle exec rake clean test rubocop copyright
deploy:
script: |-
echo "There is nothing to deploy"
exit -1
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
language: ruby
rvm:
- 2.2.2
- 2.6.0
cache: bundler
branches:
only:
- master
install:
- gem install pdd -v 0.20.5
- travis_retry bundle update
script:
- rake

- pdd -f /dev/null
- bundle exec rake
after_success:
- "bash <(curl -s https://codecov.io/bash)"
1 change: 1 addition & 0 deletions lib/xembly/xembler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def apply(xml)
cursor = [dom]
@dirs.each do |dir|
cursor = dir.exec(dom, cursor)
Xembly.log.info "Applied: #{dir}"
end
Xembly.log.info "#{@dirs.length} directive(s) applied"
dom
Expand Down
18 changes: 9 additions & 9 deletions xembly.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ Gem::Specification.new do |s|
s.test_files = s.files.grep(/^(test|spec|features)\//)
s.rdoc_options = ['--charset=UTF-8']
s.extra_rdoc_files = ['README.md', 'LICENSE.txt']
s.add_runtime_dependency 'nokogiri', '1.6.7.2'
s.add_runtime_dependency 'nokogiri', '1.12.3'
s.add_runtime_dependency 'slop', '4.4.1'
s.add_runtime_dependency 'rake', '11.1.1'
s.add_development_dependency 'coveralls', '0.7.2'
s.add_development_dependency 'rdoc', '4.2.0'
s.add_development_dependency 'cucumber', '1.3.17'
s.add_development_dependency 'minitest', '5.5.0'
s.add_development_dependency 'rubocop', '0.24.1'
s.add_development_dependency 'rubocop-rspec', '1.2.1'
s.add_development_dependency 'rspec-rails', '3.1.0'
s.add_runtime_dependency 'rake', '13.0.6'
s.add_development_dependency 'coveralls', '0.8.23'
s.add_development_dependency 'rdoc', '6.3.2'
s.add_development_dependency 'cucumber', '7.0.0'
s.add_development_dependency 'minitest', '5.14.4'
s.add_development_dependency 'rubocop', '1.19.1'
s.add_development_dependency 'rubocop-rspec', '2.4.0'
s.add_development_dependency 'rspec-rails', '5.0.2'
end

0 comments on commit f9d0521

Please sign in to comment.