enumb 0.0.1 → 0.0.2

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  SHA1:
3
3
  metadata.gz: !binary |-
4
- MGJmZGE5NjJjMTdlNWVjYjE3MDczYThmODUwYzAxZmQwY2YxZDU2YQ==
4
+ ZmE0YjE1ODc4OTQ0YzRmMTQzMDI1NjRhOTMxM2Y2M2RkMGViODQxNw==
5
5
  data.tar.gz: !binary |-
6
- ZmY2MWE3MjZkNGUwOTZkODllNGE4OWY1MzlmNmE0ZTA4MDAyOTQ5OA==
6
+ ZTQwYzM2ZGYwNjBmYzk4ZjM5ODI1NjlhM2MxODg0YTE4YjU4NDM1MQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NTUxOGQyZjJkM2NmMzU4ZjU5NjM4ZTQ2YzEyYzY1MWI5YmMzMDljNTMyNTQ4
10
- ZmI2OWZkOTU4ZmRkOWUxODFkZWRhNjBiNTgwY2E3NjQ2M2VlMDgxY2ExN2M0
11
- N2U2Njk4MDkzYzIwNWU5YzA1Zjc0M2E4OGYwOTYyYjVjMDFmMWI=
9
+ NjE2NjEwNmM4ZTgyNGFhMzc1ZDliNDA5ZDcyYWFhMWQxZDdmNTA1YjQ1MzUz
10
+ NWI1ZDM5NDgxMWMyYzcxNGRhMjFhNDViMGFjYzMzODhhMmYwYTM5OWEzN2M0
11
+ NzNjOTJiOGI3M2YwZmIzZTg4OTk3ZTBhNjU2MGYyNWIwZWZhZWE=
12
12
  data.tar.gz: !binary |-
13
- MDBiYzE5OWIwYWM3MGRiYmNhZDJlYjZlNWM1OTIwMGY2ZjJmZDFiYTJmMjRl
14
- OWFlOGJmZmI1ZjllZWMwZDZlOTNjYTVkMjM2ODRhOWJkNDY0OGRiMzQ4ZjAw
15
- ZDc2YjcwMjFmNjJlNWI1YjYyNGZiOGIwZmM3YjQxNzI5NjJiZDc=
13
+ ZDk2MzUwYWNhZjQyMTczNzNkZDA2YTZkZWVmYjFlMjQzN2I3Y2VjNzlhNmEw
14
+ YTI5YTBiY2E3NjY0NWI1Y2M2Yzg5Zjc1YjEwZTJhMDhhZjkyZGY1ZGE5Y2M3
15
+ OTJiMmI5MmExZjk5YzgwYzI2OGMyNTU0NTdlYzM0ZTMxMmE0OWY=
data/.gitignore CHANGED
@@ -3,6 +3,7 @@
3
3
  .bundle
4
4
  .config
5
5
  .yardoc
6
+ *.idea
6
7
  Gemfile.lock
7
8
  InstalledFiles
8
9
  _yardoc
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'Renum/version'
4
+ require 'enumb/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "enumb"
8
- spec.version = Renum::VERSION
8
+ spec.version = Enumb::VERSION
9
9
  spec.authors = ["Manther"]
10
10
  spec.email = ["jason.manther.young@gmail.com"]
11
- spec.description = %q{Renum helps developers create an enum like object in Ruby that closely resembles commonly found enum behavior of popular statically typed languages.}
11
+ spec.description = %q{enumb helps developers create an enum like object in Ruby that closely resembles commonly found enum behavior of popular statically typed languages.}
12
12
  spec.summary = %q{Enum module}
13
13
  spec.homepage = "http://jasonwyoung.blogspot.com/"
14
14
  spec.license = "MIT"
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in Renum.gemspec
3
+ # Specify your gem's dependencies in enumb.gemspec
4
4
 
5
5
  gem 'rspec'
6
6
  gem 'simplecov'
data/README.md CHANGED
@@ -1,18 +1,18 @@
1
- # Renum
1
+ # enumb
2
2
 
3
3
  Authors: Jason Young
4
4
 
5
- Renum helps developers create an enum class in Ruby that closely resembles commonly found enum behavior in most popular languages.
5
+ Enumb helps developers create an enum class in Ruby that closely resembles commonly found enum behavior in most popular languages.
6
6
 
7
7
  ## Installation
8
8
 
9
9
  Add this line to your application's Gemfile:
10
10
 
11
- gem 'Renum'
11
+ gem 'enumb'
12
12
 
13
13
  Install as Ruby Gem:
14
14
 
15
- gem install renums
15
+ gem install enumb
16
16
 
17
17
  And then execute:
18
18
 
@@ -20,16 +20,16 @@ And then execute:
20
20
 
21
21
  Or install it yourself as:
22
22
 
23
- $ gem install Renum
23
+ $ gem install enumb
24
24
 
25
25
  ## Usage
26
26
 
27
- Simply extend the Enum module and define a class with as many enumerators as desired.
27
+ Simply extend the Enumb module and define a class with as many enumerators as desired.
28
28
 
29
29
  Example:
30
30
  ```ruby
31
31
  class TestEnumByte
32
- extend Renum
32
+ extend Enumb
33
33
  enumerator :Nones => 0x0000
34
34
  enumerator :Somes => 0x0001
35
35
  enumerator :Anys => 0x0002
@@ -40,12 +40,12 @@ end
40
40
  Further examples can be seen in spec test:
41
41
 
42
42
  ```ruby
43
- require 'Renum'
44
- describe 'Renum' do
45
- context 'Given a class extends Renum' do
43
+ require 'Enumb'
44
+ describe 'Enumb' do
45
+ context 'Given a class extends Enumb' do
46
46
  it 'if not passed a hash expect exception' do
47
47
  class TestEnumNoHash
48
- extend Renum
48
+ extend Enumb
49
49
 
50
50
  def init_enumerators
51
51
  enumerator 'None'
@@ -55,7 +55,7 @@ describe 'Renum' do
55
55
  end
56
56
  it 'if class has enumerator undefined expect exception' do
57
57
  class TestEnumUndefined
58
- extend Renum
58
+ extend Enumb
59
59
  enumerator 'None' => '123'
60
60
  end
61
61
  expect { puts TestEnumUndefined.whatever }.to raise_error(Exception)
@@ -63,7 +63,7 @@ describe 'Renum' do
63
63
  it 'if class has multiple nodes defined for enumerator hash expect exception' do
64
64
  expect {
65
65
  class TestEnumMultiple
66
- extend Renum
66
+ extend Enumb
67
67
  enumerator :None => '123', :Stuff => 456
68
68
  end
69
69
  TestEnumMultiple.None
@@ -71,14 +71,14 @@ describe 'Renum' do
71
71
  end
72
72
  it 'if class does not have referenced enumerator defined expect exception' do
73
73
  class TestEnumMissing
74
- extend Renum
74
+ extend Enumb
75
75
  #nothing here
76
76
  end
77
77
  expect { puts TestEnumMissing.whatever }.to raise_error(Exception)
78
78
  end
79
79
  it 'if enum class enumerator keys are strings, values should evaluate correctly' do
80
80
  class TestEnumStringKeys
81
- extend Renum
81
+ extend Enumb
82
82
  enumerator 'None' => '123'
83
83
  enumerator 'Some' => '456'
84
84
  end
@@ -86,7 +86,7 @@ describe 'Renum' do
86
86
  end
87
87
  it 'if enum class enumerator keys are symbols, values should evaluate correctly' do
88
88
  class TestEnumSyms
89
- extend Renum
89
+ extend Enumb
90
90
  enumerator :Nones => '123'
91
91
  enumerator :Somes => '456'
92
92
  end
@@ -94,7 +94,7 @@ describe 'Renum' do
94
94
  end
95
95
  it 'if enum class has byte valued enumerators, bitwise comparisons should evaluate correctly' do
96
96
  class TestEnumByte
97
- extend Renum
97
+ extend Enumb
98
98
  enumerator :Nones => 0x0000
99
99
  enumerator :Somes => 0x0001
100
100
  enumerator :Anys => 0x0002
@@ -110,7 +110,7 @@ describe 'Renum' do
110
110
  end
111
111
  it 'if enum values are ints values should evaluate correctly' do
112
112
  class TestEnumInts
113
- extend Renum
113
+ extend Enumb
114
114
  enumerator :Nones => 1
115
115
  enumerator :Somes => 2
116
116
  enumerator :Anys => 3
@@ -123,7 +123,7 @@ describe 'Renum' do
123
123
  end
124
124
  it 'if enum values are bools values should evaluate correctly' do
125
125
  class Tristate
126
- extend Renum
126
+ extend Enumb
127
127
  enumerator :True => true
128
128
  enumerator :False => false
129
129
  enumerator :Undef => 'Undefined'
@@ -134,7 +134,7 @@ describe 'Renum' do
134
134
  end
135
135
  it 'if to_descriptor called, should evaluate correctly' do
136
136
  class TestEnumDescriptor
137
- extend Renum
137
+ extend Enumb
138
138
  enumerator :Nones => '123'
139
139
  enumerator :Somes => '456'
140
140
  end
@@ -142,7 +142,7 @@ describe 'Renum' do
142
142
  end
143
143
  it 'if to_value called, should evaluate correctly' do
144
144
  class TestEnumToValue
145
- extend Renum
145
+ extend Enumb
146
146
  enumerator :Nones => '123'
147
147
  enumerator :Somes => '456'
148
148
  end
@@ -150,7 +150,7 @@ describe 'Renum' do
150
150
  end
151
151
  it 'if iterate over enum correct values yielded' do
152
152
  class TestEnumToIterate
153
- extend Renum
153
+ extend Enumb
154
154
  enumerator :Nones => 0x0000
155
155
  enumerator :Somes => 0x0001
156
156
  enumerator :Anys => 0x0002
@@ -0,0 +1,3 @@
1
+ module Enumb
2
+ VERSION = "0.0.2"
3
+ end
@@ -4,9 +4,9 @@
4
4
  # ***********************************************************************
5
5
  #
6
6
 
7
- require "Renum/version"
7
+ require "enumb/version"
8
8
 
9
- module Renum
9
+ module Enumb
10
10
  Enumerator
11
11
  def enumerator(hash)
12
12
  raise 'Parameter must be hash' unless hash.is_a?(Hash)
@@ -4,12 +4,12 @@
4
4
  # ***********************************************************************
5
5
  #
6
6
 
7
- require 'Renum'
8
- describe 'Renum' do
9
- context 'Given a class extends Renum' do
7
+ require 'enumb'
8
+ describe 'enumb' do
9
+ context 'Given a class extends enumb' do
10
10
  it 'if not passed a hash expect exception' do
11
11
  class TestEnumNoHash
12
- extend Renum
12
+ extend Enumb
13
13
 
14
14
  def init_enumerators
15
15
  enumerator 'None'
@@ -19,7 +19,7 @@ describe 'Renum' do
19
19
  end
20
20
  it 'if class has enumerator undefined expect exception' do
21
21
  class TestEnumUndefined
22
- extend Renum
22
+ extend Enumb
23
23
  enumerator 'None' => '123'
24
24
  end
25
25
  expect { puts TestEnumUndefined.whatever }.to raise_error(Exception)
@@ -27,7 +27,7 @@ describe 'Renum' do
27
27
  it 'if class has multiple nodes defined for enumerator hash expect exception' do
28
28
  expect {
29
29
  class TestEnumMultiple
30
- extend Renum
30
+ extend Enumb
31
31
  enumerator :None => '123', :Stuff => 456
32
32
  end
33
33
  TestEnumMultiple.None
@@ -35,14 +35,14 @@ describe 'Renum' do
35
35
  end
36
36
  it 'if class does not have referenced enumerator defined expect exception' do
37
37
  class TestEnumMissing
38
- extend Renum
38
+ extend Enumb
39
39
  #nothing here
40
40
  end
41
41
  expect { puts TestEnumMissing.whatever }.to raise_error(Exception)
42
42
  end
43
43
  it 'if enum class enumerator keys are strings, values should evaluate correctly' do
44
44
  class TestEnumStringKeys
45
- extend Renum
45
+ extend Enumb
46
46
  enumerator 'None' => '123'
47
47
  enumerator 'Some' => '456'
48
48
  end
@@ -50,7 +50,7 @@ describe 'Renum' do
50
50
  end
51
51
  it 'if enum class enumerator keys are symbols, values should evaluate correctly' do
52
52
  class TestEnumSyms
53
- extend Renum
53
+ extend Enumb
54
54
  enumerator :Nones => '123'
55
55
  enumerator :Somes => '456'
56
56
  end
@@ -58,7 +58,7 @@ describe 'Renum' do
58
58
  end
59
59
  it 'if enum class has byte valued enumerators, bitwise comparisons should evaluate correctly' do
60
60
  class TestEnumByte
61
- extend Renum
61
+ extend Enumb
62
62
  enumerator :Nones => 0x0000
63
63
  enumerator :Somes => 0x0001
64
64
  enumerator :Anys => 0x0002
@@ -74,7 +74,7 @@ describe 'Renum' do
74
74
  end
75
75
  it 'if enum values are ints values should evaluate correctly' do
76
76
  class TestEnumInts
77
- extend Renum
77
+ extend Enumb
78
78
  enumerator :Nones => 1
79
79
  enumerator :Somes => 2
80
80
  enumerator :Anys => 3
@@ -88,7 +88,7 @@ describe 'Renum' do
88
88
  end
89
89
  it 'if enum values are bools values should evaluate correctly' do
90
90
  class Tristate
91
- extend Renum
91
+ extend Enumb
92
92
  enumerator :True => true
93
93
  enumerator :False => false
94
94
  enumerator :Undef => 'Undefined'
@@ -99,7 +99,7 @@ describe 'Renum' do
99
99
  end
100
100
  it 'if to_descriptor called, should evaluate correctly' do
101
101
  class TestEnumDescriptor
102
- extend Renum
102
+ extend Enumb
103
103
  enumerator :Nones => '123'
104
104
  enumerator :Somes => '456'
105
105
  end
@@ -107,7 +107,7 @@ describe 'Renum' do
107
107
  end
108
108
  it 'if to_value called, should evaluate correctly' do
109
109
  class TestEnumToValue
110
- extend Renum
110
+ extend Enumb
111
111
  enumerator :Nones => '123'
112
112
  enumerator :Somes => '456'
113
113
  end
@@ -115,7 +115,7 @@ describe 'Renum' do
115
115
  end
116
116
  it 'if iterate over enum correct values yielded' do
117
117
  class TestEnumToIterate
118
- extend Renum
118
+ extend Enumb
119
119
  enumerator :Nones => 0x0000
120
120
  enumerator :Somes => 0x0001
121
121
  enumerator :Anys => 0x0002
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enumb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manther
@@ -38,7 +38,7 @@ dependencies:
38
38
  version: '0'
39
39
  prerelease: false
40
40
  type: :development
41
- description: Renum helps developers create an enum like object in Ruby that closely resembles commonly found enum behavior of popular statically typed languages.
41
+ description: enumb helps developers create an enum like object in Ruby that closely resembles commonly found enum behavior of popular statically typed languages.
42
42
  email:
43
43
  - jason.manther.young@gmail.com
44
44
  executables: []
@@ -46,24 +46,14 @@ extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
48
  - ".gitignore"
49
- - ".idea/.name"
50
- - ".idea/.rakeTasks"
51
- - ".idea/Renum.iml"
52
- - ".idea/dictionaries/jasony.xml"
53
- - ".idea/encodings.xml"
54
- - ".idea/misc.xml"
55
- - ".idea/modules.xml"
56
- - ".idea/scopes/scope_settings.xml"
57
- - ".idea/vcs.xml"
58
- - ".idea/workspace.xml"
49
+ - Enumb.gemspec
59
50
  - Gemfile
60
51
  - LICENSE.txt
61
52
  - README.md
62
53
  - Rakefile
63
- - Renum.gemspec
64
- - lib/Renum.rb
65
- - lib/Renum/version.rb
66
- - spec/unit/Renum_spec.rb
54
+ - lib/Enumb.rb
55
+ - lib/Enumb/version.rb
56
+ - spec/unit/Enumb_spec.rb
67
57
  homepage: http://jasonwyoung.blogspot.com/
68
58
  licenses:
69
59
  - MIT
@@ -89,4 +79,4 @@ signing_key:
89
79
  specification_version: 4
90
80
  summary: Enum module
91
81
  test_files:
92
- - spec/unit/Renum_spec.rb
82
+ - spec/unit/Enumb_spec.rb
data/.idea/.name DELETED
@@ -1 +0,0 @@
1
- Renum
data/.idea/.rakeTasks DELETED
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Settings><!--This file was automatically generated by Ruby plugin.
3
- You are allowed to:
4
- 1. Remove rake task
5
- 2. Add existing rake tasks
6
- To add existing rake tasks automatically delete this file and reload the project.
7
- --><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build renums-0.0.2.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Build and install renums-0.0.2.gem into system gems" fullCmd="install" taksId="install" /><RakeTask description="Create tag v0.0.2 and build and push renums-0.0.2.gem to Rubygems" fullCmd="release" taksId="release" /></RakeGroup></Settings>
data/.idea/Renum.iml DELETED
@@ -1,206 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="RUBY_MODULE" version="4">
3
- <component name="FacetManager">
4
- <facet type="gem" name="Gem">
5
- <configuration>
6
- <option name="GEM_APP_ROOT_PATH" value="$MODULE_DIR$" />
7
- <option name="GEM_APP_TEST_PATH" value="" />
8
- <option name="GEM_APP_LIB_PATH" value="" />
9
- </configuration>
10
- </facet>
11
- </component>
12
- <component name="ModuleRunConfigurationManager">
13
- <configuration default="false" name="Run spec 'Renum_spec': Renum" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
14
- <predefined_log_file id="RUBY_RSPEC" enabled="true" />
15
- <module name="Renum" />
16
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
17
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
18
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
19
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
20
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
21
- <envs>
22
- <env name="JRUBY_OPTS" value="-X+O" />
23
- </envs>
24
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
25
- <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
26
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
27
- <COVERAGE_PATTERN ENABLED="true">
28
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
29
- </COVERAGE_PATTERN>
30
- </EXTENSION>
31
- <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
32
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
33
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/unit/Renum_spec.rb" />
34
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
35
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
36
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
37
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
38
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
39
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
40
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
41
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
42
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
43
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
44
- <RunnerSettings RunnerId="RubyCover" />
45
- <RunnerSettings RunnerId="RubyDebugRunner" />
46
- <RunnerSettings RunnerId="RubyRunner" />
47
- <ConfigurationWrapper RunnerId="RubyCover" />
48
- <ConfigurationWrapper RunnerId="RubyDebugRunner" />
49
- <ConfigurationWrapper RunnerId="RubyRunner" />
50
- <method />
51
- </configuration>
52
- <configuration default="false" name="Renum Given a class extends Renum if iterate over enum correct values yeilded: Renum" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
53
- <predefined_log_file id="RUBY_RSPEC" enabled="true" />
54
- <module name="Renum" />
55
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
56
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
57
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
58
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
59
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
60
- <envs>
61
- <env name="JRUBY_OPTS" value="-X+O" />
62
- </envs>
63
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
64
- <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
65
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
66
- <COVERAGE_PATTERN ENABLED="true">
67
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
68
- </COVERAGE_PATTERN>
69
- </EXTENSION>
70
- <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
71
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
72
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/unit/Renum_spec.rb" />
73
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
74
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
75
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="Renum Given a class extends Renum if iterate over enum correct values yeilded" />
76
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
77
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
78
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
79
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
80
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
81
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
82
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
83
- <RunnerSettings RunnerId="RubyDebugRunner" />
84
- <ConfigurationWrapper RunnerId="RubyDebugRunner" />
85
- <method />
86
- </configuration>
87
- <configuration default="false" name="Renum Given a class extends Renum if iterate over enum correct values yielded: Renum" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
88
- <predefined_log_file id="RUBY_RSPEC" enabled="true" />
89
- <module name="Renum" />
90
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
91
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
92
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
93
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
94
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
95
- <envs>
96
- <env name="JRUBY_OPTS" value="-X+O" />
97
- </envs>
98
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
99
- <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
100
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
101
- <COVERAGE_PATTERN ENABLED="true">
102
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
103
- </COVERAGE_PATTERN>
104
- </EXTENSION>
105
- <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
106
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
107
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/unit/Renum_spec.rb" />
108
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
109
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
110
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="Renum Given a class extends Renum if iterate over enum correct values yielded" />
111
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
112
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
113
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
114
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
115
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
116
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
117
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
118
- <RunnerSettings RunnerId="RubyDebugRunner" />
119
- <RunnerSettings RunnerId="RubyRunner" />
120
- <ConfigurationWrapper RunnerId="RubyDebugRunner" />
121
- <ConfigurationWrapper RunnerId="RubyRunner" />
122
- <method />
123
- </configuration>
124
- <configuration default="false" name="Run spec 'Renum_spec': Renum (1)" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
125
- <predefined_log_file id="RUBY_RSPEC" enabled="true" />
126
- <module name="Renum" />
127
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
128
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
129
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
130
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
131
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
132
- <envs>
133
- <env name="JRUBY_OPTS" value="-X+O" />
134
- </envs>
135
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
136
- <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
137
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
138
- <COVERAGE_PATTERN ENABLED="true">
139
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
140
- </COVERAGE_PATTERN>
141
- </EXTENSION>
142
- <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
143
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
144
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/unit/Renum_spec.rb" />
145
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
146
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
147
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
148
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
149
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
150
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
151
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
152
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
153
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
154
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
155
- <RunnerSettings RunnerId="RubyCover" />
156
- <RunnerSettings RunnerId="RubyRunner" />
157
- <ConfigurationWrapper RunnerId="RubyCover" />
158
- <ConfigurationWrapper RunnerId="RubyRunner" />
159
- <method />
160
- </configuration>
161
- <configuration default="false" name="Renum Given a class extends Renum if to_value called, should evaluate correctly: Renum" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
162
- <predefined_log_file id="RUBY_RSPEC" enabled="true" />
163
- <module name="Renum" />
164
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
165
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
166
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
167
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
168
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
169
- <envs>
170
- <env name="JRUBY_OPTS" value="-X+O" />
171
- </envs>
172
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
173
- <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
174
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
175
- <COVERAGE_PATTERN ENABLED="true">
176
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
177
- </COVERAGE_PATTERN>
178
- </EXTENSION>
179
- <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
180
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
181
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/unit/Renum_spec.rb" />
182
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
183
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
184
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="Renum Given a class extends Renum if to_value called, should evaluate correctly" />
185
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
186
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
187
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
188
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
189
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
190
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
191
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
192
- <RunnerSettings RunnerId="RubyDebugRunner" />
193
- <RunnerSettings RunnerId="RubyRunner" />
194
- <ConfigurationWrapper RunnerId="RubyDebugRunner" />
195
- <ConfigurationWrapper RunnerId="RubyRunner" />
196
- <method />
197
- </configuration>
198
- </component>
199
- <component name="NewModuleRootManager">
200
- <content url="file://$MODULE_DIR$" />
201
- <orderEntry type="inheritedJdk" />
202
- <orderEntry type="sourceFolder" forTests="false" />
203
- <orderEntry type="library" scope="PROVIDED" name="bundler (v1.3.5, ruby-1.9.3-p392) [gem]" level="application" />
204
- </component>
205
- </module>
206
-
@@ -1,7 +0,0 @@
1
- <component name="ProjectDictionaryState">
2
- <dictionary name="jasony">
3
- <words>
4
- <w>renum</w>
5
- </words>
6
- </dictionary>
7
- </component>
data/.idea/encodings.xml DELETED
@@ -1,5 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
4
- </project>
5
-
data/.idea/misc.xml DELETED
@@ -1,5 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectRootManager" version="2" project-jdk-name="ruby-1.9.3-p392" project-jdk-type="RUBY_SDK" />
4
- </project>
5
-
data/.idea/modules.xml DELETED
@@ -1,9 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/Renum.iml" filepath="$PROJECT_DIR$/.idea/Renum.iml" />
6
- </modules>
7
- </component>
8
- </project>
9
-