Skip to content

Commit

Permalink
Published alanning:roles@2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
StorytellerCZ committed Aug 10, 2021
1 parent 8257ea5 commit c3f0030
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 34 deletions.
59 changes: 30 additions & 29 deletions .versions
Original file line number Diff line number Diff line change
@@ -1,60 +1,61 @@
accounts-base@1.6.0
alanning:roles@2.1.1
accounts-base@2.0.0
alanning:roles@2.2.0
allow-deny@1.1.0
babel-compiler@7.5.3
babel-compiler@7.6.2
babel-runtime@1.5.0
base64@1.0.12
binary-heap@1.0.11
boilerplate-generator@1.7.0
callback-hook@1.3.0
boilerplate-generator@1.7.1
callback-hook@1.3.1
check@1.3.1
ddp@1.4.0
ddp-client@2.3.3
ddp-client@2.5.0
ddp-common@1.4.0
ddp-rate-limiter@1.0.7
ddp-server@2.3.1
ddp-rate-limiter@1.1.0
ddp-server@2.4.0
diff-sequence@1.1.1
dynamic-import@0.5.2
ecmascript@0.14.3
dynamic-import@0.7.1
ecmascript@0.15.2
ecmascript-runtime@0.7.0
ecmascript-runtime-client@0.10.0
ecmascript-runtime-server@0.9.0
ecmascript-runtime-client@0.11.1
ecmascript-runtime-server@0.10.1
ejson@1.1.1
fetch@0.1.1
geojson-utils@1.0.10
http@1.4.2
id-map@1.1.0
id-map@1.1.1
inter-process-messaging@0.1.1
lmieulet:meteor-coverage@3.0.0
lmieulet:meteor-packages-coverage@0.2.0
local-test:alanning:roles@2.1.1
local-test:alanning:roles@2.2.0
localstorage@1.2.0
logging@1.1.20
logging@1.2.0
meteor@1.9.3
meteortesting:browser-tests@0.1.2
meteortesting:mocha@0.4.4
minimongo@1.6.0
minimongo@1.7.0
modern-browsers@0.1.5
modules@0.15.0
modules@0.16.0
modules-runtime@0.12.0
mongo@1.10.0
mongo-decimal@0.1.1
mongo@1.12.0
mongo-decimal@0.1.2
mongo-dev-server@1.1.0
mongo-id@1.0.7
npm-mongo@3.7.0
mongo-id@1.0.8
npm-mongo@3.9.0
ordered-dict@1.1.0
practicalmeteor:mocha-core@1.0.1
promise@0.11.2
promise@0.12.0
random@1.2.0
rate-limit@1.0.9
react-fast-refresh@0.1.1
reactive-var@1.0.11
reload@1.3.0
reload@1.3.1
retry@1.1.0
routepolicy@1.1.0
service-configuration@1.0.11
socket-stream-client@0.3.0
routepolicy@1.1.1
service-configuration@1.1.0
socket-stream-client@0.4.0
tracker@1.2.0
underscore@1.0.10
url@1.3.0
webapp@1.9.1
webapp-hashing@1.0.9
url@1.3.2
webapp@1.11.1
webapp-hashing@1.1.0
8 changes: 8 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Changelog

## v2.2.0

* Make compatible both with v1.9 and v2 of `accounts-base`
* Raised `versionsFrom` to Meteor v1.9
* Blaze updated to v2.5

## v2.1.1

* Function `userIsInRole` should return false if a function is given as user [#324](https://github.com/Meteor-Community-Packages/meteor-roles/pull/324)([@Floriferous](https://github.com/Floriferous))
Expand Down
10 changes: 5 additions & 5 deletions package.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@

Package.describe({
summary: 'Authorization package for Meteor',
version: '2.1.1',
version: '2.2.0',
git: 'https://github.com/Meteor-Community-Packages/meteor-roles.git',
name: 'alanning:roles'
})

Package.onUse(function (api) {
api.versionsFrom('METEOR@1.8.1')
api.versionsFrom('1.9')

var both = ['client', 'server']

api.use([
'ecmascript',
'accounts-base',
'accounts-base@1.9.0 || 2.0.0',
'tracker',
'mongo',
'check'
], both)

api.use(['blaze@2.3.3'], 'client', { weak: true })
api.use(['blaze@2.5.0'], 'client', { weak: true })

api.export('Roles')

Expand All @@ -45,7 +45,7 @@ Package.onTest(function (api) {
'chai': '4.2.0'
})

api.versionsFrom('METEOR@1.8.1')
api.versionsFrom('1.9')

var both = ['client', 'server']

Expand Down

0 comments on commit c3f0030

Please sign in to comment.