lib/daigaku/terminal/courses.rb in daigaku-0.4.0 vs lib/daigaku/terminal/courses.rb in daigaku-0.5.0

- old
+ new

@@ -127,11 +127,11 @@ "#{text}\n#{Terminal.text :hint_course_download}" end def store_repo_data(user_and_repo) parts = (user_and_repo ||= Daigaku.config.initial_course).split('/') - author = parts.first - course = parts.second + author = parts[0] + course = parts[1] course = Course.new(course) QuickStore.store.set(course.key(:author), author) QuickStore.store.set(course.key(:github), user_and_repo) end