Skip to content

Commit

Permalink
Merge pull request #2 from RoboticCheese/jdh-mac-app-store-20
Browse files Browse the repository at this point in the history
Update to use mac-app-store cookbook 2.0
  • Loading branch information
hartmantis committed May 26, 2016
2 parents a3b955c + 96f6064 commit e76a2f4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -3,6 +3,7 @@ Airmail Cookbook CHANGELOG

Unreleased
----------
- Update to use mac-app-store cookbook 2.0

v0.1.0 (2016-04-27)
-------------------
Expand Down
5 changes: 1 addition & 4 deletions libraries/resource_airmail.rb
Expand Up @@ -34,10 +34,7 @@ class Airmail < Resource
action a do
include_recipe 'mac-app-store' unless a == :nothing

mac_app_store_app 'Airmail 2.6' do
bundle_id 'it.bloop.airmail2'
action a
end
mac_app_store_app 'Airmail 3'
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Expand Up @@ -11,6 +11,6 @@
source_url 'https://github.com/roboticcheese/airmail-chef'
issues_url 'https://github.com/roboticcheese/airmail-chef/issues'

depends 'mac-app-store', '~> 1.0'
depends 'mac-app-store', '~> 2.0'

supports 'mac_os_x'
3 changes: 1 addition & 2 deletions spec/resources/airmail/mac_os_x/10_10_spec.rb
Expand Up @@ -23,8 +23,7 @@
end

it 'installs via the App Store' do
expect(chef_run).to install_mac_app_store_app('Airmail 2.6')
.with(bundle_id: 'it.bloop.airmail2')
expect(chef_run).to install_mac_app_store_app('Airmail 3')
end
end
end

0 comments on commit e76a2f4

Please sign in to comment.