dummy_variables 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 8575b36f61d0fa9dca9ceabbe599001e4babc672
4
+ data.tar.gz: 5acdd91625fa8adb4da377d1e7f21fb8597a3439
5
+ SHA512:
6
+ metadata.gz: 90debadf9de9ee7b0ceb9c9c44a2e52fdcf9758d0a2456b6bf7e5db9ef080df3ed2053a600472193bd77ea5a47dacbc868b335e82ca3381d86fee06081d6e15f
7
+ data.tar.gz: e06d2d8d24c078ab1866b1dcf001c369f73e4e736431f5814292ee5f1b34bedd0221e11fc0524d8def73735585a5bbad089d1cb536a74297dc8a6a2f420bfb75
data/.gitignore ADDED
@@ -0,0 +1,15 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ # rspec failure tracking
12
+ .rspec_status
13
+
14
+ # bundler gems
15
+ /vendor/bundle/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.4.0
5
+ before_install: gem install bundler -v 1.15.3
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at akihirokondo511@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in dummy_variables.gemspec
6
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Akihiro Kondo
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,211 @@
1
+ # DummyVariables
2
+
3
+ DummyVariables is a gem that generates dummy variables like 'if holiday then 1 else 0', 'if sunday then 1 else 0', etc. for each date.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'dummy_variables'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install dummy_variables
20
+
21
+ ## Usage
22
+
23
+ ```ruby
24
+ require "dummy_variables"
25
+ ```
26
+
27
+ ```ruby
28
+ cal = DummyVariables::Calendar.new("20140101", "20151231")
29
+ File.open("cal.csv", "w") { |file| file.write(cal.to_csv_str) }
30
+ ```
31
+
32
+ $ head cal.csv
33
+
34
+ ```
35
+ date,sun,mon,tue,wed,thu,fri,sat
36
+ 2014-01-01,0,0,0,1,0,0,0
37
+ 2014-01-02,0,0,0,0,1,0,0
38
+ 2014-01-03,0,0,0,0,0,1,0
39
+ 2014-01-04,0,0,0,0,0,0,1
40
+ 2014-01-05,1,0,0,0,0,0,0
41
+ 2014-01-06,0,1,0,0,0,0,0
42
+ 2014-01-07,0,0,1,0,0,0,0
43
+ 2014-01-08,0,0,0,1,0,0,0
44
+ 2014-01-09,0,0,0,0,1,0,0
45
+ ```
46
+
47
+ ```ruby
48
+ File.open("cal.csv", "w") do |file|
49
+ file.write(
50
+ cal.to_csv_str(
51
+ [:sat, :sun], # select columns
52
+ options: { # add options
53
+ :write_headers => false,
54
+ :force_quotes => true
55
+ }
56
+ )
57
+ )
58
+ end
59
+ ```
60
+
61
+ $ head cal.csv
62
+
63
+ ```
64
+ "2014-01-01","0","0"
65
+ "2014-01-02","0","0"
66
+ "2014-01-03","0","0"
67
+ "2014-01-04","1","0"
68
+ "2014-01-05","0","1"
69
+ "2014-01-06","0","0"
70
+ "2014-01-07","0","0"
71
+ "2014-01-08","0","0"
72
+ "2014-01-09","0","0"
73
+ "2014-01-10","0","0"
74
+ ```
75
+
76
+ ```
77
+ $ cat <<EOF > config_file.yml
78
+ holiday:
79
+ dates:
80
+ - 2014-01-01
81
+ - 2014-01-13
82
+ - 2014-02-11
83
+ - 2014-03-21
84
+ - 2014-04-29
85
+ - 2014-05-03
86
+ - 2014-05-04
87
+ - 2014-05-05
88
+ - 2014-05-06
89
+ - 2014-07-21
90
+ - 2014-09-15
91
+ - 2014-09-23
92
+ - 2014-10-13
93
+ - 2014-11-03
94
+ - 2014-11-23
95
+ - 2014-11-24
96
+ - 2014-12-23
97
+ - 2015-01-01
98
+ - 2015-01-12
99
+ - 2015-02-11
100
+ - 2015-03-21
101
+ - 2015-04-29
102
+ - 2015-05-03
103
+ - 2015-05-04
104
+ - 2015-05-05
105
+ - 2015-05-06
106
+ - 2015-07-20
107
+ - 2015-09-21
108
+ - 2015-09-22
109
+ - 2015-09-23
110
+ - 2015-10-12
111
+ - 2015-11-03
112
+ - 2015-11-23
113
+ - 2015-12-23
114
+ break:
115
+ dates:
116
+ - 2014-01-02
117
+ - 2014-01-03
118
+ - 2014-08-13
119
+ - 2014-08-14
120
+ - 2014-08-15
121
+ - 2014-12-29
122
+ - 2014-12-30
123
+ - 2014-12-31
124
+ - 2015-01-02
125
+ - 2015-08-13
126
+ - 2015-08-14
127
+ - 2015-12-29
128
+ - 2015-12-30
129
+ - 2015-12-31
130
+ EOF
131
+ ```
132
+
133
+ ```ruby
134
+ cal = DummyVariables::Calendar.new("20140101", "20151231", config_file: "config_file.yml")
135
+ File.open("cal.csv", "w") { |file| file.write(cal.to_csv_str) }
136
+ ```
137
+
138
+ $ head cal.csv
139
+
140
+ ```
141
+ date,sun,mon,tue,wed,thu,fri,sat,holiday,break
142
+ 2014-01-01,0,0,0,1,0,0,0,1,0
143
+ 2014-01-02,0,0,0,0,1,0,0,0,1
144
+ 2014-01-03,0,0,0,0,0,1,0,0,1
145
+ 2014-01-04,0,0,0,0,0,0,1,0,0
146
+ 2014-01-05,1,0,0,0,0,0,0,0,0
147
+ 2014-01-06,0,1,0,0,0,0,0,0,0
148
+ 2014-01-07,0,0,1,0,0,0,0,0,0
149
+ 2014-01-08,0,0,0,1,0,0,0,0,0
150
+ 2014-01-09,0,0,0,0,1,0,0,0,0
151
+ ```
152
+
153
+ JSON format supported, in addition to YAML format.
154
+
155
+ You can also directly pass config data to DummyVariables::Calendar.new.
156
+
157
+ ```ruby
158
+ config_data = {
159
+ "holiday" => {
160
+ "dates" => [
161
+ "2014-01-01", "2014-01-13", "2014-02-11", "2014-03-21", "2014-04-29", "2014-05-03", "2014-05-04",
162
+ "2014-05-05", "2014-05-06", "2014-07-21", "2014-09-15", "2014-09-23", "2014-10-13", "2014-11-03",
163
+ "2014-11-23", "2014-11-24", "2014-12-23", "2015-01-01", "2015-01-12", "2015-02-11", "2015-03-21",
164
+ "2015-04-29", "2015-05-03", "2015-05-04", "2015-05-05", "2015-05-06", "2015-07-20", "2015-09-21",
165
+ "2015-09-22", "2015-09-23", "2015-10-12", "2015-11-03", "2015-11-23", "2015-12-23"
166
+ ]
167
+ },
168
+ "break" => {
169
+ "dates" => [
170
+ "2014-01-02", "2014-01-03", "2014-08-13", "2014-08-14", "2014-08-15", "2014-12-29", "2014-12-30",
171
+ "2014-12-31", "2015-01-02", "2015-08-13", "2015-08-14", "2015-12-29", "2015-12-30", "2015-12-31"
172
+ ]
173
+ }
174
+ }
175
+
176
+ cal = DummyVariables::Calendar.new("20140101", "20151231", config_data: config_data)
177
+ File.open("cal.csv", "w") { |file| file.write(cal.to_csv_str) }
178
+ ```
179
+
180
+ $ head cal.csv
181
+
182
+ ```
183
+ date,sun,mon,tue,wed,thu,fri,sat,holiday,break
184
+ 2014-01-01,0,0,0,1,0,0,0,1,0
185
+ 2014-01-02,0,0,0,0,1,0,0,0,1
186
+ 2014-01-03,0,0,0,0,0,1,0,0,1
187
+ 2014-01-04,0,0,0,0,0,0,1,0,0
188
+ 2014-01-05,1,0,0,0,0,0,0,0,0
189
+ 2014-01-06,0,1,0,0,0,0,0,0,0
190
+ 2014-01-07,0,0,1,0,0,0,0,0,0
191
+ 2014-01-08,0,0,0,1,0,0,0,0,0
192
+ 2014-01-09,0,0,0,0,1,0,0,0,0
193
+ ```
194
+
195
+ ## Development
196
+
197
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
198
+
199
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
200
+
201
+ ## Contributing
202
+
203
+ Bug reports and pull requests are welcome on GitHub at https://github.com/aknd/dummy_variables. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
204
+
205
+ ## License
206
+
207
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
208
+
209
+ ## Code of Conduct
210
+
211
+ Everyone interacting in the DummyVariables project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/aknd/dummy_variables/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "dummy_variables"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,38 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "dummy_variables/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "dummy_variables"
8
+ spec.version = DummyVariables::VERSION
9
+ spec.authors = ["Akihiro Kondo"]
10
+ spec.email = ["akihirokondo511@gmail.com"]
11
+
12
+ spec.summary = %q{This is a gem that generates dummy variables for each date.}
13
+ spec.description = %q{This is a gem that generates dummy variables like 'if holiday then 1 else 0' for each date.}
14
+ spec.homepage = "https://github.com/aknd/dummy_variables"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ # if spec.respond_to?(:metadata)
20
+ # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
21
+ # else
22
+ # raise "RubyGems 2.0 or newer is required to protect against " \
23
+ # "public gem pushes."
24
+ # end
25
+
26
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
27
+ f.match(%r{^(test|spec|features)/})
28
+ end
29
+ spec.bindir = "exe"
30
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
+ spec.require_paths = ["lib"]
32
+
33
+ spec.add_dependency "deep_merge", "~> 1.0", ">= 1.0.1"
34
+
35
+ spec.add_development_dependency "bundler", "~> 1.15"
36
+ spec.add_development_dependency "rake", "~> 10.0"
37
+ spec.add_development_dependency "rspec", "~> 3.0"
38
+ end
@@ -0,0 +1,5 @@
1
+ require "dummy_variables/version"
2
+ require "dummy_variables/calendar"
3
+
4
+ module DummyVariables
5
+ end
@@ -0,0 +1,50 @@
1
+ require "date"
2
+ require "csv"
3
+ require "yaml"
4
+ require "json"
5
+ require "deep_merge"
6
+ require "dummy_variables/data_date"
7
+
8
+ module DummyVariables
9
+ class Calendar
10
+ attr_reader :dates
11
+
12
+ def initialize(start_date, end_date, date_format="%Y-%m-%d", config_data: {}, config_file: "")
13
+ custom_dates = config_file.to_s.empty? ? {} : load_config_file(config_file)
14
+ custom_dates.deep_merge! config_data if config_data.is_a?(Hash)
15
+ @dates = (Date.parse(start_date)..Date.parse(end_date)).map do |date|
16
+ vars = {}
17
+ custom_dates.each do |k, v|
18
+ next unless v.key? "dates"
19
+ vars[k] = v["dates"].map { |d| d.is_a?(Date) ? d : Date.parse(d) }.include?(date) ? 1 : 0
20
+ end
21
+ DummyVariables::DataDate.new(date.strftime(date_format), vars)
22
+ end
23
+ end
24
+
25
+ def to_csv_str(columns=nil, encoding: "Shift_JIS", options: {})
26
+ options[:headers] = @dates.size == 0 ? [] : @dates[0].to_hash(columns).keys
27
+ options[:write_headers] = true unless options.key?(:write_headers)
28
+ CSV.generate(options) { |csv|
29
+ @dates.each { |data_date| csv << data_date.to_hash(columns).values }
30
+ }.encode(encoding, invalid: :replace, undef: :replace)
31
+ end
32
+
33
+ private
34
+
35
+ def load_config_file(config_file)
36
+ begin
37
+ case File.extname(config_file)
38
+ when ".yml", ".yaml"
39
+ YAML.load_file(config_file)
40
+ when ".json"
41
+ File.open(config_file) { |file| JSON.load(file) }
42
+ else
43
+ raise "configuration file needs to be formatted as JSON or YAML"
44
+ end
45
+ rescue => e
46
+ p e.message; {}
47
+ end
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,21 @@
1
+ module DummyVariables
2
+ class DataDate
3
+ WDAYS = { "0" => "sun", "1" => "mon", "2" => "tue", "3" => "wed", "4" => "thu", "5" => "fri", "6" => "sat" }
4
+
5
+ attr_reader :date
6
+
7
+ def initialize(date, vars)
8
+ @date = date
9
+ @vars = WDAYS.values.inject({}) { |h, e| h[e] = 0; h }
10
+ @vars[WDAYS[Date.parse(@date).wday.to_s]] = 1
11
+ @vars.merge! vars
12
+ @vars.keys.each { |k| self.class.send(:define_method, k) { @vars[k] } }
13
+ end
14
+
15
+ def to_hash(keys=nil)
16
+ keys = keys.nil? ? @vars.keys : keys.map(&:to_s) & @vars.keys
17
+ keys.insert(0, "date")
18
+ keys.inject({}) { |h, e| h[e] = send(e); h }
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,3 @@
1
+ module DummyVariables
2
+ VERSION = "0.1.1"
3
+ end
metadata ADDED
@@ -0,0 +1,122 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dummy_variables
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Akihiro Kondo
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-08-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: deep_merge
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.0.1
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '1.0'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 1.0.1
33
+ - !ruby/object:Gem::Dependency
34
+ name: bundler
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.15'
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.15'
47
+ - !ruby/object:Gem::Dependency
48
+ name: rake
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '10.0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '10.0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: rspec
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '3.0'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '3.0'
75
+ description: This is a gem that generates dummy variables like 'if holiday then 1
76
+ else 0' for each date.
77
+ email:
78
+ - akihirokondo511@gmail.com
79
+ executables: []
80
+ extensions: []
81
+ extra_rdoc_files: []
82
+ files:
83
+ - ".gitignore"
84
+ - ".rspec"
85
+ - ".travis.yml"
86
+ - CODE_OF_CONDUCT.md
87
+ - Gemfile
88
+ - LICENSE.txt
89
+ - README.md
90
+ - Rakefile
91
+ - bin/console
92
+ - bin/setup
93
+ - dummy_variables.gemspec
94
+ - lib/dummy_variables.rb
95
+ - lib/dummy_variables/calendar.rb
96
+ - lib/dummy_variables/data_date.rb
97
+ - lib/dummy_variables/version.rb
98
+ homepage: https://github.com/aknd/dummy_variables
99
+ licenses:
100
+ - MIT
101
+ metadata: {}
102
+ post_install_message:
103
+ rdoc_options: []
104
+ require_paths:
105
+ - lib
106
+ required_ruby_version: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ required_rubygems_version: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ version: '0'
116
+ requirements: []
117
+ rubyforge_project:
118
+ rubygems_version: 2.6.8
119
+ signing_key:
120
+ specification_version: 4
121
+ summary: This is a gem that generates dummy variables for each date.
122
+ test_files: []