reading_assignments 0.1.4 → 0.1.5

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a8fafc103ef13984f0ec1d6f81920171cfbbb951
4
- data.tar.gz: 62a5d4d6007559218caa1608720bf1607493b774
3
+ metadata.gz: 7219c134a18c681c390ef7337eb7ed85d4a40de8
4
+ data.tar.gz: dd24b7183e557011ab6aadba89446220a247336b
5
5
  SHA512:
6
- metadata.gz: d92d213960bcbdf9442fe94d1a71ade98481128801304623579a427a4fe6182a1828f37a8e92cc0699ab8122a73df0f32528a54e1f98ac711ede58e54d4fe69b
7
- data.tar.gz: effaf19c017eac9d5b89bc017f4f619546f9078a65c9f2187ba52daae103c906bbbbd63dca320b631fd7065f33f52712e53c69eec89250c4311b2b93b40342e7
6
+ metadata.gz: 0195c38aff58e5e3a4bc612bc6951c5069c05fa1bcef5f9f1b07d6ffc76a99dd1d511640e577035d0fae15c7602a06247274b550e24cedb5a1aebc86d6041916
7
+ data.tar.gz: 13d9ed91413c7add440bdec52538832c468ad13afaa2f226b57e8cf242bcb255e698de3ff8d3baf23c7c3e1065cb99f31656052a147e408e7e10c92abbb13656
data/README.md CHANGED
@@ -1,38 +1,40 @@
1
- # ReadingAssignments
1
+ # Reading Assignments Gem
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/reading_assignments`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ This gem allows you to assign your readings to your mentees. As an Experience
4
+ Engineer at Launch, I'd find myself spending unnecessary energy assigning
5
+ students to readings in the morning. Instead of having to choose people every
6
+ morning, I wanted a tool to automate the process and just make my morning a
7
+ _little_ bit easier.
6
8
 
7
9
  ## Installation
10
+ You can install the gem simply by executing the command:
8
11
 
9
- Add this line to your application's Gemfile:
10
-
11
- ```ruby
12
- gem 'reading_assignments'
12
+ ```
13
+ $ gem install reading_assignments
13
14
  ```
14
15
 
15
- And then execute:
16
-
17
- $ bundle
18
-
19
- Or install it yourself as:
20
-
21
- $ gem install reading_assignments
22
-
23
- ## Usage
16
+ In order to use the reading_assignments gem, you simply have to run the command:
24
17
 
25
- TODO: Write usage instructions here
18
+ ```
19
+ $ reading_assignments
20
+ ```
26
21
 
27
- ## Development
22
+ This gem has an executable script, so you can run it from anywhere. Upon running
23
+ this command, you'll be asked to setup your group and given three options on
24
+ how to randomize your selection:
28
25
 
29
- 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.
26
+ * Number: uses this number to seed the random generator
27
+ * String: converts the string to a number and uses that as the seed
28
+ * Random: no seed number, just uses the random generator
30
29
 
31
- 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).
30
+ Following that you will be asked how many articles you need to assign and you
31
+ should be able to see your assignments!
32
32
 
33
- ## Contributing
33
+ Upon using the gem again, you'll have the option to keep your group as is, or
34
+ to create a new group to select from. This will be especially useful for EEs who
35
+ cover multiple mentor groups.
34
36
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/reading_assignments.
37
+ Enjoy and hopefully this will make your morning just a little bit easier!
36
38
 
37
39
  ## License
38
40
 
data/lib/mentor_group.rb CHANGED
@@ -31,10 +31,6 @@ class MentorGroup
31
31
  mentees = self.create_persisted_mentees(store)
32
32
  return mentees
33
33
  else
34
- store.transaction do
35
- mentees = store["mentees"]
36
- return mentees
37
- end
38
34
  end
39
35
  end
40
36
  end
@@ -1,3 +1,3 @@
1
1
  module ReadingAssignments
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
data/members.yaml CHANGED
@@ -0,0 +1,8 @@
1
+ ---
2
+ mentees:
3
+ - !ruby/object:Student
4
+ name: Mike
5
+ - !ruby/object:Student
6
+ name: Greg
7
+ - !ruby/object:Student
8
+ name: Tori
@@ -10,8 +10,8 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["michaelgt04@gmail.com\n"]
11
11
 
12
12
  spec.summary = "Assign Launch Readings"
13
- spec.description = "You can use this gem to assign your readings to your mentees"
14
- spec.homepage = "https://github.com/michaelgt04/debugging-clinic"
13
+ spec.description = "You can use this gem to assign your readings to your mentees. You have multiple different ways to select the reading. It should make your morning a little easier!"
14
+ spec.homepage = "https://github.com/michaelgt04/reading_assignments"
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'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reading_assignments
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Thomson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-13 00:00:00.000000000 Z
11
+ date: 2017-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -66,7 +66,9 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- description: You can use this gem to assign your readings to your mentees
69
+ description: You can use this gem to assign your readings to your mentees. You have
70
+ multiple different ways to select the reading. It should make your morning a little
71
+ easier!
70
72
  email:
71
73
  - 'michaelgt04@gmail.com
72
74
 
@@ -95,7 +97,7 @@ files:
95
97
  - lib/student_randomizer.rb
96
98
  - members.yaml
97
99
  - reading_assignments.gemspec
98
- homepage: https://github.com/michaelgt04/debugging-clinic
100
+ homepage: https://github.com/michaelgt04/reading_assignments
99
101
  licenses:
100
102
  - MIT
101
103
  metadata: {}