aemninja 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitlab-ci.yml +14 -0
- data/.ruby-version +1 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +4 -1
- data/README.md +17 -11
- data/Rakefile +3 -3
- data/aemninja.gemspec +1 -1
- data/build_and_install.sh +2 -0
- data/lib/aemninja/version.rb +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca9b1bf58ea5c5c6eee08d04670f6226f16164ac
|
4
|
+
data.tar.gz: 39a30adff9629a81c70606ae534aa912fef830d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49cda43f406bd4d6f4c0bb4888f1e3474fda0f7cf2bfcdcdabfc5562f1f3b8cd3c0709c2cf2639be5313bdb06e533989d74532938f37ce62eec11e52e5cf35a1
|
7
|
+
data.tar.gz: 3f27ac3d688a579c0b6e588e77bdecb0f76d98c80c495f6d3de91aee33e325aa634b21eabfd45f1b10525c88a1328d9ac4624c4bb2ad1c397f6621b22b968188
|
data/.gitlab-ci.yml
ADDED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.4.0
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
aemninja (0.0.
|
4
|
+
aemninja (0.0.2)
|
5
5
|
activesupport (~> 4.2)
|
6
6
|
rest-client (~> 2.0)
|
7
7
|
|
@@ -58,5 +58,8 @@ DEPENDENCIES
|
|
58
58
|
vcr (~> 3.0)
|
59
59
|
webmock (~> 3.0)
|
60
60
|
|
61
|
+
RUBY VERSION
|
62
|
+
ruby 2.4.1p111
|
63
|
+
|
61
64
|
BUNDLED WITH
|
62
65
|
1.15.4
|
data/README.md
CHANGED
@@ -4,36 +4,42 @@
|
|
4
4
|
|
5
5
|
$ gem install aemninja
|
6
6
|
|
7
|
-
1.
|
7
|
+
1. In your project directory, initialize aemninja:
|
8
8
|
|
9
|
+
$ cd my_aem_project
|
9
10
|
$ aemninja init
|
11
|
+
create .aemninja
|
12
|
+
create .aemninja/config
|
13
|
+
create .aemninja/config/environments
|
14
|
+
create .aemninja/config/environments/local.rb
|
15
|
+
create .aemninja/config/environments/staging.rb
|
16
|
+
create .aemninja/config/environments/production.rb
|
10
17
|
|
11
18
|
|
12
19
|
# Deployment
|
13
20
|
|
14
21
|
## Local
|
15
|
-
aemninja deploy apps/target/your-magic-project.zip
|
22
|
+
$ aemninja deploy apps/target/your-magic-project.zip
|
16
23
|
|
17
24
|
## Staging
|
18
|
-
aemninja deploy apps/target/your-magic-project.zip staging
|
25
|
+
$ aemninja deploy apps/target/your-magic-project.zip staging
|
19
26
|
|
20
27
|
## Production
|
21
|
-
aemninja deploy apps/target/your-magic-project.zip production
|
28
|
+
$ aemninja deploy apps/target/your-magic-project.zip production
|
22
29
|
|
23
30
|
|
24
|
-
But how does it now the details about my environments?
|
31
|
+
## But how does it now the details about my environments?
|
25
32
|
|
26
|
-
.aemninja/config/environments/local.rb
|
27
|
-
.aemninja/config/environments/staging.rb
|
28
|
-
.aemninja/config/environments/production.rb
|
29
|
-
author {...}
|
33
|
+
* .aemninja/config/environments/local.rb
|
34
|
+
* .aemninja/config/environments/staging.rb
|
35
|
+
* .aemninja/config/environments/production.rb
|
30
36
|
|
31
|
-
## Can I
|
37
|
+
## Can I add additional environments?
|
32
38
|
|
33
39
|
Sure! It's as easy as adding another config file to the environments directory. The name of the file can then be used with aemninja.
|
34
40
|
|
35
41
|
### New Environment called 'qa'
|
36
42
|
1. Copy existing config file
|
37
|
-
cp .aemninja/config/environments/local.rb .aemninja/config/environments/qa.rb
|
43
|
+
$ cp .aemninja/config/environments/local.rb .aemninja/config/environments/qa.rb
|
38
44
|
|
39
45
|
2. Change the configuration to match your qa environment
|
data/Rakefile
CHANGED
data/aemninja.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
|
12
12
|
spec.summary = %q{AEM scripting Gem}
|
13
13
|
spec.description = %q{Reduces complexity of AEM deployments.}
|
14
|
-
spec.homepage = "
|
14
|
+
spec.homepage = "https://gitlab.com/aemninja/aemninja"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
17
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
data/lib/aemninja/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aemninja
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- AEMNinja
|
@@ -117,6 +117,8 @@ extensions: []
|
|
117
117
|
extra_rdoc_files: []
|
118
118
|
files:
|
119
119
|
- ".gitignore"
|
120
|
+
- ".gitlab-ci.yml"
|
121
|
+
- ".ruby-version"
|
120
122
|
- Gemfile
|
121
123
|
- Gemfile.lock
|
122
124
|
- LICENSE.txt
|
@@ -126,13 +128,14 @@ files:
|
|
126
128
|
- bin/aemninja
|
127
129
|
- bin/console
|
128
130
|
- bin/setup
|
131
|
+
- build_and_install.sh
|
129
132
|
- lib/aemninja.rb
|
130
133
|
- lib/aemninja/aem.rb
|
131
134
|
- lib/aemninja/errors.rb
|
132
135
|
- lib/aemninja/helpers.rb
|
133
136
|
- lib/aemninja/usage.rb
|
134
137
|
- lib/aemninja/version.rb
|
135
|
-
homepage:
|
138
|
+
homepage: https://gitlab.com/aemninja/aemninja
|
136
139
|
licenses:
|
137
140
|
- MIT
|
138
141
|
metadata: {}
|