Skip to content

Commit ecc820c

Browse files
committed
Rename repo to ember-cli-deploy-revision-data
1 parent 4cd269e commit ecc820c

File tree

9 files changed

+30
-30
lines changed

9 files changed

+30
-30
lines changed

CHANGELOG.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ Thank you to all who took the time to contribute!
1313

1414
#### Community Contributions
1515

16-
- [#1](https://github.com/zapnito/ember-cli-deploy-revision-key/pull/1) Create a tag form the hash of the index.html [@achambers](https://github.com/achambers)
17-
- [#3](https://github.com/zapnito/ember-cli-deploy-revision-key/pull/3) Updated to be in line with how ember-cli-deploy handles context data [@achambers](https://github.com/achambers)
18-
- [#4](https://github.com/zapnito/ember-cli-deploy-revision-key/pull/4) Remove dependency on index path [@achambers](https://github.com/achambers)
19-
- [#5](https://github.com/zapnito/ember-cli-deploy-revision-key/pull/5) Now filePattern is relative to the dist dir stored in `context.distDir` [@achambers](https://github.com/achambers)
20-
- [#6](https://github.com/zapnito/ember-cli-deploy-revision-key/pull/6) Rename index-hash to file-hash [@lukemelia](https://github.com/lukemelia)
21-
- [#7](https://github.com/zapnito/ember-cli-deploy-revision-key/pull/7) Change to use `configure` hook instead of `willDeploy` [@achambers](https://github.com/achambers)
22-
- [#8](https://github.com/zapnito/ember-cli-deploy-revision-key/pull/8) Renamed project and all references to `tags` [@achambers](https://github.com/achambers)
23-
- [#9](https://github.com/zapnito/ember-cli-deploy-revision-key/pull/9) `configure` primes the config with data from the deployment context [@achambers](https://github.com/achambers)
24-
- [#10](https://github.com/zapnito/ember-cli-deploy-revision-key/pull/10) Restructure to use ember-cli-deploy-plugin, and complete rename to em… [@lukemelia](https://github.com/lukemelia)
25-
- [#12](https://github.com/zapnito/ember-cli-deploy-revision-key/pull/12) Update README for v0.5.0 [@achambers](https://github.com/achambers)
16+
- [#1](https://github.com/zapnito/ember-cli-deploy-revision-data/pull/1) Create a tag form the hash of the index.html [@achambers](https://github.com/achambers)
17+
- [#3](https://github.com/zapnito/ember-cli-deploy-revision-data/pull/3) Updated to be in line with how ember-cli-deploy handles context data [@achambers](https://github.com/achambers)
18+
- [#4](https://github.com/zapnito/ember-cli-deploy-revision-data/pull/4) Remove dependency on index path [@achambers](https://github.com/achambers)
19+
- [#5](https://github.com/zapnito/ember-cli-deploy-revision-data/pull/5) Now filePattern is relative to the dist dir stored in `context.distDir` [@achambers](https://github.com/achambers)
20+
- [#6](https://github.com/zapnito/ember-cli-deploy-revision-data/pull/6) Rename index-hash to file-hash [@lukemelia](https://github.com/lukemelia)
21+
- [#7](https://github.com/zapnito/ember-cli-deploy-revision-data/pull/7) Change to use `configure` hook instead of `willDeploy` [@achambers](https://github.com/achambers)
22+
- [#8](https://github.com/zapnito/ember-cli-deploy-revision-data/pull/8) Renamed project and all references to `tags` [@achambers](https://github.com/achambers)
23+
- [#9](https://github.com/zapnito/ember-cli-deploy-revision-data/pull/9) `configure` primes the config with data from the deployment context [@achambers](https://github.com/achambers)
24+
- [#10](https://github.com/zapnito/ember-cli-deploy-revision-data/pull/10) Restructure to use ember-cli-deploy-plugin, and complete rename to em… [@lukemelia](https://github.com/lukemelia)
25+
- [#12](https://github.com/zapnito/ember-cli-deploy-revision-data/pull/12) Update README for v0.5.0 [@achambers](https://github.com/achambers)
2626

2727
Thank you to all who took the time to contribute!

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ember-cli-deploy-revision-key
1+
# ember-cli-deploy-revision-data
22

33
> An ember-cli-deploy plugin to generate a unique revision key based on the current build
44
@@ -22,7 +22,7 @@ To get up and running quickly, do the following:
2222
- Install this plugin
2323

2424
```bash
25-
$ ember install ember-cli-deploy-revision-key
25+
$ ember install ember-cli-deploy-revision-data
2626
```
2727

2828
- Run the pipeline
@@ -35,7 +35,7 @@ $ ember deploy
3535
Run the following command in your terminal:
3636

3737
```bash
38-
ember install ember-cli-deploy-revision-key
38+
ember install ember-cli-deploy-revision-data
3939
```
4040

4141
## ember-cli-deploy Hooks Implemented

RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The following steps should navigate you through the release process to ensure as
1616
8. `git push upstream master`
1717
9. `git tag "vx.y.z"`
1818
10. `git push upstream vx.y.z`
19-
11. `npm publish ./ember-cli-deploy-revision-key-<version>.tgz`
19+
11. `npm publish ./ember-cli-deploy-revision-data-<version>.tgz`
2020

2121
### Create a github release
2222

bin/changelog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ var compareCommits = Promise.denodeify(github.repos.compareCommits);
2121
var currentVersion = 'v' + require('../package').version;
2222

2323
var user = 'zapnito';
24-
var repo = 'ember-cli-deploy-revision-key';
24+
var repo = 'ember-cli-deploy-revision-data';
2525

2626
compareCommits({
2727
user: user,

bin/prepare-release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
rm -rf node_modules && \
4-
rm -rf ./ember-cli-deploy-revision-key*.tgz && \
4+
rm -rf ./ember-cli-deploy-revision-data*.tgz && \
55
npm cache clear && \
66
npm i --no-optional && \
77
npm link --no-optional && \

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "ember-cli-deploy-revision-key",
2+
"name": "ember-cli-deploy-revision-data",
33
"dependencies": {
44
"ember": "1.11.1",
55
"ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var Promise = require('ember-cli/lib/ext/promise');
66
var DeployPluginBase = require('ember-cli-deploy-plugin');
77

88
module.exports = {
9-
name: 'ember-cli-deploy-revision-key',
9+
name: 'ember-cli-deploy-revision-data',
1010

1111
createDeployPlugin: function(options) {
1212
var DeployPlugin = DeployPluginBase.extend({

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "ember-cli-deploy-revision-key",
2+
"name": "ember-cli-deploy-revision-data",
33
"version": "0.1.0-beta.2",
44
"description": "An ember-cli-plugin to create a unique revision key for the build",
55
"directories": {
@@ -11,7 +11,7 @@
1111
"build": "ember build",
1212
"test": "node tests/runner.js"
1313
},
14-
"repository": "https://github.com/zapnito/ember-cli-deploy-revision-key",
14+
"repository": "https://github.com/zapnito/ember-cli-deploy-revision-data",
1515
"engines": {
1616
"node": ">= 0.10.0"
1717
},

tests/unit/index-nodetest.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ describe('the index', function() {
3636
describe('configure hook', function() {
3737
it('resolves if config is ok', function() {
3838
var plugin = subject.createDeployPlugin({
39-
name: 'revision-key'
39+
name: 'revision-data'
4040
});
4141

4242
var context = {
4343
ui: mockUi,
4444
config: {
45-
"revision-key": {
45+
"revision-data": {
4646
type: 'file-hash',
4747
filePattern: 'eeee'
4848
}
@@ -55,13 +55,13 @@ describe('the index', function() {
5555
});
5656
it('warns about missing optional config', function() {
5757
var plugin = subject.createDeployPlugin({
58-
name: 'revision-key'
58+
name: 'revision-data'
5959
});
6060

6161
var context = {
6262
ui: mockUi,
6363
config: {
64-
"revision-key": {
64+
"revision-data": {
6565
}
6666
}
6767
};
@@ -82,37 +82,37 @@ describe('the index', function() {
8282

8383
it('adds default config to the config object', function() {
8484
var plugin = subject.createDeployPlugin({
85-
name: 'revision-key'
85+
name: 'revision-data'
8686
});
8787

8888
var context = {
8989
ui: mockUi,
9090
config: {
91-
"revision-key": {
91+
"revision-data": {
9292
}
9393
}
9494
};
9595

9696
plugin.beforeHook(context);
9797
plugin.configure(context);
9898

99-
assert.isDefined(context.config['revision-key'].type);
100-
assert.isDefined(context.config['revision-key'].filePattern);
99+
assert.isDefined(context.config['revision-data'].type);
100+
assert.isDefined(context.config['revision-data'].filePattern);
101101
});
102102
});
103103

104104
describe('didBuild hook', function() {
105105
it('returns the revisionKey', function() {
106106
var plugin = subject.createDeployPlugin({
107-
name: 'revision-key'
107+
name: 'revision-data'
108108
});
109109

110110
var context = {
111111
distDir: 'tests/fixtures',
112112
distFiles: ['index.html'],
113113
ui: mockUi,
114114
config: {
115-
"revision-key": {
115+
"revision-data": {
116116
type: 'file-hash',
117117
filePattern: 'index.html',
118118
distDir: function(context) {

0 commit comments

Comments
 (0)