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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0aa2a1b4a83a639e19fb4dcc083f30b9bd5f5e51
4
- data.tar.gz: c67c213fcf39f522cbfa1c5fd8eac9efecdb268a
3
+ metadata.gz: ca9b1bf58ea5c5c6eee08d04670f6226f16164ac
4
+ data.tar.gz: 39a30adff9629a81c70606ae534aa912fef830d3
5
5
  SHA512:
6
- metadata.gz: f08b07ca418ee71d98555dfd62a35c0d647d31aca155ba74a7b8ed0febe9fec0d2348da7543345040947fbdf5899bf773dfe92d68fd1c0bca97653bc8dd35cd4
7
- data.tar.gz: 3fa02bc0b12fd8eb7e44acd8d93cc742436586f44ac562419e4cb77e54b04fef1b8e257797e42d17d1c0390fb90211c60ca253630dafeabf20bdd2bf19257bdc
6
+ metadata.gz: 49cda43f406bd4d6f4c0bb4888f1e3474fda0f7cf2bfcdcdabfc5562f1f3b8cd3c0709c2cf2639be5313bdb06e533989d74532938f37ce62eec11e52e5cf35a1
7
+ data.tar.gz: 3f27ac3d688a579c0b6e588e77bdecb0f76d98c80c495f6d3de91aee33e325aa634b21eabfd45f1b10525c88a1328d9ac4624c4bb2ad1c397f6621b22b968188
data/.gitlab-ci.yml ADDED
@@ -0,0 +1,14 @@
1
+ image: ruby:2.4.1
2
+
3
+ stages:
4
+ - build
5
+ - test
6
+
7
+ build:
8
+ script:
9
+ - gem build aemninja.gemspec
10
+
11
+ test:
12
+ script:
13
+ - bundle install
14
+ - rake test
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.4.0
data/Gemfile CHANGED
@@ -1,4 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ ruby "2.4.1"
3
4
  # Specify your gem's dependencies in aemninja.gemspec
4
5
  gemspec
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aemninja (0.0.1)
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. At the command prompt, initialize aemninja:
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 addadditional environments?
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
@@ -1,8 +1,8 @@
1
1
  require "bundler/gem_tasks"
2
2
  require 'rake/testtask'
3
3
 
4
- task :default => :spec
5
-
6
4
  Rake::TestTask.new do |t|
7
5
  t.pattern = "test/*_test.rb"
8
- end
6
+ end
7
+
8
+ task :default => :test
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 = "http://www.github.com/aemninja"
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'
@@ -0,0 +1,2 @@
1
+ gem build aemninja.gemspec
2
+ gem install aemninja-0.0.3.gem
@@ -1,3 +1,3 @@
1
1
  module Aemninja
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
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
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: http://www.github.com/aemninja
138
+ homepage: https://gitlab.com/aemninja/aemninja
136
139
  licenses:
137
140
  - MIT
138
141
  metadata: {}