ander 1.0.10 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +8 -8
  2. data/lib/ander.rb +3 -0
  3. data/lib/sample_spec.rb +31 -0
  4. metadata +2 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTU3MWMxYTQ5ZjE2MWMzMjA3MzAyMzYwM2UwOGJiZWJhZGNhMTljMA==
4
+ ZjcwNDhhMGRkMjcyMjA3NDk2MGNhMDY2NThjMmQ0ZmMyOWNlZTk1MA==
5
5
  data.tar.gz: !binary |-
6
- NmMyZGI4NDA5OTZhNmQ4YmZlZWMzNWNjNTM1Y2Q2ZjFlMTA1MjY5OA==
6
+ NjY4NmZhNjRhZDQzOTAzMDY1ZDViNWJmOWJlNDgxNjVkZDU1YzUwYg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZmNmODA1NDBmMjUzMTcxYjg5MWZiZDY4ZWI0N2Y4MTZlMjA2OTNlZDg5YWE5
10
- Yzg4YTU2ZmRkZDEyY2JhNzY2ZmE3MGY5NmJkNjQ3MTg5NzRjOWVlZmMxZDc3
11
- MTUzN2E2ZGYxOTkyMjI0NDU1ZGI3ZTNiNWFiZGVhMmJkOTY2MjA=
9
+ ZjU1Nzg1ZGFjOGE2ZWE1MzY3MmFjMjE3N2M4ZDRmZmQwZjk4MmZhZjIxNTI5
10
+ YThkNmFjOGI1NDJiMGQyNmI5Y2RhNTM5ZDY3NTY1Y2ZhZmVlNjVhODgxM2Rm
11
+ N2E4NzRlNzk0YjgyZGUyNTVmMWJlODM0YTFjNGExZDgwM2JjZTE=
12
12
  data.tar.gz: !binary |-
13
- ODA5ZmNmNmY5ZGY5YjMxY2E1ZjYwOTMwN2RmODdhM2JmMTRkYzcyZTQ4N2Rk
14
- MWNmNmMwYTNhYWJhZTE4Y2M2OGRjYTNjZDgyMmU5MWM4ZmM1MmM2MDA2ZTUz
15
- ZjhjYzgzMDJmMjJjMmRiNzI3MzNmMGI4OGYyMWM1ZTBhNWJiY2Y=
13
+ OGEzY2EyY2I1MmYwMWI5YmE5NDg2ZDk4ZWY0OGNkNGIxMTk0ZTc1YTg0YjQ4
14
+ OTY2YTlhMGY0YmZhZTIzNzRjYmYyZDQ3MTMzMjY4MWExYWViNTdmNWZmM2Q0
15
+ NDE4NDUyMmM1ZWUzY2MwYzM1ZWFhOWM5YTk1N2JiYTIxNTQ3NmE=
data/lib/ander.rb CHANGED
@@ -125,6 +125,9 @@ class Ander
125
125
  f.close
126
126
  end
127
127
 
128
+ def add_sample_spec_file
129
+ f = open('spec/sample_spec.rb', 'w')
128
130
 
131
+ end
129
132
 
130
133
  end
@@ -0,0 +1,31 @@
1
+ require 'rails_helper'
2
+
3
+ RSpec.describe 'Target Object' do
4
+
5
+ before(:all) do
6
+ # 'This gets executed before all test cases in current script'
7
+ end
8
+
9
+ before(:each) do
10
+ # 'This gets executed before each test cases in current script'
11
+ end
12
+
13
+ after(:all) do
14
+ # 'This gets executed after all test cases in current script'
15
+ end
16
+
17
+ after(:each) do
18
+ # 'This gets executed after each test cases in current script'
19
+ end
20
+
21
+ describe 'Title of test case:' do
22
+ context 'Context of your test case' do
23
+ let(:x) {
24
+ x = 'This gets executed upon calling for x'
25
+ }
26
+ it 'Expected result of your test case' do
27
+ expect(x).to eq('This gets executed upon calling for x')
28
+ end
29
+ end
30
+ end
31
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ander
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derwin Devera, Andy Juram Lee
@@ -19,6 +19,7 @@ extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
21
  - lib/ander.rb
22
+ - lib/sample_spec.rb
22
23
  homepage: http://rubygems.org/gems/ander
23
24
  licenses:
24
25
  - ''